[Bug 216983] emulators/linux_base-c6: info message advises to make the system not boot properly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 10 22:51:06 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216983
Bug ID: 216983
Summary: emulators/linux_base-c6: info message advises to make
the system not boot properly
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: emulation at FreeBSD.org
Reporter: godevilove at ya.ru
Assignee: emulation at FreeBSD.org
Flags: maintainer-feedback?(emulation at FreeBSD.org)
1. install message for linux_base-c6 tells me to add 2 mounts to /etc/fstab
because some programs might need it:
pkg info -D linux_base-c6
linux_base-c6-6.8_11:
Always:
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 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".
2. if I add them just like that and reboot - the system will boot into a single
user mode, because '/etc/fstab' fails to mount those mounts.
3. it so turns out that one needs to add
linux_load="YES"
linprocfs_load="YES"
to the '/boot/loader.conf' file.
4. even with those lines added to the '/boot/loader.conf', the tmpfs mount in
'/etc/fstab' will still lead to booting into a single user mode.
As far as I know (not 100% sure), but adding 'late' option to the tmpfs mount
entry in '/etc/fstab' resolves the issue, but this is not mentioned anywhere
and the port's info message directly advises to add quite specific line to
'/etc/fstab', which leads to system not booting properly.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list