Your message dated Fri, 14 Jul 2006 10:17:05 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#378089: fixed in initramfs-tools 0.69b
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)

--- Begin Message ---
Package: initramfs-tools
Version: 0.68b
Severity: important
Tags: patch

The .deb's filesystem archive hasn't yet been unpacked when the preinst
runs, so you aren't allowed to depend upon directories shipped in the
.deb existing at that point. Patch attached.

It also occurs to me that this bug may have produced
/etc/initramfs-tools as a regular file, due to this incautious code:

                        cp /etc/mkinitrd/modules /etc/initramfs-tools

You should append a trailing slash when copying to directories to defend
against this; my patch also does this.

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]
diff -ru initramfs-tools-0.68b.orig/debian/initramfs-tools.preinst 
initramfs-tools-0.68b/debian/initramfs-tools.preinst
--- initramfs-tools-0.68b.orig/debian/initramfs-tools.preinst   2006-07-07 
10:51:01.000000000 +0100
+++ initramfs-tools-0.68b/debian/initramfs-tools.preinst        2006-07-13 
09:34:15.000000000 +0100
@@ -5,6 +5,8 @@
 case "$1" in
        configure)
        if [ -n "$2" ]; then
+               mkdir -p /etc/initramfs-tools/conf.d
+
                # First time install.  Can we autodetect the RESUME partition?
                RESUME=$(tail -n $(($(wc -l /proc/swaps | awk ' { print $1 } ') 
- 1)) /proc/swaps | sort -rk3 | head -n 1 | awk ' { print $1 } ')
 
@@ -18,7 +20,7 @@
 
                # Add initrd-tools modules, while trying to minimize prompting
                if [ -e /etc/mkinitrd/modules ]; then
-                       cp /etc/mkinitrd/modules /etc/initramfs-tools
+                       cp /etc/mkinitrd/modules /etc/initramfs-tools/
                        sed -i \
                          -e 's/\/etc\/mkinitrd\/modules: Kernel modules to 
load for initrd./List of modules that you want to include in your initramfs./g' 
\
                          -e 's/mkinitrd/update-initramfs/g' \

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.69b

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.69b.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.69b.dsc
initramfs-tools_0.69b.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.69b.tar.gz
initramfs-tools_0.69b_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.69b_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: Fri, 14 Jul 2006 00:31:30 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.69b
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <[EMAIL PROTECTED]>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 378089
Changes: 
 initramfs-tools (0.69b) unstable; urgency=high
 .
   * debian/initramfs-tools.preinst: Don't depend upon shipped directories
     to be existing. Thanks Colin Watson <[EMAIL PROTECTED]> for patch.
     Add trailing slash to copy command. (closes: 378089)
 .
   * mkinitramfs: Revert the removal of kernel-package supported lonng param
     of 0.65. Readd that plain ugly interface. Warn users they should use
     ramdisk=mkinitramfs-kpkg. As kernel-package doesn't yet support
     update-initramfs. Thanks Frans Pop <[EMAIL PROTECTED]> for report.
 .
   * debian/bug: Rename to script so that it shows up in reportbug.
     Fix debian/initramfs-tools.install accordingly.
 .
   * Thus high urgency upload.
Files: 
 a8e75900458b7d440b1a329bf9bcc544 625 utils optional initramfs-tools_0.69b.dsc
 d449a78fb0be008afc24713588fd3be6 42106 utils optional 
initramfs-tools_0.69b.tar.gz
 5010f78c54dbad14df0499422d7eed51 47854 utils optional 
initramfs-tools_0.69b_all.deb

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

iD8DBQFEt9A26n7So0GVSSARAmyaAJ4uJ5oWR8SLqP0SSAmGmm6sj8sSkwCcDDZH
ocDhWMDCgf+M9EUyPjWOdmg=
=Pg6F
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to