Subject: Re: pkg_delete refuses to execute +DEINSTALL
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 11/08/2001 21:35:16
On Thu, Nov 08, 2001 at 08:43:18PM +0100, Lubomir Sedlacik wrote:
> yes, that was it. i realized it after hubert's note about 'mount'. mea culpa.
> 
> anyway, i don't think it is a good idea to run these scripts directly, because
> this is the only thing left on /var in standard system which needs to be
> executable and thus denying mounting /var as noexec.
> 
> why not to run these scripts as arguments of shell instead of chmoding them
> executable and run directly? i don't see any difference between these actions
> (except that scripts could be written in various shells at this moment.. --
> all +DEINSTALL scripts are written in /bin/sh on my system, however)
> 
> reactions?

Well, I'd like to not have to mount /var exec too :)

--
Manuel Bouyer <bouyer@antioche.eu.org>
--