On Tue, Jul 08, 2025 at 10:19:59AM +0200, Gábor Németh wrote: > In short, yes, it works* in any combination of the two prerequisites. > > What is expected is that both `adduser` and `systemd-sysusers` only kick in > if the UID/GID doesn't yet exists, so there is no double creation of the > same IDs. I've tested with all combinations of adduser is preinstalled, > systemd-sysuser is preinstalled, both, neither; all finish installation > fine.
Pardon me for jumping in. I am the adduser maintainer. slurm-wlm is actually one of a low one digit number of packages that have adduser in their pre inst. May I ask for the reason you have to create your users in pre-inst and therefore need a pre-depends on adduser? Would it be possible that you don't need that and just create your users in postinst and just need a regular dependency on adduser? Using one method or the other seems to be unusual and sounds like asking for trouble intentionally. I would like to know what led you to this solution Greetings from Brest Marc