Bug 75264 - ifplugd 0.26 trying to execute itself in wrong location
|
Bug#:
75264
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: ka0ttic@gentoo.org
|
Reported By: nate@natetech.com
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: ifplugd 0.26 trying to execute itself in wrong location
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-12-21 19:29 0000
|
After emerge of ifplugd-0.26, ifplugd is broken.
According to /var/log/messages -- it's attempting to launch /etc/usr/sbin/ifplugd.action instead of /usr/sbin/ifplugd.action
Manual execution of the correct file works.
Reproducible: Always
Steps to Reproduce:
1. Upgrade from ifplugd 0.25 to 0.26
2. Plug in an ethernet connection.
3. Search for failure message at the bottom of /var/log/messages.
Actual Results:
ifplugd no longer works.
Expected Results:
Run /usr/sbin/ifplugd.action
Dec 21 20:26:04 zoomfly ifplugd(eth0)[4364]: Link beat detected.
Dec 21 20:26:05 zoomfly ifplugd(eth0)[4364]: Executing
'/etc/usr/sbin/ifplugd.action eth0 up'.
Dec 21 20:26:05 zoomfly ifplugd(eth0)[4364]: Program execution failed, return
value is 1.
note to self: don't attempt version bumps while in a hurry ;p
Sorry for the inconvenience; it's a bad sed regex in the ebuild that should've produced the correct path to ifplugd.action. I'm working on another ifplugd bug as well, so I'll try and get both of these fixed at the same time.
Actually the previous ebuilds use sed for that purpose, but since I had to
patch one of the source files to fix a compiler warning, I went ahead and added
that but forgot to remove SYSCONFDIR (/etc on linux).
Fixed in cvs. Thanks for the report.