Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293123 - latest stable sys-fs/udev-146-r1 blocks on sys-fs/device-mapper-* and many crypto apps
Summary: latest stable sys-fs/udev-146-r1 blocks on sys-fs/device-mapper-* and many cr...
Status: RESOLVED DUPLICATE of bug 292833
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 22:10 UTC by Rick Farina (Zero_Chaos)
Modified: 2010-02-28 15:14 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 Rick Farina (Zero_Chaos) gentoo-dev 2009-11-13 22:10:31 UTC
sys-fs/udev-146-r1 got marked stable and requires sys-fs/device-mapper to not be installed on the system.

Programs that directly require device-mapper include the latest version of:
app-crypt/truecrypt
sys-apps/parted
sys-block/gparted
sys-boot/lilo
sys-fs/clvm
sys-fs/cryptsetup
sys-fs/dmraid
sys-fs/evms
sys-fs/lvm2
sys-fs/multipath-tools

Second level dependancies (where my personal problems are) for cryptsetup include the following when using the crypt flag:
app-crypt/luks-tools
sys-apps/hal
sys-apps/pmount
sys-auth/pam_mount
sys-kernel/dracut

My personal problem lies in hal not working with the crypt flag and unable to mount encrypted drives.  The biggest issue is that cryptsetup and truecrypt can't install anymore which basically means we don't want any encryption at all.

Reproducible: Always

Steps to Reproduce:
1.update to stable sys-fs/udev-146-r1
2.see it block sys-fs/device-mapper
3.install anything from the first list or install anything from the second list with crypt useflag

Actual Results:  
blocks on device-mapper requirement or improperly installs and scream when you emerge --deep --update --newuse world -a

Expected Results:  
sys-fs/cryptsetup et al need updated dependancies if sys-fs/device-mapper is no longer used

This has to be affecting people with full disk encryption because of cryptsetup being broken.  It all affect truecrypt users. Basically anything with a crypt use flag is broken.
Comment 1 Dalton Barreto 2009-11-14 00:56:39 UTC
I have full disk encryption and on top of this a lvm2. 

But I think I can uptade my system because my initrd image will continue to have an older (not broken) version of cryptsetup and lvm2, so I will still be able do boot but I won't be able to generate new initrd images, am I right?
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2009-11-14 03:35:58 UTC
When bug 287658 is resolved, so is this bug.  Everything works fine if you mark =sys-fs/lvm2-2.02.51-r1 stable.

For some reason the ebuild is marked stable but portage doesn't want to install it until I add it to /etc/portage/package.keywords
Comment 3 Rafał Mużyło 2009-11-14 03:41:19 UTC
I think at least two problems are raised in this bug:
- one of them is INVALID: device-mapper has been merged upstream into
lvm2, which now provides both
- the other one (initrd) is probably a duplicate of bug 292833,
but that one seems to affect only genkernel users

