Bug#725098: lldpd: missing full path in systemd unit

2013-10-01 Thread Bernhard Schmidt
Package: lldpd
Version: 0.7.6-2
Severity: minor

systemd 204 (currently in jessie/unstable) ignores part of the .service
file

[3.667599] systemd[1]: [/lib/systemd/system/lldpd.service:10]
Executable path is not absolute, ignoring: mkdir -p /var/run/lldpd/etc
[3.667668] systemd[1]: [/lib/systemd/system/lldpd.service:11]
Executable path is not absolute, ignoring: cp /etc/localtime
/var/run/lldpd/etc/localtime

Does not seem to break anything and I don't see anything in the output
that might use the timezone anyway, but this is probably worth a fix. Or
drop it ...

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lldpd depends on:
ii  adduser  3.113+nmu3
ii  init-system-helpers  1.8
ii  libbsd0  0.6.0-1
ii  libc62.17-92+b1
ii  libevent-2.0-5   2.0.21-stable-1
ii  libreadline6 6.2+dfsg-0.1
ii  libsensors4  1:3.3.4-2
ii  libsnmp305.7.2~dfsg-8.1+b1
ii  libssl1.0.0  1.0.1e-3
ii  libwrap0 7.6.q-24
ii  libxml2  2.9.1+dfsg1-3
ii  sysv-rc  2.88dsf-43

lldpd recommends no packages.

Versions of packages lldpd suggests:
pn  snmpd  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#725098: lldpd: missing full path in systemd unit

2013-10-01 Thread Vincent Bernat
 ❦  1 octobre 2013 15:01 CEST, Bernhard Schmidt be...@birkenwald.de :

 systemd 204 (currently in jessie/unstable) ignores part of the .service
 file

 [3.667599] systemd[1]: [/lib/systemd/system/lldpd.service:10]
 Executable path is not absolute, ignoring: mkdir -p /var/run/lldpd/etc
 [3.667668] systemd[1]: [/lib/systemd/system/lldpd.service:11]
 Executable path is not absolute, ignoring: cp /etc/localtime
 /var/run/lldpd/etc/localtime

 Does not seem to break anything and I don't see anything in the output
 that might use the timezone anyway, but this is probably worth a fix. Or
 drop it ...

syslog() calls need the timezone. Well, not for Debian. This is quite
mysterious. The first line is still needed to get /var/run/lldpd where
the daemon is chrooted. I will fix that.

Thanks!
-- 
Avoid unnecessary branches.
- The Elements of Programming Style (Kernighan  Plauger)


signature.asc
Description: PGP signature