Mantis - dovecot
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5096 | regular use | major | always | 2013-07-30 00:25 | 2013-08-09 01:45 |
|
|||||
Reporter: | laurent | Platform: | |||
Assigned To: | jgoerzen | OS: | |||
Priority: | high | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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 ] |
||||
Steps To Reproduce: | |||||
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) |
||||
Relationships | |||||
Attached Files: | |||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-07-30 00:25 | laurent | New Issue | |||
2013-08-01 23:02 | jgoerzen | Status | new => assigned | ||
2013-08-01 23:02 | jgoerzen | Assigned To | => jgoerzen | ||
2013-08-03 01:00 | jgoerzen | Note Added: 0010510 | |||
2013-08-03 01:00 | jgoerzen | Status | assigned => feedback | ||
2013-08-08 05:23 | jgoerzen | Note Added: 0010519 | |||
2013-08-08 05:23 | jgoerzen | Status | feedback => resolved | ||
2013-08-08 05:23 | jgoerzen | Resolution | open => fixed | ||
2013-08-09 01:45 | jgoerzen | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|