[2016-10-21 23:04] Niko Tyni <[email protected]> > > 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.
pgp1vSxG3ebqC.pgp
Description: PGP signature

