[Pkg-shadow-devel] Re: [Pkg-shadow-commits] r407 - in branches/experimental/debian: . patches

Nicolas François nicolas.francois at centraliens.net
Tue Jul 26 17:37:29 UTC 2005


On Tue, Jul 26, 2005 at 03:11:52AM +0200, Nicolas François wrote:
> On Tue, Jul 26, 2005 at 01:32:28AM +0200, Nicolas François wrote:
> > If there is no big surprise, it should build with 4.0.11.1, and the basic
> > functionalities should work.
> > Then we can probably upload to experimental (with an additional warning in
> > the changelog? with a notice to debian-devel?)
> 
> Committed.
> No big surprise.

I've been hit by a difference:
"su root" does not set PATH, so it does not include the sbin paths.

This is caused by the removal of ENV_SUPATH and ENV_PATH.

I think these variables were removed because the environment
should be handled otherwise (pam_env, shell rc file?).

Tomasz, do you think this is OK? Do you have an idea how this should be
fixed? (At least there is no mean to change the environment based on the
user with pam_env).


The difference was found by running aptitude. aptitude uses "su -c
\"...\"" and do not "su - -c \"...\"" so the path was not set, and some
utilities were not found (ldconfig, start-stop-daemon, install-info,
update-rc.d).

Christian, if needed, I can re-introduce the ENV_PATH/ENV_SUPATH
variables.

-- 
Nekral



More information about the Pkg-shadow-devel mailing list