<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>198144</bug_id>
          
          <creation_ts>2007-11-05 09:07 0000</creation_ts>
          <short_desc>sys-fs/device-mapper should not DEPEND on sys-fs/udev</short_desc>
          <delta_ts>2007-11-08 09:10:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>petre.rodan@simplex.ro</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>petre.rodan@simplex.ro</who>
            <bug_when>2007-11-05 09:07:23 0000</bug_when>
            <thetext>please remove the unconditional *DEPEND on sys-fs/udev for this package. I&apos;m happily using device-mapper with static dev on different configurations both on servers and workstations with no problems.

udev is not a mandatory tool and should not become one.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2007-11-05 09:41:43 0000</bug_when>
            <thetext>please test with device-mapper and lvm2 + static dev on baselayout2 and report back if everything still works for you, because the dm/lvm init scripts now work differently than they did in baselayout1.

If it does work, then I&apos;ll change the RDEPEND statement to be:
&quot;!&lt;sys-fs/udev-115-r1&quot; so that you can use it without udev, while other folks will upgrade to the new udev before using it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vyzo@media.mit.edu</who>
            <bug_when>2007-11-07 19:31:11 0000</bug_when>
            <thetext>It also leads to annoying block cycles when trying to emerge from older versions of device-mapper:
emerge -pv -u device-mapper

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

Calculating dependencies... done!
[ebuild     U ] sys-apps/sysvinit-2.86-r8 [2.86-r3] USE=&quot;(-ibm) (-selinux) -static (-bootstrap%) (-build%)&quot; 0 kB 
[ebuild  N    ] virtual/init-0  0 kB 
[ebuild     U ] sys-apps/debianutils-2.23.1 [2.14.1-r1] USE=&quot;-static (-build%)&quot; 133 kB 
[ebuild  N    ] sys-apps/mktemp-1.5  69 kB 
[ebuild     U ] sys-apps/baselayout-1.12.9-r2 [1.11.14-r2] USE=&quot;unicode -bootstrap -build -static&quot; 214 kB 
[ebuild     U ] sys-apps/module-init-tools-3.2.2-r3 [3.0-r2] USE=&quot;-old-linux% (-debug%)&quot; 166 kB 
[ebuild     U ] sys-fs/device-mapper-1.02.22-r5 [1.01.03] USE=&quot;(-selinux)&quot; 186 kB 
[ebuild     U ] sys-fs/udev-115-r1 [079-r1] USE=&quot;(-selinux)&quot; 210 kB 
[blocks B     ] &lt;sys-fs/device-mapper-1.02.19-r1 (is blocking sys-fs/udev-115-r1)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2007-11-08 02:57:12 0000</bug_when>
            <thetext>The newer portages do not show that block cycle either.
Please test as I requested in comment #1, and report back.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>petre.rodan@simplex.ro</who>
            <bug_when>2007-11-08 08:25:36 0000</bug_when>
            <thetext>
hi Robin,

(In reply to comment #1)
&gt; please test with device-mapper and lvm2 + static dev on baselayout2 and report
&gt; back if everything still works for you, because the dm/lvm init scripts now
&gt; work differently than they did in baselayout1.

by using
sys-fs/lvm2-2.02.28-r2
sys-apps/baselayout-2.0.0_rc6
sys-fs/device-mapper-1.02.22-r5
and a static dev, the system boots up mounting all logical volumes OK right out of the box.

do you also want me to test mounting cryptfs partitions?

&gt; If it does work, then I&apos;ll change the RDEPEND statement to be:
&gt; &quot;!&lt;sys-fs/udev-115-r1&quot; so that you can use it without udev, while other folks
&gt; will upgrade to the new udev before using it.

thanks,
peter
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2007-11-08 09:10:40 0000</bug_when>
            <thetext>no, plain lvm volumes are fine.
Thanks for testing.
I&apos;ve inverted the DEPEND now.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>