Bug 528126 - Cyrus-imapd won't start due to database import failure
Summary: Cyrus-imapd won't start due to database import failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cyrus-imapd
Version: 11
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-09 09:29 UTC by wdouglascampbell
Modified: 2009-11-06 00:03 UTC (History)
2 users (show)

Fixed In Version: 2.3.15-2.fc11
Clone Of:
Environment:
Last Closed: 2009-11-06 00:03:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.