On Sat, 2026-11-28 at 22:50 +0100, Marc Haber wrote:
> thanks for spotting this. Why does the piuparts test that is part of 
> salsa-ci not catch this?

The issue gets triggered only if AdduserStatefile.pm had been invoked,
which does not happen during installing the package. So, just
installing and de-installing adduser works flawlessly.

The piuparts test of x2goserver-desktopsharing uncovers the issue as
x2goserver-desktopsharing creates a system user during getting
installed, which causes the STATE_DIR getting set up and populated.
Then, with purging adduser, the de-installation fails.

NOTE: init_state_file() never gets called. It seems _acquire_lock() is
the only place where the directory (and the lock file) gets created,
and write_state() where the state file is written.

Hope this helps.

Sven
-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to