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

Bug 200250

Summary: net-dialup/rp-pppoe unable to run after emerge -u world
Product: Gentoo Linux Reporter: Cristiano Oliveira <cristianoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cristiano Oliveira 2007-11-25 03:20:05 UTC
Right after i finished emerge world update, the pppoe script stoped working reason:

/usr/sbin/pppoe-connect: line 42: /bin/id: No such file or directory
/usr/sbin/pppoe-connect: You must be root to run this script

Other shot:

# pppoe-setup
Welcome to the Roaring Penguin PPPoE client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

/usr/sbin/pppoe-setup: line 50: /bin/id: No such file or directory
/usr/sbin/pppoe-setup: Sorry, you must be root to run this script


I checked out and found no id on bin. It was located on /usr/bin. A simple 
ln -s solved the problem for me. I did: ln -s /usr/bin/id /bin/id, and i worked well after that.

If possible, i think the lines on pppoe scripts:


if [ "`/bin/id -u`" != 0 ] ; then
    $ECHO "$0: Sorry, you must be root to run this script"
    exit 1
fi

should be changed to /usr/sbin/id asap

I've never posted a bug before, so sorry for any possible mistakes on this report...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-25 08:26:25 UTC

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