Bug 783118 - assertion failure in service_fd_event()
Summary: assertion failure in service_fd_event()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Schmidt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-19 12:35 UTC by Michal Schmidt
Modified: 2012-01-30 21:00 UTC (History)
5 users (show)

Fixed In Version: systemd-37-11.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-30 21:00:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Schmidt 2012-01-19 12:35:37 UTC
Jóhann noticed this:
systemd[1]: Assertion 's->state == SERVICE_START || s->state == SERVICE_START_POST' failed at src/service.c:2609, function service_fd_event(). Aborting

I found a reproducer:

# cat /etc/systemd/system/buggy.service 
[Unit]
Description=buggy
[Service]
Type=forking
PIDFile=/var/run/buggy.pid
ExecStart=/bin/sh -c '(sleep 5; echo $$ > /var/run/buggy.pid; sleep 60 ) &'

# systemctl start buggy.service & sleep 2 && systemctl daemon-reload

The bug is related to the PID file waiting (new in systemd-38 and backported to 37-8).

Comment 2 Fedora Update System 2012-01-22 18:57:04 UTC
systemd-37-10.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-10.fc16

Comment 3 Fedora Update System 2012-01-22 22:55:25 UTC
Package systemd-37-10.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-37-10.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-10.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-01-26 22:59:11 UTC
Package systemd-37-11.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-37-11.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-11.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-01-30 21:00:01 UTC
systemd-37-11.fc16 has been pushed to the Fedora 16 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.