From owner-freebsd-emulation@freebsd.org Fri Feb 10 22:51:06 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74127CD904E for ; Fri, 10 Feb 2017 22:51:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD0E1A47 for ; Fri, 10 Feb 2017 22:51:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4A3D5CD9045; Fri, 10 Feb 2017 22:51:06 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 497D4CD9044 for ; Fri, 10 Feb 2017 22:51:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19C061A3D for ; Fri, 10 Feb 2017 22:51:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1AMp5Oo015693 for ; Fri, 10 Feb 2017 22:51:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: maintainer-feedback requested: [Bug 216983] emulators/linux_base-c6: info message advises to make the system not boot properly Date: Fri, 10 Feb 2017 22:51:06 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 22:51:06 -0000 John Smith has reassigned Bugzilla Automation 's request for maintainer-feedback to emulation@FreeBSD.org: Bug 216983: emulators/linux_base-c6: info message advises to make the system not boot properly https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216983 --- Description --- 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.