GEOM too restrictive even with debugflags=16

Emanuel Strobl Emanuel.strobl at gmx.net
Tue Aug 23 21:43:12 GMT 2005


Am Dienstag, 23. August 2005 23:39 CEST schrieb Julien Gabel:
> > again I ran into the problem that I need to edit my GPT while the
> > system is in multiuser running. But the following doesn't work:
> > cale:/#70: sysctl -w kern.geom.debugflags=16
> > kern.geom.debugflags: 0 -> 16
> > cale:/#71: gpt remove -i 8 ad0s2
> > gpt remove: unable to open device 'ad0s2': Operation not permitted
> >
> > Arrghhh. Now I have to stop all work and go into singleuser mode.
> > Thats not acceptable! And please don't tell me that I use the wrong
> > device, it's a i386 machine so I need a MBR in ad0 and have to use GPT
> > inside a slice!
> >
> > What sense does it make to forbid such modifications? Especially if I
> > enable foot-shooting?!
> >
> > I'd love to test a patch, I can't tell how angry I am that I have to
> > shut down the box!
>
> Just a though - as it happened to me in the past: what about the
> security level (greater than 0)?

Good idea, but I know it's a GEOM restriction that has been discussed 
several times before. But only partially fixed.
This is my tinker machine, so secure level is -1 :)

Thanks,

-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050823/33110d59/attachment.bin


More information about the freebsd-current mailing list