Bug 528126

Summary: Cyrus-imapd won't start due to database import failure
Product: [Fedora] Fedora Reporter: wdouglascampbell
Component: cyrus-imapdAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: mhlavink, wdouglascampbell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.15-2.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-06 00:03:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wdouglascampbell 2009-10-09 09:29:55 UTC
Description of problem:

When starting the service the first time, I got the following message and a failure:

Importing cyrus-imapd databases: runuser: /bin/nologin: No such file or directory




Version-Release number of selected component (if applicable):

2.3.15-1.fc11


How reproducible:


Steps to Reproduce:
1. setup new fedora install
2. install cyrus-imapd with yum
3. try to start using: service cyrus-imapd start
  
Actual results:

won't run

Expected results:

service begins to run

Additional info:

I noticed that the cyrus-imapd.spec file was changed in Rev. 1.54 in July 2009 where this change was implemented.

I tried correcting the incorrect shell assignment from /bin/nologin /sbin/nologin but that didn't fix things.

In order to make things work, I had to revert to using /bin/bash for the shell that the cyrus user uses.

Comment 1 Michal Hlavinka 2009-10-09 12:26:07 UTC
Thanks for reporting and investigating this issue.

I've fixed /bin.. /sbin typo and also fixed init script. Most important change in the script is "-s /bin/sh" as option for runuser command.

fixed in:
cyrus-imapd-2.3.15-2.fc11
cyrus-imapd-2.3.15-3.fc12
cyrus-imapd-2.3.15-3.fc13

Comment 2 Fedora Update System 2009-10-09 12:49:52 UTC
cyrus-imapd-2.3.15-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cyrus-imapd-2.3.15-3.fc12

Comment 3 Fedora Update System 2009-10-09 12:52:20 UTC
cyrus-imapd-2.3.15-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/cyrus-imapd-2.3.15-2.fc11

Comment 4 Fedora Update System 2009-10-14 01:42:12 UTC
cyrus-imapd-2.3.15-2.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cyrus-imapd'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10436

Comment 5 Fedora Update System 2009-11-06 00:03:39 UTC
cyrus-imapd-2.3.15-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.