Bug 275117 - sysutils/mkdesktop: stop managing linux mounts, kid mods
Summary: sysutils/mkdesktop: stop managing linux mounts, kid mods
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-15 18:16 UTC by Joseph Anthony Pasquale Holsten
Modified: 2023-11-15 18:16 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bourne.identity)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Anthony Pasquale Holsten 2023-11-15 18:16:31 UTC
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