Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2011 16:10:14 -0400
From:      Mark Saad <nonesuch@longcount.org>
To:        freebsd-hackers@freebsd.org
Subject:   glabel on 9-BETA1
Message-ID:  <CAMXt9NboLSTSRqZW2ZUD=BWdq7agbZFA6UeLrB_oOSSGbw%2BuwQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
All
 I was testing out an old bug and I am not sure if there is any known
work-around on 9-BETA/HEAD

Here is the  issue.  Install a new server , have it boot into
multi-user mode. Then attempt to use glabel to label the root slice

root@blindness:~# glabel label rootfs ada0p4
glabel: Can't store metadata on ada0p4: Operation not permitted.

In 7.2 and prior there was a sysctl that could be tweaked to allow for
this to work , kern.geom.debugflag set to 16 would allow this to work.

So my question is this. Should there be any reason why "glabel label
name device" on the root slice cause an issue
when the slice is mounted rw ?

Is this a bug ?

-- 
mark saad | nonesuch@longcount.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9NboLSTSRqZW2ZUD=BWdq7agbZFA6UeLrB_oOSSGbw%2BuwQ>