Public bug reported: I'm PXE-booting a Ubuntu 16.04 system, where I specify the kernel parameters as follows:
root=/dev/nfs nfsroot=10.0.0.1:/srv/tftp/ubuntu-baltix,fsc ip=dhcp rw After I added fsc option to kernel command line I get the following error upon boot: nfsmount: bad option 'fsc' I need to use the mount option 'fsc' in order to use FS-cache functionality (the cachefilesd package.) Why doesn't nfsmount permit this option? (It works fine when you mount manually with mount -o fsc after booting up.) I changed nfsmount to mount.nfs in the file /usr/share/initramfs-tools/scripts/nfs and added mount.nfs from /sbin to the initramfs image (copied to the /usr/lib/klibc/bin folder) Then ran update-initramfs -u to update the initramfs image and now system boots without error. This problem exists in older Ubuntu releases too, see http://askubuntu.com/questions/23767/using-the-fsc-mount-option-with- nfsroot-kernel-parameter-to-allow-fs-cache ** Affects: klibc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to klibc in Ubuntu. https://bugs.launchpad.net/bugs/1661036 Title: nfsmount from klibc-utils doesn't support 'fsc' option Status in klibc package in Ubuntu: New Bug description: I'm PXE-booting a Ubuntu 16.04 system, where I specify the kernel parameters as follows: root=/dev/nfs nfsroot=10.0.0.1:/srv/tftp/ubuntu-baltix,fsc ip=dhcp rw After I added fsc option to kernel command line I get the following error upon boot: nfsmount: bad option 'fsc' I need to use the mount option 'fsc' in order to use FS-cache functionality (the cachefilesd package.) Why doesn't nfsmount permit this option? (It works fine when you mount manually with mount -o fsc after booting up.) I changed nfsmount to mount.nfs in the file /usr/share/initramfs-tools/scripts/nfs and added mount.nfs from /sbin to the initramfs image (copied to the /usr/lib/klibc/bin folder) Then ran update-initramfs -u to update the initramfs image and now system boots without error. This problem exists in older Ubuntu releases too, see http://askubuntu.com/questions/23767/using-the-fsc-mount-option-with- nfsroot-kernel-parameter-to-allow-fs-cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1661036/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

