[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
This bug was fixed in the package dovecot - 1:1.0.10-1ubuntu5 --- dovecot (1:1.0.10-1ubuntu5) hardy; urgency=low * Fixed error with multiple ssl certs on postinst limiting the grep result to 1 cert. Thanks Matt LaPlante for the suggestions (LP: #182086) -- Nicolas Valcarcel <[EMAIL PROTECTED]> Mon, 31 Mar 2008 12:22:34 -0500 ** Changed in: dovecot (Ubuntu) Status: Confirmed => Fix Released -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
Done. ** Attachment added: "dovecot_1.0.10-1ubuntu5.debdiff" http://launchpadlibrarian.net/12998641/dovecot_1.0.10-1ubuntu5.debdiff ** Changed in: dovecot (Ubuntu) Status: Incomplete => Confirmed ** Changed in: dovecot (Ubuntu) Assignee: Nicolas Valcárcel (nxvl) (nvalcarcel) => (unassigned) -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
@Nicolas, could you update your first debdiff (the one that uses -m to limit the output of grep) wrt to the current version of dovecot ? ** Changed in: dovecot (Ubuntu) Status: In Progress => Incomplete -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
But the script is written to try to create it if the key is missing, but if the 2 files are in there not to make anything. -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
Matt has good point. I think it should be possible to generate one certificate/key files on first installation, but register all the certificates and key files in ucf afterwards. -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
That's why i want to check your dovecot.conf, to check which is the syntax of those multiple ssl certs. -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
The problem I see here is that the new script will wind up creating X number of certs with the same domain name... a scenario I'm not sure one would see in practice. My config uses separate domains for the imap and pop services (and therefore separate certs), which is why I hit this bug in the first place. I personally think dealing with this level of customization may be out of the scope of what the postinst needs to handle. -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
Done, it will only work if SSL_CERT and SSL_KEY have the cert-key pairs on the same order (i mean SSL_CERT=cert1 cert2 cert3, SSL_KEY=key1 key2 key3, but not with SSL_CERT=cert1 cert2 cert3, SSL_KEY=key3 key2 key1, but i don't think that ever happens). Attaching debdiff for revision ** Attachment added: "dovecot_1.0.10-1ubuntu3.debdiff" http://launchpadlibrarian.net/11632607/dovecot_1.0.10-1ubuntu3.debdiff -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
Matt: can you paste your certificates part of the dovecot.conf file please? -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
Ok, working on it. ** Changed in: dovecot (Ubuntu) Assignee: (unassigned) => Nicolas Valcárcel (nxvl) (nvalcarcel) Status: Triaged => In Progress -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
Thanks for your debdiff. Considering what is done with the SSL_CERT and SSL_KEY variables in the postinst script, could it possible to modify the postinst script to fully support multiple certificates defined in the configuration file ? Instead of limiting the output of grep, add loop in the script. -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
Attaching debdiff with the suggestions. ** Attachment added: "dovecot_1.0.10-1ubuntu3.debdiff" http://launchpadlibrarian.net/11529836/dovecot_1.0.10-1ubuntu3.debdiff -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 182086] Re: dovecot-common postinst fails for multiple ssl certs
** Changed in: dovecot (Ubuntu) Importance: Undecided => Medium Status: New => Triaged ** Tags added: bitesize patch -- dovecot-common postinst fails for multiple ssl certs https://bugs.launchpad.net/bugs/182086 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs