Bug#1001958: deluser --remove-home exists

2023-03-11 Thread Alex Mestiashvili

Thank you for the hint. I'll incorporate the changes in the next release.

Best regards,
Alex



Bug#1001958: deluser --remove-home exists

2021-12-19 Thread Marc Haber
Package: gearman-job-server
Severity: minor

Hi,

when browsing through codesearch.debian.net, I stumbled upon the
following wording in gearman-job-server.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