[Bug 275117] sysutils/mkdesktop: stop managing linux mounts, kid mods

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Nov 2023 18:16:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275117

            Bug ID: 275117
           Summary: sysutils/mkdesktop:  stop managing linux mounts, kid
                    mods
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: joseph@josephholsten.com
                CC: bourne.identity@hotmail.com
             Flags: maintainer-feedback?(bourne.identity@hotmail.com)
                CC: bourne.identity@hotmail.com

Currently, if mkdesktop detects that Linux emulation is to be enabled, it will
also add the following mounts to fstab:

tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777,size=1g 0 0
linprocfs /compat/linux/proc linprocfs rw 0 0
linsysfs /compat/linux/sys linsysfs rw 0 0

https://github.com/bourne-again/mkdesktop/blob/master/mkdesktop#L228C1-L230C46

It also runs kldload for linux & linux64.

https://github.com/bourne-again/mkdesktop/blob/master/mkdesktop#L195

These are now managed by the linux service. It should be sufficient to

sysrc linux_enable=YES
service linux start

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