Bug 641227 - systemd default timeout prevents certain services from ever starting
Summary: systemd default timeout prevents certain services from ever starting
Keywords:
Status: CLOSED DUPLICATE of bug 635393
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-08 05:28 UTC by Jon Masters
Modified: 2010-10-08 20:25 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-08 14:08:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Masters 2010-10-08 05:28:15 UTC
Description of problem:

There seems to be some default timeout (30 seconds?) in systemd that prevents certain services from ever starting (for example, kdump.service, which needs to create a kdump initramfs image from time to time, if the kernel is upgraded). This means that certain facilities are not available after upgrading to systemd.

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

systemd-10-6.fc15.x86_64

How reproducible:

100%

Steps to Reproduce:
1. sudo systemctl start kdump.service
2. Times out and never gets to finish making its initramfs image
3.
  
Actual results:

Services such as kdump cannot be used

Expected results:

Services such as kdump can be used

Additional info:

I suggest that we revert to existing behavior of allowing things to take as long as they need by default. Or having a very obvious config knob to change this. If there must be a timeout, make it 5 minutes or something large.

Comment 1 Michal Schmidt 2010-10-08 07:59:57 UTC
The timeout for kdump.service has been increased recently in bug 635393.
What other services likes that are there?

Comment 2 Michal Schmidt 2010-10-08 08:21:05 UTC
Correction: The default timeout was increased to 3 minutes not only for kdump, but for all SysV initscripts.
http://cgit.freedesktop.org/systemd/commit/?id=f34277d9117cd9d858f7332eef0023e05277ce74

Comment 3 Lennart Poettering 2010-10-08 14:08:38 UTC

*** This bug has been marked as a duplicate of bug 635393 ***

Comment 4 Jon Masters 2010-10-08 20:25:53 UTC
Yup. I saw that. Thanks.


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