Bug#257096: noexec /var breaks postfix chroot

2005-03-03 Thread LaMont Jones
On Thu, Mar 03, 2005 at 05:11:55PM +0100, Klaus Fuerstberger wrote:
 With Postfix 2.1.4-5 the Problem still appears. No Mails reaches the 
 relayhost on my Firewalls with stmp=chroot and /var mounted noexec.

Your choices are:
1) mount /var/ without noexec
2) unchroot postfix

This is because it uses .so files for name resolution, that are loaded
from the chroot.

lamont


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#257096: noexec /var breaks postfix chroot

2005-03-03 Thread Klaus Fuerstberger
LaMont Jones said the following on 03.03.2005 17:35:
With Postfix 2.1.4-5 the Problem still appears. No Mails reaches the 
relayhost on my Firewalls with stmp=chroot and /var mounted noexec.

Your choices are:
1) mount /var/ without noexec
2) unchroot postfix
Sure, that is what I said. But both choices are not satisfying on a 
Firewall.

This is because it uses .so files for name resolution, that are loaded
from the chroot.
Who changed this behavior? Bevor 2.1.3 this did not happen, as I 
remember. Or is smtp in earlier versions not be running in chroot?

What about to check for noexec of /var/* in the Startup Script if 
running smtp in chroot, remount,exec then start Postfix and remount it 
noexec again?

Bye,
Klaus

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]