<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>75264</bug_id>
          
          <creation_ts>2004-12-21 19:29 0000</creation_ts>
          <short_desc>ifplugd 0.26 trying to execute itself in wrong location</short_desc>
          <delta_ts>2004-12-22 03:35:49 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nate@natetech.com</reporter>
          <assigned_to>ka0ttic@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>nate@natetech.com</who>
            <bug_when>2004-12-21 19:29:39 0000</bug_when>
            <thetext>After emerge of ifplugd-0.26, ifplugd is broken.

According to /var/log/messages -- it&apos;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
&apos;/etc/usr/sbin/ifplugd.action eth0 up&apos;.
Dec 21 20:26:05 zoomfly ifplugd(eth0)[4364]: Program execution failed, return
value is 1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2004-12-22 02:24:10 0000</bug_when>
            <thetext>note to self: don&apos;t attempt version bumps while in a hurry ;p

Sorry for the inconvenience; it&apos;s a bad sed regex in the ebuild that should&apos;ve produced the correct path to ifplugd.action.  I&apos;m working on another ifplugd bug as well, so I&apos;ll try and get both of these fixed at the same time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2004-12-22 03:35:49 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>