Bug#840469: dh_sysuser: should add a dependency to "perl-modules" to remove sysuser.

Niko Tyni ntyni at debian.org
Fri Oct 21 20:04:20 UTC 2016


On Fri, Oct 21, 2016 at 10:37:29AM +0300, Dmitry Bogatov wrote:

> It is unfortunate. I am considering following patch:

> 	+               rm -fr --preserve-root --one-file-system -- "$home"

> but I am scared to invoke `rm -fr' with root. I beleive, that deluser would
> handle it better then me.

Seems somewhat scary to me too. I think just not leaving the directory
around would be fine. It's a corner case anyway.

(and if the next bug is 'unowned files after purge', I'd argue that it's
deluser's problem and not yours...)
 
> Ah, and by the way, why `adduser' package, from which `deluser' binary comes
> is still present during post-rm? `adduser' is not Essential, only Important.

No idea. Possibly the piuparts torture test could be even more cruel
(even if I personally think it's already overdoing it.)

> I know that abusing Pre-Depends is frowned upon, but would
> Pre-Depends: perl help?

I don't think so, sorry.
-- 
Niko



More information about the Perl-maintainers mailing list