Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: "Ted Ts'o" <tytso@mit.edu>
Cc: Daniel Drake <dsd@laptop.org>, util-linux@vger.kernel.org
Subject: Re: Can't remount loopback ext4 without /etc/mtab
Date: Mon, 25 Jul 2011 11:06:24 +0200	[thread overview]
Message-ID: <20110725090624.GU22568@nb.net.home> (raw)
In-Reply-To: <20110724195713.GH3469@thunk.org>

On Sun, Jul 24, 2011 at 03:57:13PM -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?

 mount(8) "bug"

 The kernel does not accept any SELinux specific mount options for
 MS_REMOUNT. We already have exception for this in mount(8) ... and I
 hate it, but our SELunux kernel guys are happy with this strange
 behavior:

 https://bugzilla.redhat.com/show_bug.cgi?id=563267#c9
 
> Personally, I find my life has been much happier since I gave up on
> SELinux as being too complicated to be secure.

 +1 

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  parent reply	other threads:[~2011-07-25  9:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 18:09 Can't remount loopback ext4 without /etc/mtab Daniel Drake
2011-07-24 19:57 ` Ted Ts'o
2011-07-24 22:46   ` Davidlohr Bueso
2011-07-25  9:06   ` Karel Zak [this message]
2011-07-25  9:20     ` Daniel Drake
2011-07-25  9:46       ` Karel Zak
2011-07-26 19:29         ` Daniel Drake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110725090624.GU22568@nb.net.home \
    --to=kzak@redhat.com \
    --cc=dsd@laptop.org \
    --cc=tytso@mit.edu \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox