[Adduser-devel] Bug#555307: adduser: deluser needs to set $PATH
Martin Pitt
martin.pitt at ubuntu.com
Mon Nov 9 09:34:21 UTC 2009
Package: adduser
Version: 3.111
Severity: important
Tags: patch
User: ubuntu-devel at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20091109/83cb245a/attachment.pgp>
More information about the Adduser-devel
mailing list