Re: Can't remount loopback ext4 without /etc/mtab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2011-07-24 at 15:57 -0400, Ted Ts'o wrote:
> On Sun, Jul 24, 2011 at 07:09:47PM +0100, Daniel Drake wrote:
> > 
> > When the error occurs, dmesg says:
> > [ 5495.860391] EXT4-fs (loop0): Unrecognized mount option "seclabel"
> > or missing value
> > 
> > Here is the corresponding entry from /proc/mounts:
> > /dev/loop0 /home/dsd/tmpdisk/mountpt ext4
> > rw,seclabel,relatime,barrier=1,data=ordered 0 0
> > 
> > Is this a util-linux bug? Or an ext4 issue?
> 
> Or a selinux thing; "seclabel" seems to be SELinux's fault:
> 

It would seem so, I can't reproduce this issue on a "normal", non
SELinux box.

> % git grep LABELSUPP_STR
> security/selinux/hooks.c:       {Opt_labelsupport, LABELSUPP_STR},
> security/selinux/hooks.c:                       seq_puts(m, LABELSUPP_STR);
> security/selinux/hooks.c:               match_prefix(LABELSUPP_STR, sizeof(LABEL
> security/selinux/include/security.h:#define LABELSUPP_STR "seclabel"
> 
> Personally, I find my life has been much happier since I gave up on
> SELinux as being too complicated to be secure.

+1!!

- Davidlohr

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux