Date: Wed, 21 Nov 2007 02:34:07 GMT From: Yuri <yuri@tsoft.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/118160: unable to mount / rw while booting 7.0-BETA3 Message-ID: <200711210234.lAL2Y7cU041129@www.freebsd.org> Resent-Message-ID: <200711210240.lAL2e266058948@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118160 >Category: misc >Synopsis: unable to mount / rw while booting 7.0-BETA3 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 02:40:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 7.0-BETA3 >Organization: n/a >Environment: >Description: After recompiling and reinstalling the current BETA3 my system has a reboot problem. While booting log says: Starting file system checks: <here goes the list of file systems that it reports, this is ok> mount: : Operation not permitted. Mounting root file system rw failed, startup aborted. /etc/rc: WARNING: $true is not set properly - see rc.conf(5) and system gets to single user mode. In single user mode / is read-only. And command 'mount -uw /' fails Operation not permitted. I count't find the workaround so far. 'sysctl -a' shows securelevel=-1 (lowest). The major bug seems to be in the 'mount' system call. 'man mount' says that EPERM is returned if "The caller is neither the super-user nor the owner of dir." I am root. The secondary problem is this printout: WARNING: $true is not set properly - see rc.conf(5) It shouldn't print $true Another secondary problem is with man mount(2). Isn't is supposed to mention that setting securelevel also makes 'mount' return EPERM? So now I can reboot normally only choosing "single user mode" when I boot and running "mount -uw /" as a single user. And then continuing the boot process. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711210234.lAL2Y7cU041129>