Subject: Re: pkg_delete refuses to execute +DEINSTALL
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 11/07/2001 21:01:35
On Sat, Nov 03, 2001 at 11:02:07PM +0100, Hubert Feyrer wrote:
>
>
> [let's post followups to this to tech-pkg only please!]
>
>
> On Sat, 3 Nov 2001, Lubomir Sedlacik wrote:
> > # pkg_delete mutt
> > ./+DEINSTALL: permission denied
> > pkg_delete: deinstall script returned error status
> >
> > ktruss output is attached. it looks like /bin/sh is unable to run this script.
> > when i tried to run it by hand as: sh ./+DEINSTALL, it ran correctly.
>
> Output of "ktrace -id pkg_delete mutt" would be interresting to see.
> I see no good reason for the deinstall to have permission denied, as it's
> explicitly chmod +x'd before running.
Could it be that /var is mounted noexec ?
I've regulary this problem on my servers :)
--
Manuel Bouyer <bouyer@antioche.eu.org>
--