Bug#839238: initscripts: leaves /var/lib/urandom/random-seed behind on purge

Dmitry Bogatov KAction at debian.org
Sat Dec 29 18:34:58 GMT 2018


control: tags -1 +confirmed
control: merge -1 850314

[2016-09-30 16:53] Sven Joachim <svenjoac at gmx.de>
>
> part       text/plain                 803
> Package: initscripts
> Version: 2.88dsf-59.8
> Severity: normal
> 
> I have just purged the initscripts package from my system and noticed a
> warning from dpkg that it could not remove the directory
> /var/lib/urandom because it was not empty.
> 
> The urandom initscript writes to the file /var/lib/urandom/random-seed,
> and the postrm should care to remove that file and the directory on
> purge.  Note that systemd uses the location /var/lib/systemd/random-seed
> instead.

Sounds very reasonable. But I believe we would have to do it in `prerm',
otherwise dpkg will not remove /var/lib/urandom directory.

Dear co-maintainers, objections?




More information about the Debian-init-diversity mailing list