Hi Paul,
thanks for checking.

On Sat, Jul 05, 2025 at 04:51:22PM +0200, Paul Gevers wrote:
> I'm not well versed in this systemd stuff, but don't you now have two
> competing methods? I mean, if both adduser and systemd-sysusers are
> installed and configured, what will happen? And I guess adduser can be not
> yet configured if systemd-sysusers is already configured, will the logic in
> your preinst then do the right thing?

I tested the installation on a system with both adduser and
systemd-sysusers installed, and encountered no issues. The preinst
includes a conditional check that prevents adduser from running if the
user already exists. On the other hand, systemd-sysusers can safely be
executed even if the user is already present. When the user does not
exist, adduser runs first since it is executed in the preinst phase.
I hope this explanation addresses your question, but I'm available for
any further comments or clarifications.
Best regards,
-- 
Gennaro Oliva

Reply via email to