[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#608865: marked as done (initramfs-tools: postinst fails if /tmp is mounted noexec)



Your message dated Fri, 28 Jan 2011 14:48:25 +0000
with message-id <E1Pipcf-0002sQ-VU@franck.debian.org>
and subject line Bug#608865: fixed in initramfs-tools 0.98.8
has caused the Debian Bug report #608865,
regarding initramfs-tools: postinst fails if /tmp is mounted noexec
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
608865: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608865
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.98.7
Severity: normal


Installing initramfs-tools version 0.98.7 on squeeze (=debian testing) I get the following error messages:

/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/init-top/all_generic_ide: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/init-top/blacklist: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/init-top/keymap: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/init-top/udev: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/init-bottom/udev: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/local-premount/resume: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/local-bottom/cryptopensc: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/local-top/cryptopensc: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/local-top/cryptroot: Permission denied
/usr/sbin/mkinitramfs: 296: /tmp/mkinitramfs_6qmV4K/scripts/local-top/lvm2: Permission denied

->the postinst fails because /tmp is mounted noexec, and the script can't set the executable bit for the listed files
Found this thread which indicates that max@sro.at fixed the problem:
http://lists.debian.org/debian-kernel/2010/04/msg00481.html

I can work around this for now given the hints in the thread (I'll just point $TMPDIR to another director for the install), but would like to know if this will get fixed for final sqeeze? I'll definitely run into problems otherwise, as /tmp is set to noexec on all servers...

Many thanks in advance, and a happy new year 



--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.98.8

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.98.8.dsc
  to main/i/initramfs-tools/initramfs-tools_0.98.8.dsc
initramfs-tools_0.98.8.tar.gz
  to main/i/initramfs-tools/initramfs-tools_0.98.8.tar.gz
initramfs-tools_0.98.8_all.deb
  to main/i/initramfs-tools/initramfs-tools_0.98.8_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 608865@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (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 ftpmaster@debian.org)


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

Format: 1.8
Date: Fri, 28 Jan 2011 15:11:10 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.98.8
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 608339 608538 608865
Changes: 
 initramfs-tools (0.98.8) unstable; urgency=high
 .
   [ maximilian attems ]
   * [67c1d32] initramfs-tools: MODULES=dep fix for ubifs /
     (Closes: #608339)
   * [ca4d08a] mkinitramfs: Fix noexec /tmp detection for long device
     names. (Closes: #608865) Thanks to Ian Campbell <ijc@hellion.org.uk>
 .
   [ Ben Hutchings ]
   * [78d9e04] initramfs-tools: Handle hidden dependency of libcrc32c on
     crc32c. (Closes: #608538)
Checksums-Sha1: 
 c35a1f91eeea135efb5b3e59d266c9ed88d26313 973 initramfs-tools_0.98.8.dsc
 eed439c0ec0db77684d86f0dc24497def63bc0f2 83169 initramfs-tools_0.98.8.tar.gz
 df235fd729ec526340d6c7a4874617f17596580e 89496 initramfs-tools_0.98.8_all.deb
Checksums-Sha256: 
 f7fc2339af15e4cbc1c2fe7088934a53df81607c0d81e2b315b5f8c8792003a5 973 initramfs-tools_0.98.8.dsc
 43342b7222eb5209f42a2d3146d4d1e9431baca536ed8a31800eb9f09a74c2bd 83169 initramfs-tools_0.98.8.tar.gz
 3115c15333e0327e8c4646b47e34490a1c2ae84da97dea811677c78c00df3460 89496 initramfs-tools_0.98.8_all.deb
Files: 
 32c35f10a6d3d9ee114d2d2709eda2e5 973 utils optional initramfs-tools_0.98.8.dsc
 933ff0d675ed86aa29c34453c3d07989 83169 utils optional initramfs-tools_0.98.8.tar.gz
 d8060188797be39c0d82e360d6436cd8 89496 utils optional initramfs-tools_0.98.8_all.deb

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

iEYEARECAAYFAk1C0I0ACgkQeW7Lc5tEHqiangCggvsSpXc46i717T76QbQTZLLa
JGYAn2xrhze7otXfFFizM/LuIIp+hNE/
=9mEK
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: