From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 16 20:37:00 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDEA31065670 for ; Tue, 16 Aug 2011 20:37:00 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8DE8FC0C for ; Tue, 16 Aug 2011 20:37:00 +0000 (UTC) Received: by fxe4 with SMTP id 4so322855fxe.13 for ; Tue, 16 Aug 2011 13:36:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.62.76 with SMTP id w12mr135918fah.123.1313525414576; Tue, 16 Aug 2011 13:10:14 -0700 (PDT) Received: by 10.223.74.143 with HTTP; Tue, 16 Aug 2011 13:10:14 -0700 (PDT) X-Originating-IP: [216.223.13.122] Date: Tue, 16 Aug 2011 16:10:14 -0400 Message-ID: From: Mark Saad To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: glabel on 9-BETA1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 20:37:01 -0000 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