Bug 113213 - courier-imap-ssl doesn't start
Summary: courier-imap-ssl doesn't start
Status: VERIFIED FIXED
: 129707 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Thorsten Kukuk
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: easy_fix
Depends on:
Blocks:
 
Reported: 2005-08-26 06:15 UTC by R. Grzondziel
Modified: 2006-01-09 09:12 UTC (History)
4 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Tested patch (810 bytes, text/x-patch)
2005-12-29 04:45 UTC, Tom Eastep
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R. Grzondziel 2005-08-26 06:15:15 UTC
I downloaded the courier-imap.src.rpm from OpenSuSE 10 Beta 3 to built an rpm 
with a recent version of courier-imap for my "SLES9 for IBM Power" system. 
After some minor changes on the SPEC-File (i only found an src.rpm designated  
for x86 platform)i got a rpm which i installed. 
 
when trying to running "/etc/init.d/courier-imap-ssl start" following error 
message will be produced on the console: 
 
"Starting Courier-IMAP (SSL)Unknown option '-pid='" 
 
I'm not sure but line 34 of the script looks wrong: 
 
I changed it to: 
 
  "test "$SSLPIDFILE" == "" && SSLPIDFILE=/var/run/imapd-ssl.pid" 
 
instead of: 
  
  "test "$SSLPIDFILE" == "" && PIDFILE=/var/run/imapd-ssl.pid" 
 
then no problem occurs 
 
 
Greetings 
R. Grzondziel
Comment 1 Thorsten Kukuk 2005-08-26 10:12:10 UTC
The real bug is that /etc/courier/imapd-ssl is not sourced.
Comment 2 Thorsten Kukuk 2005-08-26 10:46:37 UTC
Fixed.
Comment 3 Fernando Lunardelli 2005-10-04 21:42:16 UTC
The bug still exist in 10RC1.
In courier-imap-ssl and courier-pop-ssl, SSLxxx variables and comand
"$COURIERTLS -server -tcpd" are not used in start case.

Thanks.
Comment 4 Branislav Bozgai 2005-10-17 21:21:33 UTC
The bug still exists in SuSE 10.0 retail on x86 platform.
Comment 5 Thorsten Kukuk 2005-10-20 16:52:13 UTC
*** Bug 129707 has been marked as a duplicate of this bug. ***
Comment 6 Jon Nelson 2005-10-31 00:24:15 UTC
Can confirm this is still a problem.

Could somebody post a diff of a fixed init script?
Comment 7 Jon Nelson 2005-10-31 02:18:41 UTC
I've got it working now. I'll try to get around to posting the fixes I've made.
Comment 8 Thorsten Kukuk 2005-11-02 15:39:00 UTC
Fixed for next Alpha snapshot (and build of the day).
Comment 9 Lars Müller 2005-11-25 11:45:21 UTC
Can we provide the fix  for 10.0?  I had to fix a system today after I updated to 10.0.  Even if I learned how to replace PORT with SSLPORT in the required init script from my POV it would be better to push this fix as an update.

And if required I'll do the changes for 10.0.
Comment 10 Andreas Jaeger 2005-11-28 12:50:11 UTC
Update approved, swamp-ID is: Maintenance-Tracker-3025
Comment 11 Thorsten Kukuk 2005-12-14 13:17:01 UTC
submitted.
Comment 12 Tom Eastep 2005-12-29 04:45:16 UTC
Created attachment 61806 [details]
Tested patch

This patch was created by looking at a copy of the courier-imap-ssl.rc.in file from courier-imap-4.0.4 and changing /etc/init.d/courier-imap-ssl to do what that script does.
Comment 13 Andreas Grupp 2006-01-02 13:12:54 UTC
After fixing the bug by myself I now found the patch from Tom. I can assure that the fixed lines solve the problem. It would be great to have this also in YOU-updates after such a long time since 10.0 is out. Would have saved me several hours :-).
Comment 14 Anja Stock 2006-01-09 09:12:24 UTC
released