<?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>173412</bug_id>
          
          <creation_ts>2007-04-04 23:42 0000</creation_ts>
          <short_desc>sys-kernel/genkernel-3.4.6 - gen_initrd.sh (with luks) static check fails w/ non-English locale</short_desc>
          <delta_ts>2007-06-21 00:06:58 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Hosted Projects</product>
          <component>genkernel</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InSVN</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@endnode.se</reporter>
          <assigned_to>genkernel@gentoo.org</assigned_to>
          <cc>guillaume-laures@neuf.fr</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo@endnode.se</who>
            <bug_when>2007-04-04 23:42:04 0000</bug_when>
            <thetext>/usr/shar/genkernel/gen_initrd.sh
function: is_static:
Quote: 	objdump -T $1 2&gt;&amp;1 | grep &quot;not a dynamic object&quot; &gt; /dev/null
Hardcoded check against english message.
This fail when the system returns other than english messages.
In swedish the message is: &quot;inte ett dynamiskt objekt&quot;
And thus the static check fails.

Reproducible: Always

Steps to Reproduce:
Set system messages to other language than english.
LANG=sv_SE.UTF-8

In /etc/genkernel.conf set:
LUKS=&quot;yes&quot;

genkernel initrd

Actual Results:  
* LUKS support requires static cryptsetup at /bin/cryptsetup
* Not including LUKS support


Expected Results:  
Inlcuded the static cryptsetup

Use a non language senitive check method in is_static()</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@endnode.se</who>
            <bug_when>2007-04-04 23:45:39 0000</bug_when>
            <thetext>sys-kernel/genkernel
      Latest version available: 3.4.6
      Latest version installed: 3.4.6
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-04-05 14:25:11 0000</bug_when>
            <thetext>OK.  I think I have this fixed.  I force the command to use English, though I was unable to duplicate this myself, probably because I use English everything by default.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-04-05 15:01:09 0000</bug_when>
            <thetext>This is fixed in genkernel 3.4.7 which is now in the tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-06-21 00:06:58 0000</bug_when>
            <thetext>*** Bug 182705 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>