<?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>225769</bug_id>
          
          <creation_ts>2008-06-10 16:29 0000</creation_ts>
          <short_desc>sys-fs/lvm2 init-script outputs queer message with baselayout-1</short_desc>
          <delta_ts>2008-06-28 09:17:25 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>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>x86</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>anna.janackova@gmail.com</reporter>
          <assigned_to>cardoe@gentoo.org</assigned_to>
          <cc>robbat2@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>anna.janackova@gmail.com</who>
            <bug_when>2008-06-10 16:29:59 0000</bug_when>
            <thetext>/etc/init.d/lvm start (as well as device-mapper) outputs a message completely uninformative and weird:
 
* The lvm init-script is written for baselayout-2!
* Please do not use it with baselayout-1!

Reproducible: Always



Expected Results:  
The error message should be set to something more informative, like &quot;This init-script is meant for use with baselayout-2. Baselayout-1 starts lvm on its own, use/do this or that.&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2008-06-10 16:35:38 0000</bug_when>
            <thetext>Which version of sys-fs/lvm2?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anna.janackova@gmail.com</who>
            <bug_when>2008-06-10 17:41:25 0000</bug_when>
            <thetext>sys-fs/lvm2-2.02.28-r2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2008-06-10 18:23:09 0000</bug_when>
            <thetext>    elog &quot;lvm volumes are no longer automatically created for&quot;
    elog &quot;baselayout-2 users. If you are using baselayout-2, be sure to&quot;
    elog &quot;run: # rc-update add lvm boot&quot;

So the instructions when you install it say only to do those steps if you&apos;re a baselayout-2 user. The instructions that you pasted say that the init script is only for baselayout-2 and not to use it with baselayout-1.

Where exactly is the confusion? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agk@redhat.com</who>
            <bug_when>2008-06-10 18:52:40 0000</bug_when>
            <thetext>I can only assist when matters involve the upstream code base - this is a pure distro one, sorry - reassigning it back.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anna.janackova@gmail.com</who>
            <bug_when>2008-06-10 19:21:49 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt;     elog &quot;lvm volumes are no longer automatically created for&quot;
&gt;     elog &quot;baselayout-2 users. If you are using baselayout-2, be sure to&quot;
&gt;     elog &quot;run: # rc-update add lvm boot&quot;
&gt; 
&gt; So the instructions when you install it say only to do those steps if you&apos;re a
&gt; baselayout-2 user. The instructions that you pasted say that the init script is
&gt; only for baselayout-2 and not to use it with baselayout-1.
&gt; 
&gt; Where exactly is the confusion? 
&gt; 

Are you saying that we do not need a signpost, because the information is already in the map? And asking where exactly is the confusion? ;)

Where exactly is the problem that causes the inconsistency in those two messages in question (or any other)? It&apos;s really nice to have the information in one place, but some could make use of the signpost, to know where to go. And even if nobody did, we could be a bit more consistent in things we do, because we just care and/or want to do the best. And perfection, as we all know, is in details.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2008-06-28 09:17:25 0000</bug_when>
            <thetext>I added another line of warning to tell users NOT to add lvm to the runlevels if they are using baselayout1.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>