Package: adduser
Version: 3.152
Severity: important
Issue `adduser guest` followed by `deluser --remove-all-files guest` for a new 
user name (here: `guest`). Observe that the second command works for some time 
and bails out with “invalid characters in input string, see trace output for 
more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.” The home 
directory of the deleted user remains; you'd have to continue with `deluser 
--remove-home guest` to clean it up. So the option --remove-all-files is not 
really usable (at least for me).
The exit code of the failed `deluser --remove-all-files guest` is 2.
Bad English put aside (corrected: “Invalid characters in input string; see 
trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 
143.”), I kindly ask that at least some more debugging information be shown on 
stderr, e.g., which character in which string troubled the removal procedure 
and why. Ideally, such situations should not occur; the fact that some internal 
procedure cannot deal with some strings the user isn't even aware of (file 
names?) is a real bug.
Probably related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112486 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112486.
Gratefully!

Reply via email to