OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: /etc/services

Re: /etc/services


Subject: Re: /etc/services
From: Michael Ju. Tokarev (mjttls.msk.ru)
Date: Fri Dec 17 1999 - 10:20:42 CST


Chris Cappuccio wrote:
>
> This will not work if you are using Postfix in a chrooted configuration.
> Making /var/spool/postfix/etc/services a link to /etc/services would make it
> an endless recursive link to itself each time postfix does chroot()
>
> On Fri, 17 Dec 1999, Florin Andrei wrote:
>
> |
> | Once, my Postfix complained because /var/spool/postfix/etc/services was
> | different from /etc/services. What about creating the first one as a link
> | to the second?
> |

But if /var/spool/postfix/etc and /etc is on the same filesystem (that is usually
_not_ true), you can make hard link (and with other files).
But this is not recommended since hacked postfix may modify real system files
in this case. More comfortable solution maybe to add some lines to postfis-script
(or to /etc/rc.d/.../postfix) so that is will copy all files needed to spool dir
if them are modified...

Regards,
  Michael.



This archive was generated by hypermail 2b27 : Fri Dec 17 1999 - 10:23:09 CST