[systemd-bugs] [Bug 90913] Failed to mount /sysroot - Nightly live images - LiveCD/DVD
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jun 14 05:31:28 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90913
Tomasz Paweł Gajc <tpgxyz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |highest
--- Comment #14 from Tomasz Paweł Gajc <tpgxyz at gmail.com> ---
Hi,
i've investigated this a bit.
In my case i'm booting live iso by special dracut module which does:
1. mount iso
2. mount squashfs
3. mount aufs combined with tmpfs and squashfs to /union dir (plus fstab entry)
4. mout rbind /union to /sysroot
5. dracut does the pivot
In case of systemd-219 this was working, but with 220 not.
Problem lies with systemd-fstab-generator as in case of 219 there is no
/run/systemf/generator/sysroot.mount even if i run
/lib/systemd/system-generator/systemd-fstab-generator. In this case
system-fstab-generator creates file:
cat /run/systemd/generator/run-initramfs-union.mount
[Unit]
SourcePath=/etc/fstab
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
Before=local-fs.target
[Mount]
What=aufs
Where=/run/initramfs/union
Type=aufs
While in 220 there is no /run/systemd/generator/run-initramfs-union.mount but
this:
cat /run/systemd/generator/sysroot.mount
[Unit]
SourcePath=/proc/cmdline
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
Before=initrd-root-fs.target
[Mount]
What=live:UUID=2015-06-13-09-16-55-00
Where=/sysroot
Options=ro
So sysroot.mount tries to mount ISO with false output:
mount: unknown filesystem type 'nfs'
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150614/7619f849/attachment.html>
More information about the systemd-bugs
mailing list