OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005096 [dovecot] regular use major always 2013-07-30 00:25 2013-08-09 01:45
Reporter laurent View Status public  
Assigned To jgoerzen
Priority high Resolution fixed  
Status closed  
Summary 0005096: The cswdovecot method does not work with "stop"
Description On every system shutdown, or when doing an "svcadm disable cswdovecot", the cswdovecot service goes into maintenance mode, as the processes are killed by the system instead of the method:

[ Jul 29 10:47:34 Stopping because service disabled. ]
[ Jul 29 10:47:34 Executing stop method ("/var/opt/csw/svc/method/svc-cswdovecot stop") ]
Dovecot is already stopped.
[ Jul 29 10:47:35 Method "stop" exited with status 0 ]
[ Jul 29 10:48:34 Method or service exit timed out. Killing contract 53 ]

Additional Information It appears to be because the method finds the base_dir value by using "grep base_dir:", when it fact, it now uses an = sign.

I've successfully replaced it by the following:
base_dir=`$DAEMON -a | sed -n 's/^base_dir[ ]*=[ ]*//p'`

(note that each [] contain one space and one tab)
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010510)
jgoerzen (manager)
2013-08-03 01:00

Thanks for the patch! Patch has been added to the build recipe and the following new packages have been created and uploaded to the unstable catalog:

dovecot-2.2.4,REV=2013.08.02-SunOS5.10-i386-CSW.pkg.gz
dovecot-2.2.4,REV=2013.08.02-SunOS5.10-sparc-CSW.pkg.gz
dovecot_dev-2.2.4,REV=2013.08.02-SunOS5.10-i386-CSW.pkg.gz
dovecot_dev-2.2.4,REV=2013.08.02-SunOS5.10-sparc-CSW.pkg.gz
dovecot_devel_stub-2.2.4,REV=2013.08.02-SunOS5.10-all-CSW.pkg.gz

please verify the bug has been fixed.
(0010519)
jgoerzen (manager)
2013-08-08 05:23

Fixed in 2.2.4,REV=2013.08.02 released to unstable catalog


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker