apk-tools cannot execute scripts if /tmp is mounted with 'noexec' option
for security reasons it is highly recommended to mount /tmp, which has world writable permission with noexec and even with nosuid, nodev options.
to enable this future following issues should be resolved:
- apk should store post/pre-install scripts in other place than /tmp. Best if it will be somewhere under /var/… and directory will NOT have world-writable prmissions
- directory tree should not contain any other directories with world writable permission other than /tmp.
(from redmine: issue id 129, created on 2009-08-11, closed on 2009-08-19)
pkg, db: execute scripts from /var/cache/misc (fixes #129)