Hi!

On Thu, 2011-09-01 at 14:17:23 +0200, Carl Fürstenberg wrote:
> Package: dpkg
> Version: 1.16.0.3
> Severity: serious
> Justification: Policy 9.9
> 
> Trying to run dpkg under a clean environment fails:
> 
> # env -i dpkg -i 3dchess_0.8.1-17_amd64.deb
> dpkg: error: error: PATH is not set.
> 
> Policy 9.9 says "A program must not depend on environment variables to
> get reasonable defaults.". I do not feel a double error is a
> "reasonable default"

About the double “error:” string, I thought I had fixed that already,
in any case it's now in my local tree, will be included in my next
push.

About that section of policy, well I don't think it's talking about
global system information like PATH, but about specific application
configuration. In this case if PATH is not set we cannot execute any
helper programs (and I'm not going to hardcode their paths), neither
can the maintainer sctipts. More so I doubt many programs will work
properly with a proper PATH variable. IMO policy needs to be clarified.

thanks,
guillem



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to