Bug 641227

Summary: systemd default timeout prevents certain services from ever starting
Product: [Fedora] Fedora Reporter: Jon Masters <jcm>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-08 14:08:38 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 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.