Bug 875196 - "systemctl stop anything." hits assert
Summary: "systemctl stop anything." hits assert
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 19:02 UTC by Tomasz Torcz
Modified: 2012-12-08 04:36 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-08 04:36:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomasz Torcz 2012-11-09 19:02:52 UTC
Description of problem:
"systemctl stop anything." (notice there isn't anything after the dot) makes PID1 hit assert and freeze.

Version-Release number of selected component (if applicable):
systemd-195-2.fc18.x86_64

How reproducible:
Always.


Additional info:

Assertion 'endswith(path, ".service")' failed at src/core/service.c:1047, function service_load_sysv_name(). Aborting.

    format=format@entry=0x7f52937e4288 "Assertion '%s' failed at %s:%u, function %s(). Aborting.") at src/shared/log.c:636
#6  0x00007f5293793040 in log_assert_failed (text=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>) at src/shared/log.c:641
#7  0x00007f529375dbe1 in service_load_sysv_name (s=s@entry=0x7f5295b702e0, name=0x7f52959d70b0 "anything.") at src/core/service.c:1047
#8  0x00007f529375de2e in service_load_sysv (s=0x7f5295b702e0) at src/core/service.c:1115
#9  service_load (u=0x7f5295b702e0) at src/core/service.c:1263
#10 0x00007f52937aa4db in unit_load (u=0x7f5295b702e0) at src/core/unit.c:887
#11 0x00007f529374a71e in manager_dispatch_load_queue (m=0x7f52959e4a90) at src/core/manager.c:760
#12 0x00007f529374aa88 in manager_load_unit (m=m@entry=0x7f52959e4a90, name=<optimized out>, path=path@entry=0x0, e=e@entry=0x7fff28e3a880, 
    _ret=_ret@entry=0x7fff28e3a878) at src/core/manager.c:839
#13 0x00007f529377744a in bus_manager_message_handler (connection=0x7f52959d70f0, message=message@entry=0x7f5295b239c0, data=data@entry=0x7f52959e4a90)
    at src/core/dbus-manager.c:1660
#14 0x00007f52922589c5 in _dbus_object_tree_dispatch_and_unlock (tree=0x7f5295a34f40, message=message@entry=0x7f5295b239c0, 
    found_object=found_object@entry=0x7fff28e3aac4) at dbus-object-tree.c:862
#15 0x00007f529224ac20 in dbus_connection_dispatch (connection=connection@entry=0x7f52959d70f0) at dbus-connection.c:4672
#16 0x00007f5293775d99 in bus_dispatch (m=m@entry=0x7f52959e4a90) at src/core/dbus.c:528
#17 0x00007f529374d8b0 in manager_loop (m=0x7f52959e4a90) at src/core/manager.c:1453
#18 0x00007f5293746210 in main (argc=5, argv=0x7fff28e3b3c8) at src/core/main.c:1719

Comment 1 Michal Schmidt 2012-11-09 20:35:54 UTC
This is already fixed in upstream.

Comment 2 Michal Schmidt 2012-11-09 20:39:38 UTC
... by this commit, I believe:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=f8b69d1dfc307562a353f6aa923b7c2b915aaddb

Comment 3 Fedora Update System 2012-12-05 17:38:08 UTC
systemd-195-10.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/systemd-195-10.fc18

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

Comment 5 Fedora Update System 2012-12-08 04:36:13 UTC
systemd-195-10.fc18 has been pushed to the Fedora 18 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.