Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 21:55:35 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   pkg_delete and +DEINSTALL
Message-ID:  <4FD4EDA7.40703@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD4EDA7.40703>