Please confirm.
Comment 4 Rafał Mużyło 2009-11-14 03:46:00 UTC
As for comment 2: those versions of udev and lvm2 are
both stable on x86 and both unstable on amd64.
Is everything all right with your portage tree ?
Comment 5 Pacho Ramos gentoo-dev 2009-11-14 10:49:29 UTC
I am also getting a blocker:
$ emerge -pvuDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/libdaemon-0.13-r1 [0.12] USE="-doc -examples" 0 kB
[ebuild     U ] sys-libs/libcap-2.17 [2.16] USE="pam" 0 kB
[ebuild     U ] sys-apps/busybox-1.14.2 [1.13.2] USE="pam -debug -make-symlinks -savedconfig (-selinux) -static" 0 kB
[ebuild     U ] media-libs/speex-1.2_rc1 [1.2_beta3_p2] USE="ogg sse" 0 kB
[ebuild     U ] sys-libs/e2fsprogs-libs-1.41.9 [1.41.3-r1] USE="nls" 485 kB
[ebuild     U ] sys-apps/util-linux-2.16.1 [2.14.2] USE="crypt nls perl%* unicode -loop-aes -old-linux (-selinux) -slang (-uclibc)" 3,408 kB
[ebuild     U ] sys-fs/udev-146-r1 [141] USE="devfs-compat%* -extras% (-selinux)" 528 kB
[ebuild     U ] sys-fs/e2fsprogs-1.41.9 [1.41.3-r1] USE="nls" 4,349 kB
[blocks b     ] <sys-fs/e2fsprogs-1.41.8 ("<sys-fs/e2fsprogs-1.41.8" is blocking sys-libs/e2fsprogs-libs-1.41.9, sys-apps/util-linux-2.16.1)
[ebuild   R   ] x11-wm/icewm-1.2.37  USE="nls truetype -debug -esd -imlib -minimal (-uclibc) -xinerama (-spell%*)" 0 kB
[ebuild     U ] sys-apps/hal-0.5.13-r2 [0.5.12_rc1-r8] USE="X acpi consolekit crypt laptop policykit -apm -debug -dell -disk-partition -doc (-selinux)" 902 kB
[ebuild     U ] app-misc/hal-info-20090716 [20090414] 136 kB
[ebuild   R   ] media-libs/libsdl-1.2.13-r1  USE="X alsa audio joystick opengl video xv -aalib -custom-cflags -dga -directfb -esd -fbcon -ggi -libcaca -nas -oss -pulseaudio -svga -tslib% -xinerama (-arts%)" 0 kB
[ebuild     U ] net-libs/xulrunner-1.9.1.4 [1.9.0.14] USE="alsa%* dbus gnome java python%* startup-notification -custom-optimization -debug% -sqlite%" 0 kB
[ebuild   R   ] sci-astronomy/celestia-1.6.0  USE="cairo gnome gtk nls pch threads -debug -theora (-arts%) (-kde%)" 0 kB
[ebuild     U ] www-client/mozilla-firefox-3.5.4 [3.0.14] USE="alsa%* dbus gnome java startup-notification -bindist -custom-optimization -iceweasel -mozdevelop -restrict-javascript -sqlite% (-xulrunner%*)" LINGUAS="en_US es es_ES -af -ar -as% -be -bg -bn -bn_BD% -bn_IN -ca -cs -cy -da -de -el -en -en_GB -eo -es_AR -es_CL% -es_MX% -et -eu -fa% -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr% -hu -id -is -it -ja -ka -kk% -kn -ko -ku -lt -lv -mk -ml% -mn -mr -nb -nb_NO -nl -nn -nn_NO -oc -or% -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm% -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta% -ta_LK% -te -th -tr -uk -vi% -zh_CN -zh_TW (-zh%)" 0 kB
[ebuild     U ] www-client/epiphany-2.26.3-r2 [2.26.3-r1] USE="avahi networkmanager python spell -debug -doc" 0 kB
[blocks B     ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146-r1)

Total: 16 packages (13 upgrades, 3 reinstalls), Size of downloads: 9,804 kB
Conflict: 2 blocks (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'sys-fs/udev-146-r1', 'merge') pulled in by
    sys-fs/udev required by ('installed', '/', 'sys-kernel/tuxonice-sources-2.6.29-r3', 'nomerge')
    sys-fs/udev required by ('installed', '/', 'sys-kernel/tuxonice-sources-2.6.30-r5', 'nomerge')
    >=sys-fs/udev-124 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge')
    (and 3 more)

  ('installed', '/', 'sys-fs/device-mapper-1.02.24-r1', 'nomerge') pulled in by
    >=sys-fs/device-mapper-1.00.07-r1 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge')


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

This is because sys-apps/hal requires sys-fs/cryptsetup , that is blocked by new udev
Comment 6 Rafał Mużyło 2009-11-14 19:27:50 UTC
About comment 5:
of course, you're getting a blocker:
try 'emerge -pvuDN world lvm2' (IIRC, should work,
just be sure lvm2 wont get needlessly added to world).
Comment 7 Pacho Ramos gentoo-dev 2009-11-14 19:46:03 UTC
It still fails since "sys-fs/device-mapper" is blocking sys-fs/lvm2-2.02.51-r1 :-/:

