touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #68636
[Bug 1439955] Re: systemd breaks nfs root on vivid
This reminds me of bug 1351295. For the main "init" initramfs script and
local partitions there is code to get along with absolute symlinks. I
don't see any readlink in the nfs script, but I figure this is a related
problem. I see the Debian package has a fix for this:
http://anonscm.debian.org/cgit/kernel/initramfs-
tools.git/commit/scripts/nfs?id=7bc24f829f
Would you mind testing this? I. e. please put the attached "nfs" script
into /usr/share/initramfs-tools/scripts/, revert /sbin/init to be an
absolute link to /lib/systemd/systemd again, run "sudo update-initramfs
-u", and check if booting now works?
Thanks!
** Attachment added: "fixed nfs script"
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1439955/+attachment/4369354/+files/nfs
** Package changed: systemd (Ubuntu) => initramfs-tools (Ubuntu)
** Summary changed:
- systemd breaks nfs root on vivid
+ nfs root script breaks with absolute /sbin/init symlinks
** Bug watch added: Debian Bug tracker #750360
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750360
** Also affects: initramfs-tools (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750360
Importance: Unknown
Status: Unknown
** Changed in: initramfs-tools (Ubuntu)
Status: New => In Progress
** Changed in: initramfs-tools (Ubuntu)
Assignee: (unassigned) => Martin Pitt (pitti)
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => High
** Tags added: systemd-boot
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1439955
Title:
nfs root script breaks with absolute /sbin/init symlinks
Status in initramfs-tools package in Ubuntu:
In Progress
Status in initramfs-tools package in Debian:
Unknown
Bug description:
The initramfs boot script try to mount the root filesystem into /root
and look for a /sbin/init file inside that folder. systemd installs
/sbin/init as a link to /lib/systemd/systemd, which the initramfs
scripts can't find (because the link is an absolute path and the root
is mounted under /root).
Making that link a relative path fixes the problem (i.e. making it
../lib/systemd/systemd).
Please, see /usr/share/initramfs-tools/scripts/nfs for the affected
script.
I believe this should be fixed before the release of 15.04, as it breaks all nfs root installs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1439955/+subscriptions
References