Your message dated Wed, 26 Oct 2005 01:17:05 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#335801: fixed in initramfs-tools 0.37
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Oct 2005 22:02:57 +0000
>From [EMAIL PROTECTED] Tue Oct 25 15:02:57 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 81-5-177-201.dsl.eclipse.net.uk (hades.smop.co.uk) 
[81.5.177.201] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EUWsj-0003fi-00; Tue, 25 Oct 2005 15:02:57 -0700
Received: from wyvern.smop.co.uk ([192.168.8.2])
        by hades.smop.co.uk with esmtp (Exim 4.52)
        id 1EUWsh-0002as-Rl
        for [EMAIL PROTECTED]; Tue, 25 Oct 2005 23:02:55 +0100
Received: from adrian by wyvern.smop.co.uk with local (Exim 3.36 #1 (Debian))
        id 1EUWs4-0006RZ-00
        for <[EMAIL PROTECTED]>; Tue, 25 Oct 2005 23:02:16 +0100
Date: Tue, 25 Oct 2005 23:02:16 +0100
To: [EMAIL PROTECTED]
Subject: initramfs-tools: uses non-existant stat (patch attached)
Message-ID: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF"
Content-Disposition: inline
User-Agent: Mutt/1.5.11
From: Adrian Bridgett <[EMAIL PROTECTED]>
X-smop.co.uk-MailScanner: Found to be clean
X-smop.co.uk-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.599,
        required 5, autolearn=not spam, BAYES_00 -2.60)
X-smop.co.uk-MailScanner-From: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: initramfs-tools
Version: 0.32

scripts/functions (load_modules) scripts/local-premount/suspend both
use "stat" which isn't provided by busybox (1.01-3) or klibc (1.1.1-2).

Alternatively the use of stat could be replaced by awk (patches
attached).

Unfortunately if you have /sys/power/resume then this buglet means
that the initramfs writes "0x:0x" to /sys/power/resume which hangs the
boot :-(

Thanks,

Adrian
-- 
Email: [EMAIL PROTECTED]  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org
Avoid working with children, animals and Microsoft "operating" systems

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="suspend.patch"

--- suspend.orig        2005-10-25 22:25:30.000000000 +0100
+++ suspend     2005-10-25 22:24:03.000000000 +0100
@@ -24,7 +24,7 @@
 fi
 
 if [ -e /sys/power/resume ]; then
-       major=$((0x$(stat -c%t ${resume})))
-       minor=$((0x$(stat -c%T ${resume})))
-       echo ${major}:${minor} >/sys/power/resume
+       major_minor=$(ls -l ${resume} | \
+         awk '{printf "0x%x:0x%x", $5, $6}')
+       echo $major_minor >/sys/power/resume
 fi

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="functions.patch"

--- functions.orig      2005-10-25 21:11:18.000000000 +0100
+++ functions   2005-10-25 22:22:36.000000000 +0100
@@ -227,9 +227,9 @@
 
        if [ -e /sys/power/resume ]; then
                if [ -e "${resume}" ]; then
-                       major=$((0x$(stat -c%t ${resume})))
-                       minor=$((0x$(stat -c%T ${resume})))
-                       echo ${major}:${minor} >/sys/power/resume
+                       major_minor=$(ls -l ${resume} | \
+                         awk '{printf "0x%x:0x%x", $5, $6}')
+                       echo $major_minor >/sys/power/resume
                fi
        fi
 

--3MwIy2ne0vdjdPXF--

---------------------------------------
Received: (at 335801-close) by bugs.debian.org; 26 Oct 2005 08:17:40 +0000
>From [EMAIL PROTECTED] Wed Oct 26 01:17:40 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EUgT3-0002IY-00; Wed, 26 Oct 2005 01:17:05 -0700
From: maximilian attems <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#335801: fixed in initramfs-tools 0.37
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 26 Oct 2005 01:17:05 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: initramfs-tools
Source-Version: 0.37

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.37.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.37.dsc
initramfs-tools_0.37.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.37.tar.gz
initramfs-tools_0.37_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.37_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <[EMAIL PROTECTED]> (supplier of updated initramfs-tools 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 26 Oct 2005 09:22:58 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.37
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <[EMAIL PROTECTED]>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 335505 335801
Changes: 
 initramfs-tools (0.37) unstable; urgency=low
 .
   * scripts/functions, scripts/local-premount/suspend: Use of "stat"
     which isn' any more provided by busybox (1.01-3).
     Thanks to Adrian Bridgett <[EMAIL PROTECTED]> for the patch using awk.
     (Closes: #335801)
 .
   * hooks/kernelextras: Check for existence of ${MODULESDIR}/initrd/:
     Exit if it doesn't exist before including current dir.
     Thanks to Jean Charles Delepine <[EMAIL PROTECTED]> (Closes: #335505)
 .
   * hooks/lvm, hooks/md: Remove FIXME's at second thought.  You better want
     to check against the binaries for your not yet created raid/lvm.
Files: 
 46b7ba3b3ed766dea1624050280902cc 629 utils optional initramfs-tools_0.37.dsc
 79e5f2a658c6399c3c5c338283d9d019 24642 utils optional 
initramfs-tools_0.37.tar.gz
 5a08fd3c9cb754de5e9bf298eac50e89 28904 utils optional 
initramfs-tools_0.37_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDXzlAdu+M6Iexz7URAhczAKDe2zK2cmHYyhgDTTD05+/sT4wrVgCg221i
Z9rr5w6p3UVb5yjuIRZ+h7c=
=eolg
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to