Bug#1001959: deluser --remove-home exists

Marc Haber mh+debian-packages at zugschlus.de
Sun Dec 19 14:45:46 GMT 2021


Package: zookeeper
Severity: minor

Hi,

when browsing through codesearch.debian.net, I stumbled upon the
following wording in zookeeper.postrm:

  # --remove-all-files takes ages, so delete manually
  deluser --system $USER || true
  delgroup --system --only-if-empty $GROUP || true

deluser --remove-all-files searches through all mounted file systems.
Did you want to use deluser --remove-home instead, which just removes
the home directory of the user as given in /etc/passwd before the
deletion?

Greetings
Marc



More information about the pkg-java-maintainers mailing list