On 6/29/23 09:55, Panu Matilainen wrote:
> The rpm integration doesn't technically require systemd-sysusers, we can
> write a script that calls useradd/groupadd instead. So for us it becomes
> a choice between writing that script or adding audit support to
> systemd-sysusers. Writing a script based on sysusers.generate-pre.sh may
> well be less work and would benefit the non-systemd audiences of rpm at
> the same time. We'll see.


OK, I cobbled something together:

https://github.com/rpm-software-management/rpm/pull/2573

It still waits for the new test suite back end to pass the testsuite but
that shouldn't prevent anyone from already having a look.

Does anyone have a suggestion  for another way for checking for the
existence of users groups and UIDs? While useradd and group add support
the --root parameter things like id don't.

Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to