[systemd-bugs] [Bug 86711] New: Isolating a templated unit does not work due to improper unit name mangling
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 25 10:47:31 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=86711
Bug ID: 86711
Summary: Isolating a templated unit does not work due to
improper unit name mangling
Product: systemd
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: intelfx100 at gmail.com
QA Contact: systemd-bugs at lists.freedesktop.org
Unit names passed to `systemctl isolate` are improperly mangled, escaping the
'@' character and hence making an invalid unit name.
----
$ systemctl --user cat graphic@:0.target
# /home/operator/.config/systemd/user/graphic at .target
.include need-session at .target
[Unit]
Description=Graphical session %I
Requires=overall.target
AllowIsolate=yes
$ systemctl --user start graphic@:0.target
$ systemctl --user isolate graphic@:0.target
Failed to start graphic\x40:0.target: Operation refused, unit may not be
isolated.
----
Patch will be sent to the ML shortly.
--
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/20141125/9451e4f9/attachment.html>
More information about the systemd-bugs
mailing list