You are not logged in.

#26 2025-05-30 08:41:50

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,533
Website

Re: alpm downloaduser failed retrieving file 'lonewolf.db' from disk

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

#27 2025-05-30 09:44:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,722

Re: alpm downloaduser failed retrieving file 'lonewolf.db' from disk

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

#28 2025-05-30 12:26:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,533
Website

Re: alpm downloaduser failed retrieving file 'lonewolf.db' from disk

I guess this needs a bug report.  I think your setup is reasonable to support.  Thanks!

Offline

#29 2025-05-30 13:59:35

seth
Member
Registered: 2012-09-03
Posts: 64,114

Re: alpm downloaduser failed retrieving file 'lonewolf.db' from disk

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

#30 2025-05-30 23:23:00

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,533
Website

Re: alpm downloaduser failed retrieving file 'lonewolf.db' from disk

yes - the usual tightrope of supporting reasonable setups while not reducing security....

Offline

#31 2025-05-30 23:50:48

topcat01
Member
Registered: 2019-09-17
Posts: 186

Re: alpm downloaduser failed retrieving file 'lonewolf.db' from disk

seth wrote:

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

Board footer

Powered by FluxBB