[arch-general] postfix rc.d script

Milos Negovanovic milos.negovanovic at gmail.com
Thu May 12 04:45:55 EDT 2011


Hi all,

On my workstation I have LXC (linux containers) setup and postfix
rc.d script does not work on the host. I think reason for this is the
way it gets the PID of the master process:

PID=$(pidof -o %PPID /usr/lib/postfix/master)

On my host this value is:

pidof -o %PPID /usr/lib/postfix/master
29187 27623 881

As you can see it catches all master processes running in all LXC
containers! Needless to say rc.d script doesn't work. Whats the idea
behind using pidof? Storing the PID in /var/run is not an option?

-- 
Milos Negovanovic
milos.negovanovic at gmail.com


More information about the arch-general mailing list