Control: tag -1 moreinfo
On Tue, 19 Jan 2016 11:44:39 +0100 Roderich Schupp <roderich.schupp@gmail.com> wrote:
> Package: initramfs-tools-core
> Version: 0.121
> Severity: critical
>
> boot with an initrd generated by initramfs-tools-core 1.21
> fails with "run-init: opening console: No such file or directory"
> (see attached screenshot)
>
> It seems to be caused by validate_init() in /usr/share/initramfs-tools/init
> which has been reduced to just "run-init -n ..." using the new option -n to
> klibc's run-init. The latter bombs out in
>
> if ((confd = open(console, O_RDWR)) < 0)
> return "opening console";
>
> Dunny why, as sticking "ls -l /dev/console" into /usr/share/initramfs-
> tools/init
> right before "run-init -n ..." shows that /dev/console exists...
[...]
That's showing you the /dev/console in the initramfs. However, run-
init will open it from the 'real' root filesystem.
At the recovery shell prompt, what does "ls -l /root/dev/console" show?
Ben.
--
Ben Hutchings
Horngren's Observation:
Among economists, the real world is often a special case.Attachment:
signature.asc
Description: This is a digitally signed message part