the bootmisc init script adds the +t permissions. would be nice if it could add a+rwX too. I'm doing something odd like putting /tmp on a newly created crypt partition. # more /etc/conf.d/dmcrypt target=crypt-tmp source='/dev/vg/tmp' options='-d /dev/urandom' pre_mount='/sbin/mkreiserfs -f -f ${dev}' I don't know how portable this is but you get the idea. --- /tmp/bootmisc.old 2009-03-08 09:08:49.000000000 +1100 +++ /etc/init.d/bootmisc 2009-03-07 18:27:53.000000000 +1100 @@ -24,7 +24,7 @@ mkdir -p "${dir}" || return $? fi dir_writeable "${dir}" || return 1 - chmod +t "${dir}" + chmod a+rwt "${dir}" cd "${dir}" if yesno ${wipe_tmp:-${WIPE_TMP:-yes}}; then ebegin "Wiping ${dir} directory"
Fixed upstream here http://roy.marples.name/projects/openrc/changeset/fbb78022f973361a60861cf4b99dda91ccfc1aa5
Marking fixed, as this is fixed in git-repo and openrc-9999 will pull it.