FS#24340 - postfix rc.d script is not compatible with linux containers setup

Attached to Project: Arch Linux
Opened by M.N (milosn) - Wednesday, 18 May 2011, 21:34 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 19 May 2011, 20:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

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.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Thursday, 19 May 2011, 20:47 GMT
Reason for closing:  Fixed
Comment by Gaetan Bisson (vesath) - Thursday, 19 May 2011, 16:08 GMT
Could you test postfix-2.8.3-3 from [staging]? It should address this issue.
When you confirm that it works, I will move it to [extra].
Comment by M.N (milosn) - Thursday, 19 May 2011, 20:02 GMT
hmmm sorry for sounding like a n00b ... but how do i enable [staging]? I looked in my pacman.conf, nothing there. Is there a document i could follow?
Comment by Gaetan Bisson (vesath) - Thursday, 19 May 2011, 20:10 GMT
My mistake, I meant [testing] instead of [staging]. :)

Instead of enabling the whole [testing] repository in /etc/pacman.conf you can just download the new postfix package from
http://mirrors.kernel.org/archlinux/testing/os/i686/postfix-2.8.3-3-i686.pkg.tar.xz and install it with `pacman -U` (replace i686 by x86_64 if that is your architecture).
Comment by M.N (milosn) - Thursday, 19 May 2011, 20:36 GMT
Done. Seems to be working :)!
Comment by Gaetan Bisson (vesath) - Thursday, 19 May 2011, 20:47 GMT
Great. To [extra] it goes...

Loading...