[Bug 274330] emulators/linux_base-c7

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Oct 2023 14:08:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274330

            Bug ID: 274330
           Summary: emulators/linux_base-c7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: emulation@FreeBSD.org
          Reporter: einszweidrei@tuta.io
          Assignee: emulation@FreeBSD.org
             Flags: maintainer-feedback?(emulation@FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.