[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
$ sudo update-initramfs -k 3.13.0-32-generic -u voila !! thanks again for leading me in the right direction. I've decided to post this too here; maybe it will help some more users new to Ubuntu. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
Thank you! Hmm..."Latest kernel"...that's another interesting thing...always got nothing but black screens in 3.16, hence I had to go back to the 3.13 series (patch levels 30 +) and --- no more problems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
On 7 August 2014 03:03, A. Eibach <1351...@bugs.launchpad.net> wrote: > Strange. > > I still got the "line 307: readlink: not found" error on bootup although > I do have initramfs-tools 0.103ubuntu8. > It's not just initramfs-tools package, one also needs to regenerate initramfs with that tools package for all kernels you wish to boot. Reboot to latest kernel; $ sudo update-initramfs -u; reboot again should do the trick. -- Regards, Dimitri. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
Strange. I still got the "line 307: readlink: not found" error on bootup although I do have initramfs-tools 0.103ubuntu8. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
This bug was fixed in the package initramfs-tools - 0.103ubuntu8 --- initramfs-tools (0.103ubuntu8) utopic; urgency=medium * Add readlink symlink for busybox in the busybox hook, needed to support /sbin/init as a readlink (LP: #1351295). -- Dimitri John LedkovFri, 01 Aug 2014 16:46:35 +0100 ** Changed in: initramfs-tools (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
for execvp("readlink"...) to work, there must be /bin/readlink present. I still don't understand why we simply not generate symlinks for all busybox applets present in the initramfs. Anyway, readlink added. ** Changed in: initramfs-tools (Ubuntu) Status: In Progress => Fix Committed ** Changed in: initramfs-tools (Ubuntu) Assignee: Martin Pitt (pitti) => Dimitri John Ledkov (xnox) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
Actually, i take that back. To support running upstart user sessions under systemd-sysv, we'd need to split upstart package. In that case upstart will ship /sbin/init which would be a symlink as well. Similar to how systemd-sysv is packaged. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
At the moment we'd want to support for people to install systemd-sysv, and easily revert back to upstart. Ideally, systemd-sysv would not conflict with upstart, instead it would dpkg divert /sbin/init to /sbin/init.upstart and install /sbin/init which is systemd. That way people can still boot into upstart with init=/sbin/init.upstart and trivially revert back by removing systemd- sysv package. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
I would prefer that /sbin/init is shipped as a real file by systemd- sysv, instead of a symlink of any kind. (E.g. a copy of /lib/systemd/systemd). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1351295] Re: Boot fails if /sbin/init (or init= arg) is an absolute symlink
Moreover, this obviously works in Debian, but between Ubuntu's and Debian's initramfs initd there is no obvious difference for readlink. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1351295 Title: Boot fails if /sbin/init (or init= arg) is an absolute symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1351295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs