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

Dmitry Bogatov KAction at gnu.org
Sun Oct 23 04:33:39 UTC 2016


[2016-10-21 23:04] Niko Tyni <ntyni at debian.org>
>
> part       text/plain                 940
> 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...)

So, seems I should use this chain of fallbacks:

 - userdel --remove-home
 - userdel
 - deluser
 - leave it alone

> > 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.)

Would be nice to understand, what exactly I have right to use in post-rm.

-- 
X-Web-Site: https://sinsekvu.github.io | Note that I process my email in batch,
Accept-Languages: eo,ru,en             | at most once every 24 hours. If matter
Accept: text/plain, text/x-diff        | is urgent, you have my phone number.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20161023/1f5d8ec5/attachment.sig>


More information about the Perl-maintainers mailing list