Package: postfix-policyd Priority: optional Section: mail Installed-Size: 328 Maintainer: OndÅej Surý <[EMAIL PROTECTED]> Architecture: i386 Version: 1.80-2.2
/etc/postfix-policyd.conf by default autobackgrounds and sets a PID file so heres a patch against the init script. --- /tmp/policyd/etc/init.d/postfix-policyd 2007-08-04 19:03:55.000000000 +0000 +++ /etc/init.d/postfix-policyd 2007-10-21 04:37:23.000000000 +0000 @@ -21,7 +21,7 @@ case "$1" in start) echo -n "Starting $DESC: " - start-stop-daemon --start --quiet --background --pidfile $PIDFILE --exec $DAEMON -- -c $DAEMON_CONFIG + start-stop-daemon --start --quiet --exec $DAEMON -- -c $DAEMON_CONFIG echo "$NAME." ;; stop) Running as user nobody works perfectly well. Chroots are broken as it does the chroot before it binds to the mysql socket so adding a note to reflect this. --- /root/deleted_stuff/etc/postfix-policyd.conf 2007-10-21 03:23:52.000000000 +0000 +++ /etc/postfix-policyd.conf 2007-10-21 04:33:31.000000000 +0000 @@ -132,20 +132,22 @@ # directory to change to before binding # CHROOT=/ +#CHROOT=/var/empty +#Cannot connect to mysql unix socket in chroot # # uid: # # userid for the policy daemon to run as # -UID=0 +UID=65534 # # gid: # # groupid for the policy daemon to run as # -GID=0 +GID=65534 # # connection acl: Also upstream release notes not that the newer version 1.82 fixes a memory leak. sourceforge.net/project/shownotes.php?group_id=133598&release_id=533414 -- Daniel Black <[EMAIL PROTECTED]> Gentoo Foundation
signature.asc
Description: This is a digitally signed message part.