[Gllug] apt/dpkg woes

Russell Howe rhowe at siksai.co.uk
Wed Jun 27 21:34:21 UTC 2007


On Wed, Jun 27, 2007 at 08:11:09PM +0100, Tethys wrote:
> --------
> 
> Tom Weissmann writes:
> 
> >Try adding a simple "hello world" script to /var/lib/dpkg/info/, and 
> >check it runs. If not, the problem is directory-wide, perhaps something 
> >is mounted noexec?
> 
> We have a winner -- /var was mounted noexec. It's a simple security
> measure, intended to stop a malicious intruder from making a temporary
> file in /var and running it. However, it tends to be foiled if your
> package manager relies on being able to run scripts there. Ho hum...

Not to mention wanting to run scripts from /tmp...

-- 
Russell Howe       | Why be just another cog in the machine,
rhowe at siksai.co.uk | when you can be the spanner in the works?
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list