Re: upgrade failed debian 8.7
Henrique de Moraes Holschuh <hmh@debian.org> wrote:
> On Sat, 04 Feb 2017, Mike Nunn wrote:
>> /usr/share/initramfs-tools/scripts/local-block/ORDER ignored: not executable
> Is /tmp mounted "noexec"? Just Don't Do It[tm]. The system will break
> in hideously crazy, suprising ways. BTW, this is also valid for the
> filesystem hosting whatever directory $TMPDIR (and $TEMP, $TMP...)
> points to.
The above output seems to be normal, I get the same on my system.
Besides, the files mentioned ...
,----
| /usr/share/initramfs-tools/scripts/panic/ORDER ignored: not executable
| /usr/share/initramfs-tools/scripts/local-premount/ORDER ignored: not executable
| /usr/share/initramfs-tools/scripts/local-bottom/ORDER ignored: not executable
| /usr/share/initramfs-tools/scripts/local-block/ORDER ignored: not executable
| /usr/share/initramfs-tools/scripts/local-top/ORDER ignored: not executable
| /usr/share/initramfs-tools/scripts/init-bottom/ORDER ignored: not executable
| /usr/share/initramfs-tools/scripts/init-top/ORDER ignored: not executable
| /usr/share/initramfs-tools/scripts/init-premount/ORDER ignored: not executable
`----
... don't even exist on those directories:
,----
| # ls -l /usr/share/initramfs-tools/scripts/*
| -rw-r--r-- 1 root root 9394 Dec 15 22:34 /usr/share/initramfs-tools/scripts/functions
| -rw-r--r-- 1 root root 4457 Apr 17 2016 /usr/share/initramfs-tools/scripts/local
| -rw-r--r-- 1 root root 3050 Feb 20 2016 /usr/share/initramfs-tools/scripts/nfs
|
| /usr/share/initramfs-tools/scripts/init-bottom:
| total 8
| -rwxr-xr-x 1 root root 147 Dec 18 11:50 plymouth
| -rwxr-xr-x 1 root root 572 Feb 1 22:45 udev
|
| /usr/share/initramfs-tools/scripts/init-premount:
| total 4
| -rwxr-xr-x 1 root root 464 Dec 18 11:50 plymouth
|
| /usr/share/initramfs-tools/scripts/init-top:
| total 16
| -rwxr-xr-x 1 root root 351 Dec 9 2015 all_generic_ide
| -rwxr-xr-x 1 root root 295 Dec 9 2015 blacklist
| -rwxr-xr-x 1 root root 358 Dec 9 2015 keymap
| -rwxr-xr-x 1 root root 501 Feb 1 22:45 udev
|
| /usr/share/initramfs-tools/scripts/local-block:
| total 8
| -rwxr-xr-x 1 root root 689 Dec 16 12:56 lvm2
| -rwxr-xr-x 1 root root 1206 Jul 28 2016 mdadm
|
| /usr/share/initramfs-tools/scripts/local-bottom:
| total 4
| -rwxr-xr-x 1 root root 46 Jul 28 2016 mdadm
|
| /usr/share/initramfs-tools/scripts/local-premount:
| total 8
| -rwxr-xr-x 1 root root 270 Sep 22 15:48 btrfs
| -rwxr-xr-x 1 root root 1041 Dec 9 2015 resume
|
| /usr/share/initramfs-tools/scripts/local-top:
| total 4
| -rwxr-xr-x 1 root root 970 Dec 16 12:56 lvm2
|
| /usr/share/initramfs-tools/scripts/panic:
| total 4
| -rwxr-xr-x 1 root root 151 Dec 18 11:50 plymouth
`----
I think the error message is misleading in this case.
> Mounting /tmp "noexec" is not really supported, regardless of whether it
> used to work in the past or not.
Looking at "lsof -p `pidof cpio` it looks like the initramfs is build
inside /var/tmp and not /tmp.
Grüße,
S°
--
Sigmentation fault. Core dumped.
Reply to: