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

Bug 174925

Summary: rp-pppoe has /bin/id hardcoded, and the file moved
Product: Gentoo Linux Reporter: lkml_ccc
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description lkml_ccc 2007-04-17 15:43:01 UTC
less /usr/sbin/pppoe-start
...
# Must be root
if [ "`/bin/id -u`" != 0 ] ; then
    $ECHO "$ME: You must be root to run this script" >& 2
    exit 1
fi
...

The situation is the same in other scripts, but in new coreutils the file has moved in /usr/bin/id.
I am living with /bin/id being a soft link to /usr/bin/id, but this should be fixed.
Comment 1 Dan 2007-04-17 15:57:59 UTC
reemerge rp-pppoe or migrate to ppp. 

Dupe of bug 159747.

*** This bug has been marked as a duplicate of bug 159747 ***