[Pkg-shadow-devel] Bug#69090: marked as done (shell variables in su/sudo)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 30 Mar 2005 10:33:24 -0800


Your message dated Wed, 30 Mar 2005 20:05:19 +0200
with message-id <20050330180519.GP9876@mykerinos.kheops.frmug.org>
and subject line Closing this bug report
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Aug 2000 01:42:31 +0000
>From taprogge@idg.rwth-aachen.de Sun Aug 13 20:42:31 2000
Return-path: <taprogge@idg.rwth-aachen.de>
Received: from avery-32.caltech.edu [::ffff:131.215.103.32] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13O9Gp-0004ej-00; Sun, 13 Aug 2000 20:42:31 -0500
Received: from ln by avery-32.caltech.edu with local (Exim 3.12 #1 (Debian))
	id 13O9CE-0004YU-00
	for <submit@bugs.debian.org>; Sun, 13 Aug 2000 18:37:46 -0700
Date: Sun, 13 Aug 2000 18:37:45 -0700
From: Jens Taprogge <taprogge@idg.rwth-aachen.de>
To: submit@bugs.debian.org
Subject: strange su / which / apt behaviour
Message-ID: <20000813183745.A17378@al.romantica.wg>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Delivered-To: submit@bugs.debian.org

Package: general
Version: potato

I am experiencing some strange behavior when I su to root: Which seems to be
looking for things in the $PATH that is defined for my normal user account
instead of the superuser account:

$ su
# which ldconfig
# echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/local/linux/bin:/usr/bin/X11:/usr/games
# ls /sbin/ldconfig
/sbin/ldconfig
#


I also experience a similar problem with dselect: When I try to install certain
packages that use non-absolute paths for the commands in their .post-install
scripts it seems to check the $PATH of the normal user-account again.

Now when I use sudo things seem to be normal:

$ sudo which ldconfig
/sbin/ldconfig
$


On the other hand:

$ sudo -s
# which ldconfig
#


and:

$ su -c "which ldconfig"
Password:
$ 


I discussed the above with people on #debian (especially zonem) but we did not
find a solution to the problem.
It does not show up on all the machines I could try it on.

All machines I tried were updated to the latest potato packages.


Best Regards
  Jens

-- 
Jens Taprogge


---------------------------------------
Received: (at 69090-done) by bugs.debian.org; 30 Mar 2005 18:15:54 +0000
>From bubulle@kheops.frmug.org Wed Mar 30 10:15:53 2005
Return-path: <bubulle@kheops.frmug.org>
Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DGhjN-0005Um-00; Wed, 30 Mar 2005 10:15:53 -0800
Received: from localhost (localhost [127.0.0.1])
	by kheops.perrier.eu.org (Postfix) with ESMTP id 56A244F8B4
	for <69090-done@bugs.debian.org>; Wed, 30 Mar 2005 20:15:22 +0200 (CEST)
Received: from kheops.perrier.eu.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 29801-01 for <69090-done@bugs.debian.org>;
	Wed, 30 Mar 2005 20:15:21 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.perrier.eu.org (Postfix) with ESMTP id BC4D34F971
	for <69090-done@bugs.debian.org>; Wed, 30 Mar 2005 20:15:16 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id 4DA7D232AD; Wed, 30 Mar 2005 20:05:19 +0200 (CEST)
Date: Wed, 30 Mar 2005 20:05:19 +0200
From: Christian Perrier <bubulle@debian.org>
To: 69090-done@bugs.debian.org
Subject: Closing this bug report
Message-ID: <20050330180519.GP9876@mykerinos.kheops.frmug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-message-flag: Outlook is a good virus spreading tool. It can send mail, too.
X-pot_a_miel: honeypot@kheops.frmug.org
User-Agent: Mutt/1.5.8i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 69090-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

As the bug submitter mentioned in the last bits of the bug log, the
bug is now impossible to reproduce for him.

It probably falls in the "it must be user error" category and maybe
the "fixed since ages" category.

In any case, it deserves to be closed. Another new bug should be
opened if someone experiences similar problems.


--