Public bug reported: I was running into a problem where postfix would not start up correctly after being restarted (either manually, via automated process, or from reboot). Postfix would always start without its SSL certs in place (which caused a problem in my configuration); a subsequent restart would fix it, resulting in a situation where every-other-start was successful.
I tracked the problem down to an issue in the init script that copies the certs from the SSL location to the postfix location. In a nutshell, it was creating a new directory for holding the copies files as subdirectory of the target, then deleting the target (including the "new" subdirectory), and subsequently failing to copy the new directory into the appropriate location. Patch that fixed the problem is attached. Using ubuntu server 12.10 ** Affects: postfix (Ubuntu) Importance: Undecided Status: New ** Patch added: "Patch for the postfix init script to fix the included issue." https://bugs.launchpad.net/bugs/1139159/+attachment/3553559/+files/postfix-init.patch ** Description changed: I was running into a problem where postfix would not start up correctly after being restarted (either manually, via automated process, or from reboot). Postfix would always start without its SSL certs in place (which caused a problem in my configuration); a subsequent restart would fix it, resulting in a situation where every-other-start was successful. - I tracked the problem down to an issue in the code that copies the certs - from the SSL location to the postfix location. In a nutshell, it was - creating a new directory for holding the copies files as subdirectory of - the target, then deleting the target (including the "new" subdirectory), - and subsequently failing to copy the new directory into the appropriate - location. + I tracked the problem down to an issue in the init script that copies + the certs from the SSL location to the postfix location. In a nutshell, + it was creating a new directory for holding the copies files as + subdirectory of the target, then deleting the target (including the + "new" subdirectory), and subsequently failing to copy the new directory + into the appropriate location. Patch that fixed the problem is attached. Using ubuntu server 12.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1139159 Title: Postfix does not restart properly when using SSL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1139159/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs