With /usr on another partition on ltsp-server ltsp pxer client can't boot.
Bug #1673401 reported by
yopla
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Low
|
Alkis Georgopoulos |
Bug Description
ltsp-build-client on xenial
Here is my /etc/fstab on the server
UUID=a4f0879e-
UUID=6f22021d-
# swap was on /dev/sda5 during installation
UUID=567b3f5a-
ltsp-update-image --cleanup / has the same file in generated i386.img
pxe client won't boot anymore. http://
workaround :
temprorary comment /usr entry is /etc/fstab before ltsp-update-image
To post a comment you must log in.
Fix committed in https:/ /git.launchpad. net/ltsp/ commit/ ?id=6db709c8df6 9132465b7704c20 b1fb3c7f182141.
The problem was that /usr/share/ initramfs- tools/init has the following code:
> if read_fstab_entry /usr; then
> log_begin_msg "Mounting /usr file system"
> mountfs /usr
> log_end_msg
> fi
I.e. it checks ${rootmnt} /etc/fstab, and if it contains a /usr partition, it tries to mount it before the init-ltsp. d/50-fstab script has a chance to create a clean fstab.
One solution would be to add /etc/fstab to ltsp-update- image.excludes, but since we support CONFIGURE_FSTAB in lts.conf, someone might actually want to include his $CHROOT/etc/fstab in the generated image.
So removing it from cleanup.d/50-fstab sounded like a better idea.