Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408947 - sys-fs/udev / sys-fs/eudev broke system due to no CONFIG_DEVTMPFS in kernel
Summary: sys-fs/udev / sys-fs/eudev broke system due to no CONFIG_DEVTMPFS in kernel
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 409393 453074 453622 480912 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-20 05:53 UTC by Mark R. Pariente
Modified: 2014-03-28 16:20 UTC (History)
4 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 Mark R. Pariente 2012-03-20 05:53:06 UTC
Upgrade from udev-171-r5 to udev-181 broke my system due to no CONFIG_DEVTMPFS in kernel configuration. Recompiling the kernel with said config option fixed the issue. I think that there should be a warning or a pre-merge kernel config check to prevent stable users from merging udev-181 

Reproducible: Always




Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64)
=================================================================
System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.1
Timestamp of tree: Tue, 20 Mar 2012 03:30:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5.1-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo proaudio sunrise vmware seden Mark-s-local-portage-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -mfpmath=sse -mmmx -msse2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe -mfpmath=sse -mmmx -msse2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs 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"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j9"
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="/var/lib/layman/pro-audio /var/lib/layman/sunrise /var/lib/layman/vmware /var/lib/layman/seden /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 artworkextra avahi bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cdr cleartype cli clutter colord consolekit cracklib crypt cscope cups cxx dbus device-mapper dri dts dv dvd dvdr eds emboss emerald encode evo exif faac fam ffmpeg firefox flac fortran fuse gdbm gdu geoloc gif glitz gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm gstreamer gtk gtk2 gtk3 hostip iconv id3tag ipod ipv6 jabber jack jpeg kdrive lame lcms ldap libnotify mad map mmx mmxext mng modules mono mp3 mp4 mpeg msn mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio python qt3support qt4 quicktime readline rtmp sdl session sip socialweb spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vdpau vorbis vpx wav x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mark R. Pariente 2012-03-20 05:54:22 UTC
Apologies for the premature submit - should continue as:

... prevent stable users from merging udev-181 unless they have CONFIG_DEVTMPFS in their kernel configuration.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-03-20 06:05:09 UTC
And there is. You have to read emerge output.

$ grep DEVTMPFS *.ebuild
udev-181.ebuild:	CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS
udev-182.ebuild:	CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS
udev-9999.ebuild:	CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-03-20 06:06:41 UTC
And converting the warning to a fatal error would be wrong wrt bug #103878, Comment #29
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-03-23 07:23:38 UTC
*** Bug 409393 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-01-20 02:10:02 UTC
*** Bug 453074 has been marked as a duplicate of this bug. ***
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-01-23 07:05:22 UTC
*** Bug 453622 has been marked as a duplicate of this bug. ***
Comment 7 Mark Tiefenbruck 2013-01-23 17:15:37 UTC
Which is worse? Getting a build error when you really were going to recompile your kernel later, or having your computer do an impression of a brick? I started using stable because I was spending way too much time installing things. Stable is supposed to /work/ when it installs. Make it work. A warning is not enough. People don't read those, and even people who do read those don't /always/ read those because sometimes they're lost way up above the scrollback buffer. And frankly, if there's not a bunch of red on your screen, how bad can it be?

While it may be a nice idea that gentoo doesn't enforce kernel config parameter checks, I think it's extremely reasonable to make an exception when the result would be a system that can't be fixed. Right? Isn't this obvious? People's computers should work. Especially on stable. This isn't a game of Simon Says. We are people with computers who want to use our computers, not get into philosophical debates about whether people should have to follow the directions in their logs exactly in order to keep their computers working.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-16 14:02:14 UTC
*** Bug 480912 has been marked as a duplicate of this bug. ***
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-28 16:20:00 UTC
*** Bug 506086 has been marked as a duplicate of this bug. ***