Ticket #1173 (new defect)

Opened 3 months ago

Bootscripts mountfs script needs updating when using current util-linux mount

Reported by: kb0iic Owned by: clfs-commits@…
Priority: major Milestone: CLFS Sysvinit 3.1.0
Component: BOOK Version: CLFS Standard SYSVINIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…, cross-lfs@…

Description

With latest util-linux when fake mounting proc sys dev run then the bootscript will output a message about the filesystem not being found in /etc/fstab.

Tested with an old build using util-linux 2.24.2 a fake mount didn't complain about it not being in /etc/fstab.

Using latest util linux it will output that the entry isn't in /etc/fstab.

For our mountfs script have this:

mount -f /proc proc || failed=1
mount -f /sys proc || failed=1
mount -f /run proc || failed=1
mount -f /dev proc || failed=1

It does matter when using a fake mount that device and dir are specified.

Note: See TracTickets for help on using tickets.