On Sun, Jun 10, 2012 at 8:10 PM, Chris Rees <cr...@freebsd.org> wrote:
> On 10 June 2012 19:55, Andriy Gapon <a...@freebsd.org> wrote:
>>
>> While pkgng is growing momentum I have a small suggestion for outgoing pkg_* 
>> tools.
>> It seems that pkg_delete performs something like exec(+DEINSTALL, ...).
>> I think that it would be better to do exec(/bin/sh, +DEINSTALL, ...).
>> Rationale:
>> - no need to set x bit on +DEINSTALL
>> - no need to allow exec on /var/db filesystem
>> The problem is discovered by actually using noexec mount option.
>
> I don't think this is a bad idea, so I've copied in flz, the de-facto
> pkg_install maintainer....
>
> .... but don't forget that pkg_install is very close to death!

Aye. I've just handed my src commit bit for safekeeping but if you're
willing to put in the work, the plan sounds good assuming all scripts
have been rewritten in shell (for those that weren't already).

-- 
Florent Thoumie
f...@freebsd.org
FreeBSD Committer
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to