Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-emulation (Nobody)
<emulat...@freebsd.org> for maintainer-feedback:
Bug 274330: emulators/linux_base-c7
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274330



--- Description ---
Hi. The pkg-message instructs to do the following:

    For install:
        Some programs need linprocfs mounted on /compat/linux/proc.  Add the
        following line to /etc/fstab:

        linprocfs   /compat/linux/proc  linprocfs       rw      0       0

        Then run "mount /compat/linux/proc".

        Some programs need linsysfs mounted on /compat/linux/sys.  Add the
        following line to /etc/fstab:

        linsysfs    /compat/linux/sys   linsysfs        rw      0       0

        Then run "mount /compat/linux/sys".

        Some programs need tmpfs mounted on /compat/linux/dev/shm.  Add the
        following line to /etc/fstab:

        tmpfs    /compat/linux/dev/shm  tmpfs   rw,mode=1777    0       0

        Then run "mount /compat/linux/dev/shm". 

This is outdated, the /etc/rc.d/linux script handles this automatically.
Having this lines in /etc/fstab caused my system (FreeBSD 13.2-RELEASE with
zfs) to abort startup with 'Mounting /etc/fstab filesystems failed' resp.
'mount: /compat/linux/dev/shm: No such file or directory'. 
This could be a configuration issue on my end but undoing this changes to
/etc/fstab fixed my system and the filesystems are mounted properly by
/etc/rc.d/linux so i think this pkg-message should be updated.

Reply via email to