> > anyway, the patched version run master as PID 1. fine! > > Good enough for proof of concept. The only misfeature is that it > passes -d to all child processes. I will add a new flag that does > less than '-d', only the things that containers need.
postfix-3.4-20180403 will try to run the master daemon as PID 1. >From the postfix(1) manpage: start-fg Like start, but keep the master daemon running in the fore- ground, if possible as PID 1. [...] I updated both the postfix-script file and the master daemon. I'd appreciate it if someone could verify that this will run the master daemon with PID 1, and that 'postfix stop' in the container will stop the master daemon. If it doesn't, then Linux does weird stuff with PID 1 processes. Wietse