On Tue, Jan 04, 2011 at 08:30:27AM +0100, Martin Gerdes wrote:
> 
> 
> 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

aboves does not give much info, but doesn't look pretty indeed.
is that the full log?

> ->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 m...@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 

hmm please follow on with reportbug on an affected box,
as this report misses vital info that reportbug does gather directly:
reportbug -N <bugnr>

also needed is the output of the following commands:
mount
sh -x /usr/sbin/mkinitramfs -o /tmp/foo

thank you

-- 
maks



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to