Package: adduser
Version: 3.152

Offhand, and without remembering perl's exact semantics on this front,
I'd guess this is a case of assuming paths are decodable in the current
locale. If so, it should be possible to reproduce the problem from a
UTF-8 locale like this:

  touch /any/where/not-utf-8-but-possible-$'\177'
  deluser --remove-all-files someuser

Here the equivalent eventually fails to remove /home/someuser,
reporting:

  invalid characters in input string, see trace output for more details
  at /usr/share/perl5/Debian/AdduserCommon.pm line 143.

Though it doesn't actually indicate there was trouble in the exit
status, i.e. the exit status was 0.

(I had a path like that in a different user's $HOME, leftover from
 running some bup tests for this kind of thing.)

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

Reply via email to