Anonymous | Login | 2024-03-29 13:26 CET |
Main | My View | View Issues |
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 | |||||||
|
Copyright © 2000 - 2008 Mantis Group |