Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525190 - net-misc/lldpd - /etc/init.d/lldpd ignores LLDPD_OPTS
Summary: net-misc/lldpd - /etc/init.d/lldpd ignores LLDPD_OPTS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-12 20:01 UTC by Cameron C
Modified: 2014-10-13 18:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info,4.51 KB, text/plain)
2014-10-12 20:01 UTC, Cameron C
Details
My lldpd conf.d file. (lldp-config,143 bytes, text/plain)
2014-10-12 20:02 UTC, Cameron C
Details
Working init script (lldp-init-working,546 bytes, text/plain)
2014-10-12 20:02 UTC, Cameron C
Details
Problem init script (lldp-init-failing,438 bytes, text/plain)
2014-10-12 20:03 UTC, Cameron C
Details

Note You need to log in before you can comment on or make changes to this bug.
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.