Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407849 - after upgrade from 164-r2, sys-fs/udev-171-r5 fails to run with baselayout-1
Summary: after upgrade from 164-r2, sys-fs/udev-171-r5 fails to run with baselayout-1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 22:12 UTC by Michael Hill
Modified: 2012-03-15 08:39 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 Michael Hill 2012-03-11 22:12:34 UTC
I upgraded udev from 164-r2 to 171-r5 on a couple x86 (stable) systems on which I have not yet upgraded to baselayout-2.  Upon reboot, both failed to load any LVM filesystems (which are referenced via /dev/VGNAME/LVNAME in /etc/fstab), and had many other failures as well.  One of the first init scripts, udev, gave an error message about "your system is not set up to run udev".  Manually running the init script showed it was missing the sysfs dependency, but those systems don't have a sysfs init script.  I checked one of my baselayout-2 systems and it turns out the sysfs init script belongs to openrc.  So the new udev init script depends on openrc, but it wasn't blocked on my baselayout-1 systems.

Reproducible: Always

Steps to Reproduce:
1.  Upgrade to udev-171-r5 on a baselayout-1 system (w/o openrc)
2.  Reboot
3.  Hilarity (or not) ensues
Actual Results:  
I can't say the system failed to boot, because at least it would get all the way up to a login prompt...  but the majority of the init scripts failed (no network devices initialized, which was how I discovered the problem).

Expected Results:  
Given the dependency ("need sysfs" in /etc/init.d/udev), emerge should have blocked the udev upgrade.

Portage 2.1.10.49 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo i686)
=================================================================
System uname: Linux-3.0.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-1.12.14
Timestamp of tree: Sun, 11 Mar 2012 12:00:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 3.1.3-r1
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      1.12.14-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            3.4.6-r2, 4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://<LOCALBOX>/portage"
USE="X a52 aac acl acpi aiglx alsa apm assistant audacious bash-completion berkdb branding bzip2 cairo cdda cddb cdinstall cdparanoia cdr cli colordiff consolekit crypt css cups curl cxx dbus dedicated dell device-mapper divx dri dts dvd dvdr emboss emerald encode escreen exif fam fbcon fbcondecor fftw firefox flac gdbm gif glibc-omitfp glitz gnutls gpm gtk gtk2 hou iconv imlib jabber jack jpeg jpeg2k lame laptop lcms logrotate mad mbox mmx mmxext mng modules mp3 mp4 mpeg mudflap multiuser ncurses nptl nptlonly nsplugin ogg ole openal opengl oss pam pango pcre pdf pmu png policykit ppds qt4 readline sdl session smp sou spell sse sse2 ssl startup-notification svg sysfs tcpd tiff tk truetype udev usb videos vim-syntax vorbis win32codecs wmp x264 x86 xcb xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-03-15 08:39:41 UTC
+  15 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> udev-171-r5.ebuild,
+  udev-181.ebuild, udev-9999.ebuild:
+  Raise baselayout depend to >= 2 wrt #407849 by Michael Hill