Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 525190

Summary: net-misc/lldpd - /etc/init.d/lldpd ignores LLDPD_OPTS
Product: Gentoo Linux Reporter: Cameron C <cameron>
Component: [OLD] ServerAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: major CC: cameron
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output
My lldpd conf.d file.
Working init script
Problem init script

Description Cameron C 2014-10-12 20:01:55 UTC
Created attachment 386558 [details]
emerge --info output

After upgrading lldpd to 0.7.9-r3 and restarting the daemon I've found that it is no longer running using the options specified in /etc/conf.d/lldpd.
In my case I have -c added to enable CDP.

It appears that the new init script doesn't call lldpd with the arguments from the config file.
If I overwrite the init script with /usr/portage/net-misc/lldpd/files/lldpd-initd-1 it behaves as expected (verified by running ps and looking for the -c in the process list).
If I go back to the init script that portage has installed (/usr/portage/net-misc/lldpd/files/lldpd-initd-3) the problem returns.
Comment 1 Cameron C 2014-10-12 20:02:27 UTC
Created attachment 386560 [details]
My lldpd conf.d file.
Comment 2 Cameron C 2014-10-12 20:02:47 UTC
Created attachment 386562 [details]
Working init script
Comment 3 Cameron C 2014-10-12 20:03:02 UTC
Created attachment 386564 [details]
Problem init script
Comment 4 Patrick McLean gentoo-dev 2014-10-13 18:06:16 UTC
Fixed in lldpd-0.7.11-r1.