Hi there,

Am 16.10.17 um 22:58 schrieb Scott Kitterman:
> I've just upgraded several systems to 9.2 (and rebooted) and am unable to 
> reproduce the problem.  For the original submitter (or anyone else who had 
> the 
> problem) do you use multi-instance postfix?  Is there anything unusual about 
> your configuration?

as described in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877992#10 I had
postfix bound with "inet_interfaces=" to a specific IP (which was not
available in early bootstage).

/lib/systemd/system-generators/postfix-instance-generator is doing a the
following:

if [ -f /etc/postfix/main.cf ]; then
    for NAME in $(postmulti -l -a | awk '{ print $1}'); do
        ln -s "$SERVICEFILE" "$WANTDIR/postfix@$NAME.service"
    done
else
    ln -s "$SERVICEFILE" "$WANTDIR/postfix@-.service"
fi

As "postmulti -l -a" failed in early bootstage in my case, it doesn't
generate the needed links.

I worked around the problem by removing the inet_interfaces-config
statement.

As every other reporter is affected at boot time, this seems the source
of the problem.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877992#20 indicates
the same and a reinstall seems to trigger generating the links.
I guess "postmulti -l -a" doesn't fail when the system is up and
running, but in early boot stage.

For everybody affected. You can try to boot into "/bin/sh" by adding
"init=/bin/sh" to your bootprompt. Be aware you will have no network in
this case.

I reproduced the issue in this case by running:

# ip link set lo up
# postmulti -l -a

Cheers, Jan.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to