pkg_delete and +DEINSTALL

Andriy Gapon avg at FreeBSD.org
Sun Jun 10 18:55:39 UTC 2012


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.

-- 
Andriy Gapon


More information about the freebsd-ports mailing list