# emerge -pvuDN world lvm2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/libdaemon-0.13-r1 [0.12] USE="-doc -examples" 0 kB
[ebuild     U ] sys-libs/libcap-2.17 [2.16] USE="pam" 0 kB
[ebuild     U ] sys-apps/busybox-1.14.2 [1.13.2] USE="pam -debug -make-symlinks -savedconfig (-selinux) -static" 0 kB
[ebuild     U ] media-libs/speex-1.2_rc1 [1.2_beta3_p2] USE="ogg sse" 0 kB
[ebuild     U ] sys-libs/e2fsprogs-libs-1.41.9 [1.41.3-r1] USE="nls" 0 kB
[ebuild     U ] sys-apps/util-linux-2.16.1 [2.14.2] USE="crypt nls perl%* unicode -loop-aes -old-linux (-selinux) -slang (-uclibc)" 0 kB
[ebuild     U ] sys-fs/udev-146-r1 [141] USE="devfs-compat%* -extras% (-selinux)" 528 kB
[ebuild     U ] sys-fs/e2fsprogs-1.41.9 [1.41.3-r1] USE="nls" 0 kB
[blocks b     ] <sys-fs/e2fsprogs-1.41.8 ("<sys-fs/e2fsprogs-1.41.8" is blocking sys-libs/e2fsprogs-libs-1.41.9, sys-apps/util-linux-2.16.1)
[ebuild  N    ] sys-fs/lvm2-2.02.51-r1  USE="lvm1 readline static -clvm (-cman) (-selinux)" 772 kB
[ebuild   R   ] x11-wm/icewm-1.2.37  USE="nls truetype -debug -esd -imlib -minimal (-uclibc) -xinerama (-spell%*)" 0 kB
[ebuild     U ] sys-apps/hal-0.5.13-r2 [0.5.12_rc1-r8] USE="X acpi consolekit crypt laptop policykit -apm -debug -dell -disk-partition -doc (-selinux)" 0 kB
[ebuild     U ] app-misc/hal-info-20090716 [20090414] 0 kB
[ebuild   R   ] media-libs/libsdl-1.2.13-r1  USE="X alsa audio joystick opengl video xv -aalib -custom-cflags -dga -directfb -esd -fbcon -ggi -libcaca -nas -oss -pulseaudio -svga -tslib% -xinerama (-arts%)" 0 kB
[ebuild     U ] net-libs/xulrunner-1.9.1.4 [1.9.0.14] USE="alsa%* dbus gnome java python%* startup-notification -custom-optimization -debug% -sqlite%" 0 kB
[ebuild   R   ] sci-astronomy/celestia-1.6.0  USE="cairo gnome gtk nls pch threads -debug -theora (-arts%) (-kde%)" 0 kB
[ebuild     U ] www-client/mozilla-firefox-3.5.4 [3.0.14] USE="alsa%* dbus gnome java startup-notification -bindist -custom-optimization -iceweasel -mozdevelop -restrict-javascript -sqlite% (-xulrunner%*)" LINGUAS="en_US es es_ES -af -ar -as% -be -bg -bn -bn_BD% -bn_IN -ca -cs -cy -da -de -el -en -en_GB -eo -es_AR -es_CL% -es_MX% -et -eu -fa% -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr% -hu -id -is -it -ja -ka -kk% -kn -ko -ku -lt -lv -mk -ml% -mn -mr -nb -nb_NO -nl -nn -nn_NO -oc -or% -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm% -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta% -ta_LK% -te -th -tr -uk -vi% -zh_CN -zh_TW (-zh%)" 0 kB
[ebuild     U ] www-client/epiphany-2.26.3-r2 [2.26.3-r1] USE="avahi networkmanager python spell -debug -doc" 0 kB
[blocks B     ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146-r1)
[blocks B     ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/lvm2-2.02.51-r1)

