On Mon, 2016-04-18 at 16:05 +0200, Florian Lohoff wrote:
[...]
> After diving into the problem the cause was that actually not the
> shipped sa-update was called but a locally (and broken) version
> in /usr/local/sbin/
> 
> The postinst should take care of not calling binarys with relative
> path or relying on the PATH variable:

Debian Policy specifies that it should do precisely that.

<quote>
Introduction to package maintainer scripts
[...]
Programs called from maintainer scripts should not normally have a path
prepended to them.
[...]
Those programs, and any other program that one would expect to be in the
`PATH', should thus be invoked without an absolute pathname.
</quote>

Regards,

Adam

Reply via email to