Date: Fri, 10 Feb 2017 22:51:06 +0000 From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 216983] emulators/linux_base-c6: info message advises to make the system not boot properly Message-ID: <bug-216983-4077@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216983 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@FreeBSD.org Reporter: godevilove@ya.ru Assignee: emulation@FreeBSD.org Flags: maintainer-feedback?(emulation@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=3D1777 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 si= ngle user mode, because '/etc/fstab' fails to mount those mounts. 3. it so turns out that one needs to add linux_load=3D"YES" linprocfs_load=3D"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 mou= nt 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216983-4077>