From: Dariqq <dariqq@posteo.net>
To: 73680@debbugs.gnu.org
Subject: bug#73680: Acknowledgement (privileged-programs: cant set setuid/setgid to new accounts/groups)
Date: Mon, 7 Oct 2024 20:31:09 +0000 [thread overview]
Message-ID: <5c7a4291-cc53-447d-bbc8-33f69788eae8@posteo.net> (raw)
In-Reply-To: <handler.73680.B.17283129493491.ack@debbugs.gnu.org>
I have also seen the message when reconfiguring a running system
failed to privilege <binary>: Success
This error seems to come from guiles getgrnam: (used by
activate-privileged-programs to get the gid of a group)
scheme@(guile-user)> (getgrnam "does-not-exist")
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure getgr: Success
Looking at man 3 getgrnam both a 0 or ENOENT return indicate that the
gid was not found. Is /etc/groups being recreated on every boot and
therefore not yet existing upon boot -> ENOENT? When /etc/groups already
exists it returns 0 when not found (which guile interprets as success) ?
I dont know why the getgrnam error is being caught by the (catch
'system-error ... ) and the equally invalid getpwnam is not which lead
me to an unbootable configuration (reconfigure completing because the
user already existed but not yet when ran at boot).
I was looking at the extension-graph and the connection between
privileged-programs and accounts is not being modeled. Not sure how this
should work, because privileged-programs has less information about an
account than account-service.
Still no idea why opensmtpdsetgid is working on my system but when i run
my config through guix system container it does not.
next prev parent reply other threads:[~2024-10-07 20:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-07 14:55 bug#73680: privileged-programs: cant set setuid/setgid to new accounts/groups Dariqq
[not found] ` <handler.73680.B.17283129493491.ack@debbugs.gnu.org>
2024-10-07 20:31 ` Dariqq [this message]
2024-10-08 10:45 ` Dariqq
2024-10-09 16:35 ` Dariqq
2024-10-09 18:08 ` Dariqq
2024-10-12 8:20 ` Dariqq
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=5c7a4291-cc53-447d-bbc8-33f69788eae8@posteo.net \
--to=dariqq@posteo.net \
--cc=73680@debbugs.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 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).