Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99691 - baselayout 1.12.0_pre1-r1 broke my system (dhcp?)
Summary: baselayout 1.12.0_pre1-r1 broke my system (dhcp?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 09:19 UTC by Kurt Guenther
Modified: 2005-12-12 02:37 UTC (History)
11 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 Kurt Guenther 2005-07-20 09:19:51 UTC
I'm not sure of the exact nature of the problem, but I wasn't able to boot after
I emerged this package and ran etc-update.  net.eth0 complained about the dhcp
module not loaded, and after the init.d scripts ran, no terminals were created.

I masked the packaged and emerged 11.13.  All is well again. 

Reproducible: Always
Steps to Reproduce:
1. emerge baselayout. 
2.
3.

Actual Results:  
dhcp won't start, and no terminals. 

Expected Results:  
reboot normally. 


Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.50GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X adns alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt
cups curl dga doc dvd eds elibc_glibc emboss encode esd fam foomaticdb fortran
gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl
imagemagick imlib ipv6 java jpeg junit ldap libg++ libwww mad mikmod motif
mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl
png postgres python quicktime readline samba scanner sdl slang snmp spell ssl
svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml
xml2 xmms xv zlib userland_GNU kernel_linux"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Rumen Yotov 2005-07-20 10:59:03 UTC
Hi,
Same here, IMHO the problem is with "/etc/conf.d/rc" file as it's the only one
(beside two .example files) which was changed while doing "etc-update" and again
later when going back to baselayout-1.11.13.
Thanks. Rumen
Comment 2 giggles1 2005-07-20 11:41:42 UTC
Same problem here
Comment 3 Heinz Hombergs 2005-07-20 11:45:30 UTC
Same problem here.
And with the new baselayout the start order of the init.d scripts has changed.
With the old version the start order was:
syslogkd
net.eth0
named

with the new version the start order is:
hdparam
named
neth.eth0
Comment 4 Reuben Martin 2005-07-20 12:58:16 UTC
Ditto. Init order is totally borked. (There are also some init scripts running I
never added) Not able to login. Speechd fails to start.
Comment 5 Thomas Seifert 2005-07-20 13:52:11 UTC
same problem here.
most visible one is net.eth0 failing because of missing dhcp.
so, back to windows to get the gentoo-install cds ;).
Comment 6 Jörg Gollnick 2005-07-20 14:14:13 UTC
For me booting in single user mode and emerge "=sys-apps/baselayout-1.11.13"  
started the machine again. I have this issue also on both x86/amd64.  
Comment 7 Kurt Guenther 2005-07-20 14:21:13 UTC
Work around: 

If using grub, you can add "init 1" on the end of the grub kernel line like this. 

title Gentoo Linux 2.6.12 (r6-init 1)
        root (hd0,4)
        kernel (hd0,4)/kernel-2.6.12-gentoo-r6 root=/dev/hda6 init 1

To mask the package, do this: 

# echo ">=sys-apps/baselayout-1.12.0_pre1-r1" >> /etc/portage/package.mask

If you have the package in /usr/portage/distfiles, you can then emerge it. 
First, verify that you'll back-level baselayout: 

# emerge -p baselayout
Calculating dependencies ...done!
[ebuild   UD  ] sys-apps/baselayout-1.11.13  [1.12.0_pre1-r1]

and then: 

# emerge baselayout
# etc-update
# reboot

You can do the same with a Live CD, but it takes more effort.  However, this is
useful if you already removed the baselayout-1.11.13 from your distfiles as
you'll have access to the network, so you can retrieve it. 

Comment 8 Roel Adriaans 2005-07-21 00:42:27 UTC
Same problems here with the new baselayout. What I found out:

Booting with init 1 works. Typing init 3 brings up network and boots the system
like normal.

I've got the problem at the moment on two pc's: Both running ~x86.
Comment 9 Arnaud Lech 2005-07-21 11:28:59 UTC
I just use RC_AUTO_INTERFACE="no" in my /etc/conf.d/net as said in the new
net.example so it don't try dhcp and all the thing goes well (as I dont have DHCP).
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-21 14:49:22 UTC
What version of dhcpcd do you guys have installed?
Comment 11 Heinz Hombergs 2005-07-21 15:08:05 UTC
I didn't use DHCP. I use IP adress in /etc/conf.d/net.
I tried it with config_eth0 = ("IP/24"), config_etho0 = ("IP netmask
255.255.255.0") and with a broadcast IP in both statements. But I get the same
results for the borked start of the daemons with baselayout 1.12.0_pre1-r1
Comment 12 Kurt Guenther 2005-07-21 20:30:57 UTC
Here's mine.  My laptop is ~x86. 


* net-misc/dhcpcd
      Latest version available: 1.3.22_p4-r12
      Latest version installed: 1.3.22_p4-r5
      Size of downloaded files: 148 kB
      Homepage:    http://www.phystech.com/download/
      Description: A dhcp client only
      License:     GPL-2
Comment 13 Roy Marples (RETIRED) gentoo-dev 2005-07-22 05:46:06 UTC
Guys - unstable baselayout requires unstable dhcp packages for dhcpcd and/or
pump (depending on your flavour) - udhcpc and dhclient work with stable packages.

All four should work with stable baselayout.
Comment 14 Radek Podgorny 2005-07-22 06:48:17 UTC
Ummm, I don't think so. Can't tell you the exact versions (downgraded back) but
it was still broken with both latest (unstable) versions of baselayout and
dhcpcd (not udh...)
Comment 15 Roy Marples (RETIRED) gentoo-dev 2005-07-22 07:08:41 UTC
Sure you're error isn't related to bug #99663 instead?
Comment 16 Radek Podgorny 2005-07-22 07:39:53 UTC
Well, I didn't have time to exploit it but I think it was only dhcp-module
related...
Comment 17 Roy Marples (RETIRED) gentoo-dev 2005-08-01 01:51:29 UTC
baselayout-1.12.0_pre3-r2 should resolve this issue

Re-open if you disagree
Comment 18 Jeffrey Gardner (RETIRED) gentoo-dev 2005-12-12 02:13:12 UTC
I've got a problem, guys....
While my system works, the order in which services are started is all messed up.
net.eth0 is started last thereby screwing up nfs and ntp and a bunch of other
services. The only reason I emerged baselayout-1.12.0_pre11-r3 was because it's
required by sys-fs/udev-077-r4, which is depended on by sys-apps/hal-0.5.5.1,
which is depended on by gnome-base/gnome-vfs-2.10.1-r1, which is depended on by
lots of stuff that I depend on. Namely famd(gamin) updating of directory
contents in real-time.
Is there any way I can just change the order that services are started?
Comment 19 Roy Marples (RETIRED) gentoo-dev 2005-12-12 02:37:21 UTC
Totally different bug which has already been fixed. 
 
Simply run rc-status -all and repair anything marked "broken" by removing and 
re-adding the guilty service.