Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200250 - net-dialup/rp-pppoe unable to run after emerge -u world
Summary: net-dialup/rp-pppoe unable to run after emerge -u world
Status: RESOLVED DUPLICATE of bug 159747
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-25 03:20 UTC by Cristiano Oliveira
Modified: 2007-11-25 08:26 UTC (History)
0 users

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


Attachments

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