[systemd-devel] systemctl isolate "foo.service" expands to "foo.service.target"

Chris Atkinson cwa at pipeline.com
Fri Nov 28 10:09:18 PST 2014


The commit (5e03c6e3b517286bbd65b48d88f60e5b83721894) seems to be
having some side effects.

When I attempt to query status, stop or start a service I get
the following:

$ sudo systemctl stop transmission
Assertion 'suffix' failed at src/shared/unit-name.c:515, function
unit_name_mangle_with_suffix(). Aborting.

journalctl shows the following coredump:

Process 4687 (systemctl) of user 0 dumped core.
                                        
Stack trace of thread 4687:
#0  0x00007fb3bf640a97	raise (libc.so.6)
#1  0x00007fb3bf641e6a	abort (libc.so.6)
#2  0x00007fb3c051b462	log_assert_failed (systemctl)
#3  0x00007fb3c052e4ef	unit_name_mangle_with_suffix (systemctl)
#4  0x00007fb3c050d12d	expand_names.lto_priv.398 (systemctl)
#5  0x00007fb3c05185cc	check_unit_generic (systemctl)
#6  0x00007fb3c050abe6	main (systemctl)
#7  0x00007fb3bf62d040	__libc_start_main (libc.so.6)
#8  0x00007fb3c050b64c	_start (systemctl)

Attempts to isolate a snapshot fail silently with the same coredump.

Attempts to isolate to default.target worked but attempts to isolate
back to a user-defined .target failed.

systemd was compiled with glibc 2.20 and the following flags:

--libexecdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--enable-introspection \
--enable-gtk-doc \
--enable-compat-libs \
--disable-audit \
--disable-ima \
--disable-multi-seat-x \
--disable-smack \
--with-sysvinit-path= \
--with-sysvrcnd-path= \
--with-firmware-path="/usr/lib/firmware/updates:/usr/lib/firmware"\
--with-ntp-servers="${timeservers[*]}"

Please let me know if there are any items you'd like me to test or
additional information you would find useful.

Regards,









More information about the systemd-devel mailing list