[Pkg-freeipmi-devel] Bug#793186: freeipmi-ipmiseld: missing '/var/cache/ipmiseld/' directory in package freeipmi-ipmiseld

Simon Valiquette simon at flexitech.ca
Wed Jul 22 07:57:30 UTC 2015


Package: freeipmi-ipmiseld
Version: 1.4.5-3
Severity: normal
Tags: patch

Hello,

Apparently the installation script for freeipmi-ipmiseld doesn't create the /var/cache/ipmiseld directory and the daemon then give this error:

/usr/sbin/ipmiseld[24740]: Error creating SDR cache  '/var/cache/ipmiseld//ipmiseldsdrcache.localhost': filename invalid


I fixed it by manually creating "/var/cache/ipmiseld", the default location specified in the man page, but I think that it is a Debian Policy violation not to create it at package installation.

Also notice the double "//" in the error message.  I am not sure if it is linked, but there is many similar situations in many man pages like freeipmi.conf freeipmi_interpret_sensor.conf ipmi-sensors ipmi-sel or ipmiseld.conf  where we see things like this:

/etc/freeipmi//freeipmi_interpret_sensor.conf


I included a patch that should fix the error (I didn't tested it) but not the man pages (it is certainly something just as trivial).

Thank you and have a nice day.


Simon Valiquette


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freeipmi-ipmiseld depends on:
ii  dpkg             1.17.25
ii  freeipmi-common  1.4.5-3
ii  libc6            2.19-18
ii  libfreeipmi16    1.4.5-3
ii  libgcrypt20      1.6.3-2
ii  sysvinit-utils   2.88dsf-59

freeipmi-ipmiseld recommends no packages.

freeipmi-ipmiseld suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Creates-var-cache-ipmiseld.patch
Type: text/x-diff
Size: 1765 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-freeipmi-devel/attachments/20150722/15cc92c0/attachment.patch>


More information about the Pkg-freeipmi-devel mailing list