Total: 17 packages (13 upgrades, 1 new, 3 reinstalls), Size of downloads: 1,300 kB
Conflict: 3 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'sys-fs/udev-146-r1', 'merge') pulled in by
    sys-fs/udev required by ('installed', '/', 'sys-kernel/tuxonice-sources-2.6.29-r3', 'nomerge')
    sys-fs/udev required by ('installed', '/', 'sys-kernel/tuxonice-sources-2.6.30-r5', 'nomerge')
    >=sys-fs/udev-124 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge')
    (and 3 more)

  ('installed', '/', 'sys-fs/device-mapper-1.02.24-r1', 'nomerge') pulled in by
    >=sys-fs/device-mapper-1.00.07-r1 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge')

  ('ebuild', '/', 'sys-fs/lvm2-2.02.51-r1', 'merge') pulled in by
    lvm2
Comment 8 Pacho Ramos gentoo-dev 2009-11-14 19:53:43 UTC
Well, sorry a lot, simply "emerge -C device-mapper && emerge -uDN world" works, as lvm2 uses a "!!" blocker instead of "!" (then, blocker is not automatically resolved)

Sorry 
Comment 9 John Ratliff 2009-11-14 22:58:24 UTC
Yes, comment #8 solves the problem for me too. emerge world will pull in lvm2 after device-mapper is gone.


Comment 10 Armando Di Cianno 2009-12-07 17:41:46 UTC
This blocker resolution should've made it into 'eselect news'.  I had no idea device-mapper would become provided by lvm2.  However, as stated here:
  emerge -C device-mapper && emerge -1 lvm2
... seems to fix the problem and allow normal updating.
Comment 11 Lars 2009-12-10 14:39:40 UTC
i can confirm that a simple
emerge -C device-mapper && emerge -DuN device-mapper
solves the problem for me and would like to see this in eselect news as well. it's not fun to search around some bug reports to find out what's going on.
"this is not a bug. you just dont know that device-mapper has been merged into lvm2." <-- where should i know that from?


btw, the folowing did not work for me
emerge -C device-mapper && emerge -1av lvm2
because:
[ebuild     U ] sys-apps/util-linux-2.16.1 [2.14.2] USE="crypt nls perl%* unicode -loop-aes -old-linux (-selinux) -slang (-uclibc)" 3,408 kB
[ebuild  N    ] sys-fs/lvm2-2.02.51-r1  USE="lvm1 readline static (-clvm) (-cman) (-selinux)" 772 kB                                        
[blocks B     ] <sys-fs/e2fsprogs-1.41.8 ("<sys-fs/e2fsprogs-1.41.8" is blocking sys-apps/util-linux-2.16.1)                                
[blocks B     ] <sys-libs/e2fsprogs-libs-1.41.8 ("<sys-libs/e2fsprogs-libs-1.41.8" is blocking sys-apps/util-linux-2.16.1)
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-12-11 14:58:04 UTC
emerge -C device-mapper, problem solved

closing as duplicate of bug 292833 as initrd issue was raised here as well

*** This bug has been marked as a duplicate of bug 292833 ***
Comment 13 tanstaafl@libertytrek.org 2010-02-28 15:05:15 UTC
Dumb question - is there a minimum kernel version required to update to this new version of lvm2?

For reasons I don't want to go into, I'm stuck on an old 2.6.23 kernel for the time being, but I'd like to go ahead and get lvm2 updated so it stops showing up as a blocker when I upgrade world...

Thanks...
Comment 14 tanstaafl@libertytrek.org 2010-02-28 15:14:42 UTC
(In reply to comment #13)
> Dumb question - is there a minimum kernel version required to update to this
> new version of lvm2?

Oh... and I'm on an older version of udev too - 141 to be specific - will this need to be updated as well when updating lvm2?

I do have approval to upgrade the kernel/udev and everything else sometime fairly soon, just not right now, so want to be sure updating lvm2 will still work ok with the older kernel/udev versions I'm at...

Thanks again...