Package: adduser Version: 3.102 Severity: normal Hi, deluser''s --backup option assumes bzip2 is installed, but adduser does not depend on it. Ex of command that fails if bzip2 is not installed: deluser --remove-home --backup --backup-to . u111 Looking for files to backup/remove ... Backing up files to be removed to . ... backup_name = ./u111.tar/bin/tar: Removing leading `/'' from member names /usr/sbin/deluser: `1 ./u111.tar'' returned error code 16777215. Exiting. Thanks, Loris -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, ''stable'') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686 Locale: LANG=en_DK, LC_CTYPE=en_DK (charmap=ISO-8859-1) Versions of packages adduser depends on: ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy ii passwd 1:4.0.18.1-7 change and administer password and ii perl-base 5.8.8-7etch1 The Pathologically Eclectic Rubbis adduser recommends no packages. -- debconf information: * adduser/homedir-permission: true
Joerg Hoh
2007-Dec-29 15:09 UTC
[Adduser-devel] Bug#453419: adduser: should depend on bzip2
tags 453419 more-info-required thanks Hi On Thu, Nov 29, 2007 at 02:16:06PM +0100, Loris Boillet wrote:> Package: adduser > Version: 3.102 > Severity: normal > > Hi, > > deluser''s --backup option assumes bzip2 is installed, but adduser does > not depend on it.No, it doesn''t. If available in the path, deluser makes use of bzip2, otherwise it falls back to gzip.> Ex of command that fails if bzip2 is not installed: > deluser --remove-home --backup --backup-to . u111 > Looking for files to backup/remove ... > Backing up files to be removed to . ... > backup_name = ./u111.tar/bin/tar: Removing leading `/'' from member names > /usr/sbin/deluser: `1 ./u111.tar'' returned error code 16777215. Exiting.This looks really strange, as it seems that the which function returns wrong values. Can you paste the output of the small script attached? It will test the return values of the which function. It should be something like this: joerg at bastet temp $ perl test-adduser-which found gzip: /bin/gzip found bzip2: /bin/bzip2 test-adduser-which: Kein Programm mit dem Namen ?bzip3? in Verzeichnisliste $PATH gefunden. J?rg -- What did you do to the cat? It looks half-dead. -Schroedinger''s wife -------------- next part -------------- #!/usr/bin/perl use strict; use warnings; use Debian::AdduserCommon; BEGIN { eval ''use Locale::gettext''; if ($@) { *gettext = sub { shift }; *textdomain = sub { "" }; *LC_MESSAGES = sub { 5 }; } eval { require POSIX; import POSIX qw(setlocale); }; if ($@) { *setlocale = sub { return 1 }; } } setlocale(LC_MESSAGES, ""); textdomain("adduser"); my $gzip = &which("gzip"); print "found gzip: $gzip\n"; my $bzip2 = &which("bzip2"); print "found bzip2: $bzip2\n"; my $bzip3 = &which("bzip3"); print "found bzip3: $bzip3 (unlikely)\n"; -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20071229/83dab281/attachment.pgp
Debian Bug Tracking System
2008-Mar-02 17:33 UTC
[Adduser-devel] Bug#453419: marked as done (adduser: should depend on bzip2)
Your message dated Sun, 02 Mar 2008 17:17:03 +0000 with message-id <E1JVro7-00058g-6s at ries.debian.org> and subject line Bug#453419: fixed in adduser 3.106 has caused the Debian Bug report #453419, regarding adduser: should depend on bzip2 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 453419: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453419 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Loris Boillet <lb at 2m.dk> Subject: adduser: should depend on bzip2 Date: Thu, 29 Nov 2007 14:16:06 +0100 Size: 2125 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20080302/995fcfba/attachment-0002.eml -------------- next part -------------- An embedded message was scrubbed... From: Stephen Gran <sgran at debian.org> Subject: Bug#453419: fixed in adduser 3.106 Date: Sun, 02 Mar 2008 17:17:03 +0000 Size: 4377 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20080302/995fcfba/attachment-0003.eml