<?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>172167</bug_id>
          
          <creation_ts>2007-03-25 13:52 0000</creation_ts>
          <short_desc>sys-boot/lilo-22.8: No entry for device-mapper found</short_desc>
          <delta_ts>2007-04-28 22:05:11 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>2006.1</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>ulm@gentoo.org</reporter>
          <assigned_to>chainsaw@gentoo.org</assigned_to>
          <cc>base-system@gentoo.org</cc>
    
    <cc>markphipps@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-03-25 13:52:18 0000</bug_when>
            <thetext>/sbin/lilo from sys-boot/lilo-22.8 outputs the following error message:

# lilo
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Added Linux *
[...]

sys-fs/device-mapper-1.02.12 is installed on the system (not needed, but gets pulled by dependencies of sys-apps/hal -&gt; sys-fs/cryptsetup-luks), but the kernel is configured without multi-device support (CONFIG_MD).

Lilo does not display the error message anymore after the following sequence of commands:
# emerge -C device-mapper
# emerge lilo
# emerge device-mapper

Maybe it would be more appropriate to control this via a USE flag?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-03-26 09:14:34 0000</bug_when>
            <thetext>Created an attachment (id=114466)
Proposed changes for lilo-22.8.ebuild

Attached changes for lilo-22.8.ebuild work for me.
An &quot;lvm2&quot; local USE flag would already exist.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-04-28 05:53:51 0000</bug_when>
            <thetext>*dah-dit-dah*
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chainsaw@gentoo.org</who>
            <bug_when>2007-04-28 15:03:40 0000</bug_when>
            <thetext>We use diffs over sed statements as they do not break silently when they no longer apply. I will commit this on monday (even though I feel that the bug is in the HAL dependencies).
I do not have access to non-production X86 hardware before monday. However, if you can rework this into a proper .diff, talk to me on IRC.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-04-28 20:41:36 0000</bug_when>
            <thetext>Created an attachment (id=117582)
lilo-22.8-nodevmapper.patch

Attached patch should be applied if the lvm2 USE flag is unset.

Alternatively, one could pass &quot;HDM= DEVMAPPER=&quot; to emake in that case.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-04-28 22:05:11 0000</bug_when>
            <thetext>Fixed in -r1.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>114466</attachid>
            <date>2007-03-26 09:14 0000</date>
            <desc>Proposed changes for lilo-22.8.ebuild</desc>
            <filename>diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9sb2NhbC91bG0vc3lzLWJvb3QvbGlsby9saWxvLTIyLjguZWJ1aWxk
fgkyMDA3LTAzLTIwIDExOjQ2OjI1LjAwMDAwMDAwMCArMDEwMAorKysgL3Vzci9wb3J0YWdlL2xv
Y2FsL3VsbS9zeXMtYm9vdC9saWxvL2xpbG8tMjIuOC5lYnVpbGQJMjAwNy0wMy0yNiAxMToxMToz
Mi4wMDAwMDAwMDAgKzAyMDAKQEAgLTUsNyArNSw3IEBACiBpbmhlcml0IGV1dGlscyBmbGFnLW8t
bWF0aWMgdG9vbGNoYWluLWZ1bmNzCiAKIERPTElMT19WPSIwLjQiCi1JVVNFPSJzdGF0aWMgbWlu
aW1hbCBweGVzZXJpYWwiCitJVVNFPSJzdGF0aWMgbWluaW1hbCBweGVzZXJpYWwgbHZtMiIKIAog
REVTQ1JJUFRJT049IlN0YW5kYXJkIExpbnV4IGJvb3QgbG9hZGVyIgogSE9NRVBBR0U9Imh0dHA6
Ly9saWxvLmdvLmR5bmRucy5vcmcvcHViL2xpbnV4L2xpbG8vIgpAQCAtMjEsNyArMjEsOCBAQAog
TElDRU5TRT0iQlNEIEdQTC0yIgogS0VZV09SRFM9Ii0qIH54ODYgfmFtZDY0IgogCi1ERVBFTkQ9
Ij49c3lzLWRldmVsL2Jpbjg2LTAuMTUuNSIKK0RFUEVORD0iPj1zeXMtZGV2ZWwvYmluODYtMC4x
NS41CisJbHZtMj8gKCA+PXN5cy1mcy9kZXZpY2UtbWFwcGVyLTEuMDIuMTIgKSIKIAogUFJPVklE
RT0idmlydHVhbC9ib290bG9hZGVyIgogCkBAIC00Miw2ICs0Myw4IEBACiAJIyBJRS4uICBCLkIu
by5vLm8uby50LnQuaS5pLm4ubi5nLmcuLi4ubC5sLmkuaS5uLm4udS51LngueCBhbmQgc3RhaXIg
c3RlcHBpbmcuCiAJdXNlIHB4ZXNlcmlhbCAmJiBlcGF0Y2ggJHtGSUxFU0RJUn0vJHtQfS1ub3Zn
YS5wYXRjaAogCisJdXNlIGx2bTIgfHwgc2VkIC1pIC1lICdzL2xpYmRldm1hcHBlci9EaVNhQmxF
ZEV2TWFQcEVyLycgTWFrZWZpbGUgfHwgZGllCisKIAl1bnBhY2sgJHtET0xJTE9fVEFSfQogfQog
Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>117582</attachid>
            <date>2007-04-28 20:41 0000</date>
            <desc>lilo-22.8-nodevmapper.patch</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIE1ha2VmaWxlfgkyMDA3LTA0LTI4IDIyOjA0OjIzLjAwMDAwMDAwMCArMDIwMAorKysgTWFr
ZWZpbGUJMjAwNy0wNC0yOCAyMjoyMTo0Ni4wMDAwMDAwMDAgKzAyMDAKQEAgLTkxLDggKzkxLDgg
QEAKICAgc2VkICdzLy1ELy1ETENGXy9nJ2AKIExJTE89LURMSUxPPTB4YmI5MjA4OTAKIEtWRVI9
YGlmIFsgLWYgL3Vzci9pbmNsdWRlL2xpbnV4L3ZlcnNpb24uaCBdOyB0aGVuIGVjaG8gLURIQVNf
VkVSU0lPTl9IOyBmaWAKLUhETT1gaWYgWyAtZiAvdXNyL2luY2x1ZGUvbGliZGV2bWFwcGVyLmgg
XTsgdGhlbiBlY2hvIC1ESEFTX0xJQkRFVk1BUFBFUl9IOyBmaWAKLURFVk1BUFBFUj1gaWYgWyAt
ZiAvdXNyL2luY2x1ZGUvbGliZGV2bWFwcGVyLmggXTsgdGhlbiBlY2hvICItbGRldm1hcHBlciI7
IGZpYAorSERNPQorREVWTUFQUEVSPQogCiBUTVA9X1RtUF8KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>