From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 64862-done@debbugs.gnu.org
Cc: Tobias Geerinckx-Rice <me@tobias.gr>
Subject: bug#64862: [feature request] [shepherd] Specifying POSIX capabilities on services
Date: Tue, 12 Nov 2024 15:08:29 +0900 [thread overview]
Message-ID: <87y11p6l2a.fsf@gmail.com> (raw)
In-Reply-To: <878rb31z51.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 25 Jul 2023 17:04:26 -0400")
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hello,
>
> It'd be useful to be able to specify POSIX capabilities a Shepherd
> service should have, for example for an unprivileged process to be able
> to bind to ports lower than 1024.
>
> This came up while reviewing #63082, which patch 10/16 (now dropped
> because of loss of functionality) suggested to let the user/group change
> be effected by Shepherd instead of by MPD itself (see:
> https://issues.guix.gnu.org/63082#98).
>
> I know that NixOS has some mechanism to do that; I think it was a simple
> shell script wrapper setting the capabilities, but that's all I
> remember.
I believe that's now possible since commit 71f0676a29 ("privilege: Add
POSIX capabilities(7) support."). Thank you, Tobias!
Closing.
--
Thanks,
Maxim
prev parent reply other threads:[~2024-11-12 6:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 21:04 bug#64862: [feature request] [shepherd] Specifying POSIX capabilities on services Maxim Cournoyer
2024-11-12 6:08 ` Maxim Cournoyer [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y11p6l2a.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=64862-done@debbugs.gnu.org \
--cc=me@tobias.gr \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).