Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Oct 2023 14:08:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 274330] emulators/linux_base-c7
Message-ID:  <bug-274330-4077-7yi6uaxt8h@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274330-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274330-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-emulation (Nob=
ody)
<emulation@FreeBSD.org> for maintainer-feedback:
Bug 274330: emulators/linux_base-c7
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274330



--- 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=3D1777	0	0

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

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'.=20
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274330-4077-7yi6uaxt8h>