You are not logged in.
It is probably from this line of code when setting up the child process for the download...
$ git grep setgroups
lib/libalpm/sandbox.c: ASSERT(setgroups(0, NULL) == 0, return -1);
Looks like "intended" but I really have no idea what the intention was!
Offline
It was added in commit ce83cf63 Provide function for switching user in child processes , part of MR 23
Last edited by Lone_Wolf (2025-05-30 09:46:54)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I guess this needs a bug report. I think your setup is reasonable to support. Thanks!
Offline
It would seem like a hardening effort if some genius add alpm to the wheel, adm or root group?
One might want a DownloadGroup next to the DownloadUser to address this.
Online
yes - the usual tightrope of supporting reasonable setups while not reducing security....
Offline
It would seem like a hardening effort if some genius add alpm to the wheel, adm or root group?
One might want a DownloadGroup next to the DownloadUser to address this.
I like this idea.
Offline