From: Mark M. <Mar...@ij...> - 2008-05-28 12:54:25
|
Helmut, > > Indeed, thanks for a bug report, amavisd-new-2.6.0 drops privileges > > too early. Until I have this fixed, please provide a chroot directory > > through a command line using option -R, e.g.: > > # amavisd -R /var/amavis The following patch should fix the problem: --- amavisd.orig 2008-04-23 20:50:05.000000000 +0200 +++ amavisd 2008-05-28 14:52:51.000000000 +0200 @@ -12550,6 +12550,5 @@ if ($> != 0 && $< != 0) {} # dropping of privs is not needed -elsif (defined $daemon_chroot_dir_override && - $daemon_chroot_dir_override ne '') { +elsif (defined $daemon_chroot_dir && $daemon_chroot_dir ne '') { # dropping of privs now would prevent later chroot and is to be skipped } else { # drop privileges, unless needed for chrooting Mark |