[Bug 845557] New: courier-imapd-ssl fails because systemd starts it before the network is up
https://bugzilla.novell.com/show_bug.cgi?id=845557 https://bugzilla.novell.com/show_bug.cgi?id=845557#c0 Summary: courier-imapd-ssl fails because systemd starts it before the network is up Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dgolden@golden-consulting.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=563147) --> (http://bugzilla.novell.com/attachment.cgi?id=563147) systemd-journalctl output User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 courier-imapd-ssl is started by systemd before the network is started and since it cannot bind to the tcp port, it enters a failed state Reproducible: Always Steps to Reproduce: 1. Configure courier-imapd-ssl 2. reboot the system 3. Actual Results: courier-imapd-ssl starts and cannot bind to tcp port 993, so it terminates Expected Results: courier-imapd-ssl should start after the network is up -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=845557 https://bugzilla.novell.com/show_bug.cgi?id=845557#c Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de AssignedTo|bnc-team-screening@forge.pr |chris@computersalat.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=845557 https://bugzilla.novell.com/show_bug.cgi?id=845557#c Dennis Golden <dgolden@golden-consulting.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=845557 https://bugzilla.novell.com/show_bug.cgi?id=845557#c1 Dennis Golden <dgolden@golden-consulting.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dgolden@golden-consulting.c | |om --- Comment #1 from Dennis Golden <dgolden@golden-consulting.com> 2013-11-20 23:33:57 UTC --- Please update status -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=845557 https://bugzilla.novell.com/show_bug.cgi?id=845557#c2 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Christian Wittmer <chris@computersalat.de> 2014-03-15 12:12:41 UTC --- hmmm, all init files seem to be on same level (K50,S50): os123:/etc/init.d/rc3.d # l insgesamt 2 drwxr-xr-x 2 root root 848 15. Mär 03:03 ./ drwxr-xr-x 11 root root 1760 15. Mär 03:03 ../ lrwxrwxrwx 1 root root 12 14. Mär 01:57 K50alsasound -> ../alsasound* lrwxrwxrwx 1 root root 15 14. Mär 02:00 K50avahi-daemon -> ../avahi-daemon* lrwxrwxrwx 1 root root 19 14. Mär 23:22 K50courier-imap-ssl -> ./courier-imap-ssl* lrwxrwxrwx 1 root root 7 14. Mär 02:01 K50cron -> ../cron* lrwxrwxrwx 1 root root 7 14. Mär 02:02 K50cups -> ../cups* lrwxrwxrwx 1 root root 7 14. Mär 01:58 K50dbus -> ../dbus* lrwxrwxrwx 1 root root 6 14. Mär 23:09 K50fam -> ../fam* lrwxrwxrwx 1 root root 8 14. Mär 01:55 K50fbset -> ../fbset* lrwxrwxrwx 1 root root 10 14. Mär 01:59 K50network -> ../network* lrwxrwxrwx 1 root root 6 14. Mär 02:04 K50ntp -> ../ntp* lrwxrwxrwx 1 root root 10 14. Mär 02:02 K50postfix -> ../postfix* lrwxrwxrwx 1 root root 16 14. Mär 01:59 K50purge-kernels -> ./purge-kernels* lrwxrwxrwx 1 root root 9 14. Mär 01:59 K50smartd -> ../smartd* lrwxrwxrwx 1 root root 7 14. Mär 03:27 K50sshd -> ../sshd* lrwxrwxrwx 1 root root 12 14. Mär 01:57 S50alsasound -> ../alsasound* lrwxrwxrwx 1 root root 15 14. Mär 02:00 S50avahi-daemon -> ../avahi-daemon* lrwxrwxrwx 1 root root 19 14. Mär 23:22 S50courier-imap-ssl -> ./courier-imap-ssl* lrwxrwxrwx 1 root root 7 14. Mär 02:01 S50cron -> ../cron* lrwxrwxrwx 1 root root 7 14. Mär 02:02 S50cups -> ../cups* lrwxrwxrwx 1 root root 7 14. Mär 01:58 S50dbus -> ../dbus* lrwxrwxrwx 1 root root 6 14. Mär 23:09 S50fam -> ../fam* lrwxrwxrwx 1 root root 8 14. Mär 01:55 S50fbset -> ../fbset* lrwxrwxrwx 1 root root 10 14. Mär 01:59 S50network -> ../network* lrwxrwxrwx 1 root root 6 14. Mär 02:04 S50ntp -> ../ntp* lrwxrwxrwx 1 root root 10 14. Mär 02:02 S50postfix -> ../postfix* lrwxrwxrwx 1 root root 16 14. Mär 01:59 S50purge-kernels -> ./purge-kernels* lrwxrwxrwx 1 root root 9 14. Mär 01:59 S50smartd -> ../smartd* lrwxrwxrwx 1 root root 7 14. Mär 03:27 S50sshd -> ../sshd* don't know if this is correct but anyhow best way will be to provide 'service' files ongoing work .... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=845557 https://bugzilla.novell.com/show_bug.cgi?id=845557#c3 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME AssignedTo|chris@computersalat.de |qa-bugs@suse.de --- Comment #3 from Christian Wittmer <chris@computersalat.de> 2014-03-17 23:24:44 UTC --- installed a fresh clean openSUSE 12.3 enabled services: os123:~ # chkconfig -a courier-authdaemon Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. courier-authdaemon 0:off 1:off 2:off 3:on 4:off 5:on 6:off os123:~ # chkconfig -a courier-imap Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. courier-imap 0:off 1:off 2:off 3:on 4:off 5:on 6:off os123:~ # chkconfig -a courier-imap-ssl Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. courier-imap-ssl 0:off 1:off 2:off 3:on 4:off 5:on 6:off then did a reboot login to check ports: os123:~ # netstat -nat Aktive Internetverbindungen (Server und stehende Verbindungen) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN tcp 0 288 192.168.101.41:22 192.168.101.121:39409 VERBUNDEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::1:25 :::* LISTEN tcp 0 0 ::1:6010 :::* LISTEN tcp 0 0 :::993 :::* LISTEN tcp 0 0 :::143 :::* LISTEN All services up check imap server connect: admin@lape:~> openssl s_client -connect oS123:993 CONNECTED(00000003) depth=0 C = US, ST = NY, L = New York, O = Courier Mail Server, OU = Automatically-generated IMAP SSL key, CN = localhost, emailAddress = postmaster@example.com verify error:num=18:self signed certificate verify return:1 depth=0 C = US, ST = NY, L = New York, O = Courier Mail Server, OU = Automatically-generated IMAP SSL key, CN = localhost, emailAddress = postmaster@example.com verify return:1 --- Certificate chain 0 s:/C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/CN=localhost/emailAddress=postmaster@example.com i:/C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/CN=localhost/emailAddress=postmaster@example.com --- Server certificate -----BEGIN CERTIFICATE----- MIIGBDCCA+ygAwIBAgIJAOghvokUU3vQMA0GCSqGSIb3DQEBBQUAMIG1MQswCQYD .. fkTWDuen/To= -----END CERTIFICATE----- subject=/C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/CN=localhost/emailAddress=postmaster@example.com issuer=/C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/CN=localhost/emailAddress=postmaster@example.com --- No client certificate CA names sent --- SSL handshake has read 1860 bytes and written 791 bytes --- New, TLSv1/SSLv3, Cipher is AES256-SHA Server public key is 4096 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE SSL-Session: Protocol : TLSv1 Cipher : AES256-SHA Session-ID: F47CB0B636BCEE56748EDE023C26E535822F1D1801500A2B40932C878E6329FE Session-ID-ctx: Master-Key: 6D620933453A458B2844DDE45DDC2B310D51F82470317AE89472CFF1628626F9B74F552DF38E09CBD444DCAEAEAEF628 Key-Arg : None PSK identity: None PSK identity hint: None TLS session ticket lifetime hint: 7200 (seconds) TLS session ticket: 0000 - ad 19 62 ac 7e 6f c7 eb-fe 75 da a2 35 93 d4 61 ..b.~o...u..5..a 0010 - 82 d2 ae 10 9e cd 7c 9c-7e e5 76 8b 2f d4 0c bf ......|.~.v./... 0020 - ae f4 d1 c2 22 83 b5 0b-59 13 ba ac 55 8a d1 9c ...."...Y...U... 0030 - f6 a1 b0 85 10 96 9e 9f-58 49 f7 c0 fc 96 67 97 ........XI....g. 0040 - 21 6d ee e0 9b 77 ad 94-0c 22 8d 0e 1e 8b 28 ad !m...w..."....(. 0050 - 49 33 42 10 e5 8d 40 0f-1b 39 21 ff 8a dc da 02 I3B...@..9!..... 0060 - 73 35 d8 d8 d4 ef c7 8a-61 b3 11 3e ac 5f 1d 17 s5......a..>._.. 0070 - 92 8e a2 5a e5 cb bb 74-d4 fe 24 bb 54 2f 6f 41 ...Z...t..$.T/oA 0080 - ab a5 ea 3a 6d 19 87 60-9e 11 03 24 79 55 0d cd ...:m..`...$yU.. 0090 - 28 71 b4 ba c0 12 99 7d-b7 73 f2 ae 48 48 0b 22 (q.....}.s..HH." Start Time: 1395098569 Timeout : 300 (sec) Verify return code: 18 (self signed certificate) --- * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information. #### everything is fine sorry I can not reproduce this problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com