Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159747 - sys-apps/coreutils-6.7-r1 breaks net-dialup/rp-pppoe
Summary: sys-apps/coreutils-6.7-r1 breaks net-dialup/rp-pppoe
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
: 160411 162972 164269 172105 172136 172335 172354 173022 173734 174550 174925 190773 200250 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-02 11:37 UTC by Rene Gass
Modified: 2007-11-25 17:52 UTC (History)
14 users (show)

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 Rene Gass 2007-01-02 11:37:04 UTC
After updating coreutils to 6.7-r1, pppoe-start complains:

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


Reverting to coreutils-6.7 solves the problem.

The reason is that /bin/id has been moved to /usr/bin/id, along with several other files. This will probably break a lot of packages out there, rp-pppoe is just a very prominent one.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-01-03 01:24:01 UTC
A simple rp-pppoe reinstall will fix your problem.
The configure script detects the @ID@ path.
Comment 2 stomarti 2007-01-03 01:30:05 UTC
I had the same problem.

Reemerging rp-pppoe after upgrading to coreutils-6.7-r1 solved the problem here.

(make sure not to use the linux-headers-2.6.19, because rp-pppoe and ppp don't compile with them)
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-01-03 01:34:16 UTC
(In reply to comment #2)
> (make sure not to use the linux-headers-2.6.19, because rp-pppoe and ppp don't
> compile with them)

If that is true, you should open a bug about it.
Comment 4 Rene Gass 2007-01-03 13:01:51 UTC
I have the same problem with linux-headers-2.6.19. I'll open a bug about that; a bug about ppp already exists.

Re #1: Thank you for that info, I'll try it as soon as I can recompile rp-pppoe.
Comment 5 Rene Gass 2007-01-05 01:01:26 UTC
rp-pppoe compilation has been solved in bug 159896. Recompiling rp-pppoe has solved this bug, as well.

Thanks, guys!
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-06 11:09:40 UTC
*** Bug 160411 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-20 20:13:24 UTC
*** Bug 162972 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 19:21:49 UTC
*** Bug 164269 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-03-24 22:32:30 UTC
*** Bug 172105 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-03-25 08:25:36 UTC
*** Bug 172136 has been marked as a duplicate of this bug. ***
Comment 11 Markus Baumeister 2007-03-25 10:35:43 UTC
As this problem seems to occur continuously (see list of duplicates) how about adding a comment to sys-apps/coreutils-6.7-r1 that you need to recompile rp-pppoe (and that you need to do it _before_ shutting down the machine). As rp-pppoe is required to read this forum and possibly also to retrieve its own sources, having a solution here is not too helpful.

Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-03-26 20:19:33 UTC
*** Bug 172335 has been marked as a duplicate of this bug. ***
Comment 13 Alin Năstac (RETIRED) gentoo-dev 2007-03-26 22:13:22 UTC
I must say I'm a bit disappointed. 
The ppp baselayout net module is in the stable tree for some time now (a year perhaps?) and people still use the crappy rp-pppoe bash scripts?!?
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-03-26 23:02:22 UTC
*** Bug 172354 has been marked as a duplicate of this bug. ***
Comment 15 Toralf Förster gentoo-dev 2007-03-27 07:45:17 UTC
(In reply to comment #13)
> The ppp baselayout net module is in the stable tree for some time now (a year
> perhaps?) and people still use the crappy rp-pppoe bash scripts?!?
The rp-pppoek KDE-button is a nice app for a fast connect/disconnect.

Comment 16 bugzilla 2007-03-27 11:18:55 UTC
(In reply to comment #13)
> I must say I'm a bit disappointed. 
> The ppp baselayout net module is in the stable tree for some time now (a year
> perhaps?) and people still use the crappy rp-pppoe bash scripts?!?

I must say I'm a bit disappointed.
Although the ppp baselayout net module is in the stable tree for some time now (a year perhaps?) the Gentoo handbook still tells people to use the crappy rp-pppoe bash scripts?!?

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=3#rp-pppoe
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=9#doc_chap6
Comment 17 Alin Năstac (RETIRED) gentoo-dev 2007-03-27 11:41:59 UTC
(In reply to comment #15)
> The rp-pppoek KDE-button is a nice app for a fast connect/disconnect.
Yeah, but face it; if your Internet connection is some sort of broadband PPP, you are better off with baselayout PPP support.

(In reply to comment #16)

I find this reply quite rude.

> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=3#rp-pppoe
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=9#doc_chap6

Bug 172401 has been added.
Comment 18 bugzilla 2007-03-27 16:11:01 UTC
(In reply to comment #17)
> (In reply to comment #16)
> 
> I find this reply quite rude.

Well, my comment is obviously not more rude than yours, since I used almost exactly the same words you did.
Anyway, I didn't mean to offend you (or anyone else). I simply tried to show that there are two sides of the same medal and that it might not be ignorance or neglect that has prevented users from following the change of the network scripts. I don't doubt that this change is a change to the better, and I don't doubt that it has been a considerable amount of work to make this change - thanks to the devs (you?) for that.

> Bug 172401 has been added.

Thanks.


Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 15:36:16 UTC
*** Bug 173022 has been marked as a duplicate of this bug. ***
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 08:01:12 UTC
*** Bug 173734 has been marked as a duplicate of this bug. ***
Comment 21 Klaus Dieter Schmatz 2007-04-08 15:28:42 UTC
(In reply to comment #13)
> I must say I'm a bit disappointed. 
> The ppp baselayout net module is in the stable tree for some time now (a year
> perhaps?) and people still use the crappy rp-pppoe bash scripts?!?
> 

I'd be glad to get rid of rp-pppoe. How does one configure the ppp baselayout module?
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2007-04-09 21:05:16 UTC
(In reply to comment #13)
> I must say I'm a bit disappointed. 
> The ppp baselayout net module is in the stable tree for some time now (a year
> perhaps?) and people still use the crappy rp-pppoe bash scripts?!?

Please, put this back into the ebuild in BIG BOLD letters, with a couple of ebeeps and epause.  I'm getting _seriously_ fed up w/ all the duplicates. 

pkg_setup() { 	 
einfo "Gentoo is moving toward common configuration file for all network interfaces." 	 
einfo "Please use baselayout adsl module for configuring your network using rp-pppoe" 	 
einfo "or, better yet, use generic PPP support available in baselayout-1.12."
}

and add a link to http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=3#doc_chap4 there.
Comment 24 Alin Năstac (RETIRED) gentoo-dev 2007-04-10 00:51:08 UTC
(In reply to comment #23)
> Please, put this back into the ebuild in BIG BOLD letters, with a couple of
> ebeeps and epause.  I'm getting _seriously_ fed up w/ all the duplicates. 

But it will not reduce the frequency of the duplicates! 
Remember, this is about coreutils breaking *old* (pre coreutils-6.7-r1) installs of rp-pppoe. These users installed rp-pppoe-3.8 a year before this unfortunate incident.
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2007-04-13 20:45:31 UTC
Bleh :/ Lets hope it's over. If not, probably should just revbump the ebuild keeping the stable keywords.
Comment 26 Alin Năstac (RETIRED) gentoo-dev 2007-04-14 07:44:58 UTC
*** Bug 174550 has been marked as a duplicate of this bug. ***
Comment 27 Alin Năstac (RETIRED) gentoo-dev 2007-04-14 07:48:34 UTC
(In reply to comment #25)

rp-pppoe has been revbumped. The -r1 is identical with previous revision.
Comment 28 Richard Freeman gentoo-dev 2007-04-15 12:57:37 UTC
Ok, I hate to generate bugspam, but I got hit with this bug earlier this week.  I didn't realize a simple recompile would fix the problem so I tried to get the net script to launch ppp without rp-pppoe (the first module in the net config file).  

It worked, but on my shorewall router web connections tended to get dropped frquently - pages would not readily load over the connection.  Connections from my firewall itself worked just fine.  Also, VPN traffic over the firewall worked fine too.  Nothing changed on my shorewall config and despite lots of rebuilds and reboots and config tweaks I couldn't get things running normally.

Then I tried to troubleshoot rp-pppoe and discovered the references in the connect script to autoconfig on the directory paths, so I rebuilt it, switched back to that module in the net config file, rebooted, and all worked fine instantly.

So, there must be some difference between the two modules.  Maybe it is some sensitive shorewall config setting, but whatever it is caused me all kinds of hassles.

Oh, and many thanks for the config bump - while advance warning would have been a lot better this will at least fix the issue for anyone who can at least get online to rsync.
Comment 29 Alin Năstac (RETIRED) gentoo-dev 2007-04-15 13:05:08 UTC
(In reply to comment #28)
> It worked, but on my shorewall router web connections tended to get dropped
> frquently - pages would not readily load over the connection.  Connections from
> my firewall itself worked just fine.  Also, VPN traffic over the firewall
> worked fine too.  Nothing changed on my shorewall config and despite lots of
> rebuilds and reboots and config tweaks I couldn't get things running normally.

It seems you have the PMTU problem. See this comment in net.example:
#WARNING: if MTU of the PPP interface is less than 1500 and you use this
#machine as a router, you should add the following rule to your firewall
#
#iptables -I FORWARD 1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
Comment 30 Dan 2007-04-17 15:57:59 UTC
*** Bug 174925 has been marked as a duplicate of this bug. ***
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2007-08-30 12:55:29 UTC
*** Bug 190773 has been marked as a duplicate of this bug. ***
Comment 32 Jakub Moc (RETIRED) gentoo-dev 2007-11-25 08:26:25 UTC
*** Bug 200250 has been marked as a duplicate of this bug. ***