public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: worley@alum.mit.edu (Dale R. Worley)
To: Karel Zak <kzak@redhat.com>
Cc: luto@amacapital.net, util-linux@vger.kernel.org
Subject: Re: getting rid of "mount: only root can ..."
Date: Tue, 6 May 2014 09:50:31 -0400	[thread overview]
Message-ID: <201405061350.s46DoVxC008646@hobgoblin.ariadne.com> (raw)
In-Reply-To: <20140506094631.GG5962@x2.net.home> (kzak@redhat.com)

> From: Karel Zak <kzak@redhat.com>

> I'll try to improve it to make it more usable with user namespaces.
> The problem is that mount(8) is not just about mount(2) call only. If
> we drop privileges then mount(8) will report problems with things like
> FS detection, loopdevs setups, etc. It's necessary to review the code
> and make errors/warnings somehow usable. ... added to my TODO for the
> next week ;-)

Yeah, that's the only thing that will work well:  Have mount(8) and
the kernel both know what the rules are and enforce them
consistently.  And ideally, mount(8) should tell the user exactly what
the rule is that's being violated.

Dale

  reply	other threads:[~2014-05-06 13:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01 23:37 getting rid of "mount: only root can ..." Andy Lutomirski
2014-05-02 22:21 ` Dale R. Worley
2014-05-02 22:36   ` Andy Lutomirski
2014-05-05 22:50     ` Dale R. Worley
2014-05-05 22:58       ` Andy Lutomirski
2014-05-06  9:46         ` Karel Zak
2014-05-06 13:50           ` Dale R. Worley [this message]
2014-05-06 15:38             ` Andy Lutomirski
2014-05-08 21:01               ` Dale R. Worley

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=201405061350.s46DoVxC008646@hobgoblin.ariadne.com \
    --to=worley@alum.mit.edu \
    --cc=kzak@redhat.com \
    --cc=luto@amacapital.net \
    --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