Debian Bug report logs - #555307
adduser: deluser needs to set $PATH

version graph

Package: adduser; Maintainer for adduser is Debian Adduser Developers <adduser@packages.debian.org>; Source for adduser is src:adduser (PTS, buildd, popcon).

Reported by: Martin Pitt <martin.pitt@ubuntu.com>

Date: Mon, 9 Nov 2009 09:48:02 UTC

Severity: important

Tags: patch

Found in version adduser/3.111

Fixed in version adduser/3.112

Done: Stephen Gran <sgran@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#555307; Package adduser. (Mon, 09 Nov 2009 09:48:05 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <martin.pitt@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Mon, 09 Nov 2009 09:48:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <martin.pitt@ubuntu.com>
To: Debian BTS Submit <submit@bugs.debian.org>
Subject: adduser: deluser needs to set $PATH
Date: Mon, 9 Nov 2009 10:34:21 +0100
[Message part 1 (text/plain, inline)]
Package: adduser
Version: 3.111
Severity: important
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch karmic

Hello,

In https://launchpad.net/bugs/458883 it was reported that deluser does
not set $PATH explicitly. This causes it to fail when being called
from a program which does not have (a correct, or empty) $PATH, such
as D-Bus activated backends (system-tools-backends). Since deluser
calls which and deluser, it needs a proper $PATH.

adduser already sets $PATH explicitly for this reason. The same should
be done in deluser.

Patch: http://launchpadlibrarian.net/35261113/set-deluser-path.patch

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
[signature.asc (application/pgp-signature, inline)]

Reply sent to Stephen Gran <sgran@debian.org>:
You have taken responsibility. (Wed, 23 Dec 2009 16:33:11 GMT) (full text, mbox, link).


Notification sent to Martin Pitt <martin.pitt@ubuntu.com>:
Bug acknowledged by developer. (Wed, 23 Dec 2009 16:33:11 GMT) (full text, mbox, link).


Message #10 received at 555307-close@bugs.debian.org (full text, mbox, reply):

From: Stephen Gran <sgran@debian.org>
To: 555307-close@bugs.debian.org
Subject: Bug#555307: fixed in adduser 3.112
Date: Wed, 23 Dec 2009 16:32:07 +0000
Source: adduser
Source-Version: 3.112

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive:

adduser_3.112.dsc
  to main/a/adduser/adduser_3.112.dsc
adduser_3.112.tar.gz
  to main/a/adduser/adduser_3.112.tar.gz
adduser_3.112_all.deb
  to main/a/adduser/adduser_3.112_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 555307@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Gran <sgran@debian.org> (supplier of updated adduser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 19 Dec 2009 11:03:31 +0000
Source: adduser
Binary: adduser
Architecture: source all
Version: 3.112
Distribution: unstable
Urgency: low
Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>
Changed-By: Stephen Gran <sgran@debian.org>
Description: 
 adduser    - add and remove users and groups
Closes: 551929 555307 559661
Changes: 
 adduser (3.112) unstable; urgency=low
 .
   * deluser: --backup-to implies --backup, but only if passed on the command
     line (addresses: #535857) (closes: #551929)
   * deluser: explicitly set $PATH, patch from Martin Pitt
     <martin.pitt@ubuntu.com> (closes: #555307)
   * Translations:
     - ru: thanks Yuri Kozlov <yuray@komyakino.ru> (closes: #559661)
Checksums-Sha1: 
 0f3478793d2c6f9b86746d9531387f523fb85ba5 1029 adduser_3.112.dsc
 d03a9f8790dabf6bd1f1a999c4888146adb0c6c7 279257 adduser_3.112.tar.gz
 15d1c196d1a0902fe070ca8c35121dd812655a6a 156542 adduser_3.112_all.deb
Checksums-Sha256: 
 fcbeeea3de5f66e2f34abc18960bf9c626f8b6187392dee41ae81453dfe31ff1 1029 adduser_3.112.dsc
 d3f06a7effbc8a727927fcd1e41446ef9e64546b3025a33bd602ebe7dc9cd9f5 279257 adduser_3.112.tar.gz
 e1d21360d9fa5a70d25375d592d6adb5dbd94e89d1c6f8e6675f8dbd4b208e3a 156542 adduser_3.112_all.deb
Files: 
 12afbfc7358e2504dbc95147f0a46726 1029 admin important adduser_3.112.dsc
 724b882b8774cb2bf2aadb9316d1a7e0 279257 admin important adduser_3.112.tar.gz
 ceeed03d3bbb55e841725ffcb9beb18e 156542 admin important adduser_3.112_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksyQUUACgkQSYIMHOpZA47KngCbBE3XuYl7kGnk22M5KCEtdNtE
ANQAmwSXwF1ahuzRStG9F+JmgUVYQhj3
=MtnM
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jan 2010 07:26:53 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 21:25:14 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.