12 May
2011
12 May
'11
10:45 a.m.
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@gmail.com