Summary: | systemd-run splits ARGS with spaces | ||
---|---|---|---|
Product: | systemd | Reporter: | redneb <redneb> |
Component: | general | Assignee: | Zbigniew Jedrzejewski-Szmek <zbyszek> |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
redneb
2013-08-10 03:37:56 UTC
Workaround for now: # systemd-run /bin/sh -c \'sleep 5\' or # systemd-run /bin/sh -c "'sleep 5'" You remove the empty "ExecStart=", which basically clears all previous ExecStart! - fputs("ExecStart=", f); Please add it back. (In reply to comment #4) > You remove the empty "ExecStart=", which basically clears all previous > ExecStart! > > - fputs("ExecStart=", f); > > Please add it back. Hm, I admit that I'm not sure what the empty ExecStart line is for, don't we create the unit from scratch and can't we put anything we want in the ExecStart line right from the beginning? Nevertheless, I didn't touch it. If I do: sudo systemd-run /bin/sleep " 100000" I have: ==> /run/systemd/system/run-3233.service.d/90-ExecStart.conf <== [Service] ExecStart= ExecStart=@/bin/sleep "/bin/sleep" " 100000" and before my changes: ==> /run/systemd/system/run-4335.service.d/90-ExecStart.conf <== [Service] ExecStart= ExecStart=@/bin/sleep /bin/sleep 100000 Seems to be the same, module the bug, or am I missing something? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.