From: Maxime Devos <maximedevos@telenet.be>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: lxc and subuid
Date: Sat, 02 Apr 2022 15:52:11 +0200 [thread overview]
Message-ID: <155379df66e2bd76a411090460c3501db2ed2ea6.camel@telenet.be> (raw)
In-Reply-To: <87pmm1p6h4.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
Ludovic Courtès schreef op vr 01-04-2022 om 10:12 [+0200]:
> Or we could unconditionally add 65536 subuids for each non-system user
> account; that’s what other distros seem to be doing.
>
> I think we could take advantage of it for ‘guix system container’: it
> could run in an unprivileged user namespace and map several UIDs in that
> namespace, such that it doesn’t need to run as root anymore.
I think it will need to be conditional, because the container only has
access to 65536 uids. So if the container contains at least one non-
system user, then all available uids are occupied so there is no room
anymore for 'root' or per-service users ...
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2022-04-02 13:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87v8vwj5la.fsf.ref@yahoo.com.br>
2022-03-30 6:51 ` lxc and subuid Antonio Carlos Padoan Junior
2022-03-30 11:30 ` Maxime Devos
2022-03-30 13:13 ` Antonio Carlos Padoan Junior
2022-03-30 13:23 ` Maxime Devos
2022-04-01 8:12 ` Ludovic Courtès
2022-04-02 13:52 ` Maxime Devos [this message]
2022-04-03 13:50 ` Antonio Carlos Padoan Junior
2022-04-05 11:53 ` Ludovic Courtès
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=155379df66e2bd76a411090460c3501db2ed2ea6.camel@telenet.be \
--to=maximedevos@telenet.be \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.