tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_add problem with nosuid on /var



On Wed, Nov 14, 2012 at 11:53:07AM +0100, Joerg Sonnenberger wrote:
 > >  > > I guess it's more about noexec than nosuid.
 > >  > > It cannot execute +INSTALL script from /var/db/pkg/bash-4.2nb2/.
 > >  > 
 > >  > Yes, you're right, I was a bit trigger-happy on the send button.
 > >  > But still, could this be (re)designed so noexec could be used on
 > >  > /var in a good way?
 > > 
 > > Given that many, many things that should be package metadata are
 > > actually encoded in install/deinstall scripts, it won't be easy.
 > 
 > The more difficult part is that the scripts sometimes create new files
 > as well and expect them to exist later.

I don't see why that's a problem. (Especially since most of those
cases are AFAIK package metadata.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index