Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286074 - Stable =sys-fs/udev-146-r1
Summary: Stable =sys-fs/udev-146-r1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: udev maintainers
Depends on: 284744 286041 287745 292787
Blocks: 234938 294185
  Show dependency tree
Reported: 2009-09-23 12:49 UTC by Samuli Suominen (RETIRED)
Modified: 2009-12-11 16:03 UTC (History)
4 users (show)

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

build.log (FEATURES="test") (sys-fs:udev-146-r1:20091005-123316.log,52.40 KB, text/plain)
2009-10-05 12:46 UTC, Samuli Suominen (RETIRED)
build.log with app-text/tree installed (sys-fs:udev-146-r1:20091005-155023.log,50.31 KB, text/plain)
2009-10-05 16:01 UTC, Samuli Suominen (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2009-09-23 12:49:54 UTC
<@zzam> ssuominen: I had another look at udev - the first version being available for your stable request is udev-145
<@zzam> I am not 100% sure if it is a good stable candidate
Comment 1 Matthias Schwarzott gentoo-dev 2009-09-23 14:42:20 UTC
As there were a lot of kernel testing related changes in udev-145-r1 and udev-146 and a lot of relevant patches in 146 or git-master I added a relative large patchset and used udev-146 ebuild as basis of udev-145-r2.
I suggest to test udev-145-r2 good and then try to stable it.
Comment 2 Rafał Mużyło 2009-09-29 13:48:30 UTC
Just a minor note (as I don't see a relevant bug
in casual search): if anything above udev 142 shall
get stabilized, at the same time sys-apps/hal-0.5.13-r2
must be stabled (due to libvolume_id -> libblkid move).
Comment 3 Matthias Schwarzott gentoo-dev 2009-10-02 11:41:36 UTC
Due to Bug 286041 we should either stable udev-145-r3 or udev-146-r1.
If chosing udev-145-r3 I suggest masking >=udev-146 temporary to get enough test coverage.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-10-02 17:54:08 UTC
Don't take this bug lightly, these needs to be tested well (udev, util-linux, e2fsprogs, hal)
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2009-10-03 17:40:41 UTC
Stable on alpha.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-10-05 12:46:51 UTC
Created attachment 206080 [details]
build.log (FEATURES="test")
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-10-05 12:48:20 UTC
Everything appears to be working well (webcam, wireless, (mouse, keyboard (evdev)), nvidia-drivers. Test suite is borqued, should it be considered as a blocking issue? Stable amd64, not a chroot.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-10-05 16:01:11 UTC
Created attachment 206143 [details]
build.log with app-text/tree installed

OK, it's a missing depend: test? ( app-text/tree )

This is the output after installing it.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-21 08:27:57 UTC
Stable for HPPA.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2009-11-09 12:14:21 UTC
x86 stable
Comment 11 Bas van Dijk 2009-11-09 19:07:04 UTC
I just emerged udev-146-r1 and now k3b doesn't recognize my dvd writer anymore. Emerging the previous udev-141 made it work again.

Note that I'm using k3b-1.68.0_alpha3

 # emerge --info
Portage (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 09 Nov 2009 16:45:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
LINGUAS="en en_GB nl"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/haskell /usr/local/portage/layman/kde-testing"
USE="X a52 aac accessibility acl acpi alsa apache2 apm archive bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt css cups dbus dga dirac divx doc dri dts dv dvb dvd dvdr emacs emboss emovix encode evo exif extra fam fbcondecor ffmpeg firefox flac fortran gdbm gif gmedia gpm graphics gstreamer gtk hal hscolour htmlhandbook iconv ieee1394 imagemagick inotify ipv6 irda java joystick jpeg jpeg2k kde kpathsea kvm laptop latex ldap libnotify libwww mad matroska mikmod mjpeg mmap mmx mmxext mng modules mozdevelop mp2 mp3 mp4 mpeg mudflap musepack ncurses nemesi networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl pmu png pnm ppds pppd profile pstricks publishers python qt3support qt4 quicktime rar readline realmedia reflection rtc samba schroedinger science sdl session smp speex spell spl srt sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tetex tex4ht theora threads thunar tiff toolkit-scroll-bars truetype unicode usb v4l v4l2 vcd vdpau vidix vorbis win32codec win32codecs wmf wmp x264 x86 xanim xcomposite xforms xft xinerama xml xorg xulrunner xv xvid xvmc yv12 zip zlib zoran" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia" 

Comment 12 Wolfram Schlich (RETIRED) gentoo-dev 2009-11-10 14:36:20 UTC
Seems that udev-146 does not work with baselayout-1 -- persistent
net/cd rules are NOT being saved to /etc/udev/rules.d!
baselayout-2 calls /etc/init.d/udev-postmount which moves
the generated rules from /dev/.udev/tmp-rules* to /etc/udev/rules.d/
using /lib/udev/ -- baselayout-1 does not.

Please stop stabiliziation and check this issue. Thanks!
Comment 13 Wolfram Schlich (RETIRED) gentoo-dev 2009-11-10 14:45:44 UTC
(In reply to comment #12)
> Seems that udev-146 does not work with baselayout-1 -- persistent
> net/cd rules are NOT being saved to /etc/udev/rules.d!
> baselayout-2 calls /etc/init.d/udev-postmount which moves
> the generated rules from /dev/.udev/tmp-rules* to /etc/udev/rules.d/
> using /lib/udev/ -- baselayout-1 does not.
> Please stop stabiliziation and check this issue. Thanks!

Ok, I just tried downgrading to udv-141 -- didn't change anything,
persistent rules still aren't moved to /etc/udev/rules.d/.
Maybe I'm completely wrong here?!
Comment 14 Matthias Schwarzott gentoo-dev 2009-11-10 15:12:41 UTC
(In reply to comment #12)
> Seems that udev-146 does not work with baselayout-1 -- persistent
> net/cd rules are NOT being saved to /etc/udev/rules.d!
> baselayout-2 calls /etc/init.d/udev-postmount which moves
> the generated rules from /dev/.udev/tmp-rules* to /etc/udev/rules.d/
> using /lib/udev/ -- baselayout-1 does not.
Well, the udev init-script/addon does call

# IN_HOTPLUG=1 /etc/init.d/udev-postmount start >/dev/null 2>&1

So baselayout should behave the same way as it does with hotplugged network interfaces and other stuff.
I know this solution is ugly, but users can solve it easily by adding udev-postmount to default runlevel. (boot runlevel also work, but default is what I recommend).

Next udev ebuild will change the init-scripts and no longer "inject" udev-postmount like a hotplug event, but just add it to runlevel default in some cases, else print a message for the user to do it.

So best solution is to recommend users adding udev-postmount to default runlevel in udev-146-r1 ebuild.

With the new scripts, I wanted to wait for udev-147, but I can also do a udev-146-r2 ebuild.
Comment 15 Carsten Lohrke (RETIRED) gentoo-dev 2009-11-10 21:09:02 UTC
btw. the init scripts coming with current stable lvm2 and mdadm releases do not work with baselayout 1 either and sys-fs/cryptsetup-1.0.6-r2 fails to build w/o device-mapper

i686-pc-linux-gnu-gcc -O2 -march=athlon64 -pipe -mfpmath=sse -msse3 -funit-at-a-time -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both -o cryptsetup -static cryptsetup.o  /usr/lib/libpopt.a ../lib/.libs/libcryptsetup.a -ldevmapper /usr/lib/libgcrypt.a /usr/lib/libgpg-error.a -luuid
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldevmapper
collect2: ld returned 1 exit status
make[2]: *** [cryptsetup] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/work/cryptsetup-1.0.6/src'
make[1]: *** [all-recursive] Error 1
Comment 16 Markus Meier gentoo-dev 2009-11-23 20:48:11 UTC
arm stable
Comment 17 Raúl Porcel (RETIRED) gentoo-dev 2009-11-28 16:36:16 UTC
ia64/sparc stable
Comment 18 Joe Jezak (RETIRED) gentoo-dev 2009-11-29 22:01:17 UTC
Marked ppc/ppc64 stable.
Comment 19 Samuli Suominen (RETIRED) gentoo-dev 2009-12-07 11:13:01 UTC
amd64 stable, despite the test suite doesn't work at all but that's bug 292787 now.
Comment 20 Raúl Porcel (RETIRED) gentoo-dev 2009-12-11 16:03:49 UTC
m68k/s390/sh stable, closing