Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1261024 > unrolled thread

Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.”

Started by"Md Ayquassar" <mdayq0@lenta.ru>
First post2025-09-11 22:20 +0200
Last post2025-09-12 18:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.” "Md Ayquassar" <mdayq0@lenta.ru> - 2025-09-11 22:20 +0200
    Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.” Marc Haber <mh+debian-packages@zugschlus.de> - 2025-09-12 18:00 +0200

#1261024 — Bug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.”

From"Md Ayquassar" <mdayq0@lenta.ru>
Date2025-09-11 22:20 +0200
SubjectBug#1114937: deluser --remove-all-files aborts with “invalid characters in input string, see trace output for more details at /usr/share/perl5/Debian/AdduserCommon.pm line 143.”
Message-ID<LtVVU-eB0c-9@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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!

[toc] | [next] | [standalone]


#1261126

FromMarc Haber <mh+debian-packages@zugschlus.de>
Date2025-09-12 18:00 +0200
Message-ID<LuelP-eNp5-25@gated-at.bofh.it>
In reply to#1261024
Control: severity -1 normal
Control: merge -1 1112486

This is a duplicate.

Greetings
Marc

On Thu, Sep 11, 2025 at 08:16:39PM +0000, Md Ayquassar wrote:
>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!

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web