Bug 908006

Summary: Starting Cyrus IMAP creates PID file as /run/cyrus-master.pid instead of /run/cyrus.pid
Product: [openSUSE] openSUSE Distribution Reporter: Bob Goddard <opensuse>
Component: OtherAssignee: Peter Varkoly <varkoly>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low CC: aj, bwiedemann, frerichs, maintenance, ralf
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard: https://build.opensuse.org/request/show/264383
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bob Goddard 2014-12-02 14:51:35 UTC
when starting Cyrus IMAP, a PID file called /run/cyrus-master.pid is created when it is asked to create /run/cyrus.pid - as per /etc/init.d/cyrus.

When you try and shut it down, it fails and keeps running.

If you rename the PID file to cyrus-master.pid, it still fails.

I had to edit /etc/init.d/cyrus and set 
PID_FILE to /var/run/cyrus-master.pid before it would start and stop correctly.
Comment 1 Bernhard Wiedemann 2014-12-02 18:26:56 UTC
I tested with
SYSTEMD_NO_WRAP=1 bash -x /etc/init.d/cyrus

and changing it to PID_FILE=/var/run/cyrus-master.pid
indeed makes start+stop work
Comment 2 Aeneas Jaißle 2014-12-08 10:12:58 UTC
*** Bug 907502 has been marked as a duplicate of this bug. ***
Comment 3 Aeneas Jaißle 2014-12-08 10:30:58 UTC
https://build.opensuse.org/request/show/264383
Comment 4 Aeneas Jaißle 2014-12-08 10:31:50 UTC
https://build.opensuse.org/request/show/264383
Comment 5 Aeneas Jaißle 2014-12-10 11:10:06 UTC
Requested maintainance update
https://build.opensuse.org/request/show/264635
Comment 6 Marcus Meissner 2014-12-24 13:04:14 UTC
releasedh
Comment 7 Swamp Workflow Management 2014-12-24 13:06:26 UTC
openSUSE-RU-2014:1706-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 908006,908014
CVE References: 
Sources used:
openSUSE 13.2 (src):    cyrus-imapd-2.4.17-2.4.1