[systemd-bugs] [Bug 87943] New: system 195 aborts at src/core/service.c:1077on OpenSuse 12.3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 1 10:21:35 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=87943

            Bug ID: 87943
           Summary: system 195 aborts  at src/core/service.c:1077on
                    OpenSuse 12.3
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: huaraz at moeller.plus.com
        QA Contact: systemd-bugs at lists.freedesktop.org

When copying an existing /etc/init.d/ script, updating with INIT header and
then run /etc/init.d/<script> status system aborts.

# cp /etc/init.d/sockd /etc/init.d/sockd-1.5.0
# insserv /etc/init.d/sockd-1.5.0

Update INIT INFO from 

 ### BEGIN INIT INFO
 # Provides:       sockd

to

 ### BEGIN INIT INFO
 # Provides:       sockd-1.5.0

Then run 

# systemctl status sockd-1.5.0
Failed to issue method call: Did not receive a reply. Possible causes 
include: the remote application did not send a reply, the message bus 
security policy blocked the reply, the reply timeout expired, or the network 
connection was broken.
# systemctl status sockd-1.5.0
Failed to get D-Bus connection: Failed to connect to socket 
/run/systemd/private: Connection refused

2015-01-01T17:52:01.625495+00:00 opensuse12 systemd[1]: Accepted connection 
on private bus.
2015-01-01T17:52:01.626333+00:00 opensuse12 systemd[1]: Running GC...
2015-01-01T17:52:01.627976+00:00 opensuse12 systemd[1]: Got D-Bus request: 
org.freedesktop.DBus.Properties.GetAll() on 
/org/freedesktop/systemd1/unit/sockd_2d1_2e5_2e0
2015-01-01T17:52:01.636546+00:00 opensuse12 systemd[1]: Assertion 
'endswith(path, ".service")' failed at src/core/service.c:1077, function 
service_load_sysv_name(). Aborting.
2015-01-01T17:52:01.686714+00:00 opensuse12 systemd[1]: Caught <ABRT>, 
dumped core as pid 2925.
2015-01-01T17:52:01.687538+00:00 opensuse12 systemd[1]: Freezing execution.


I am running Opensuse 12.3

# rpm -q -f /sbin/init
systemd-sysvinit-195-13.45.1.x86_64

# systemd --version
systemd 195
suse
+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ

This is 100% reproducible. And only a hard reboot fixes it :-(

Markus

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150101/5651820d/attachment.html>


More information about the systemd-bugs mailing list