[systemd-bugs] [Bug 67971] New: systemd-run splits ARGS with spaces
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 9 20:37:56 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=67971
Priority: medium
Bug ID: 67971
Assignee: systemd-bugs at lists.freedesktop.org
Summary: systemd-run splits ARGS with spaces
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: redneb at gmx.com
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: systemd
When I am issuing the following command
systemd-run /bin/sh -c 'sleep 5'
it doesn't work as expected, instead it gives the following:
Aug 09 23:18:00 vmg systemd[1]: Starting /bin/sh -c sleep 5...
Aug 09 23:18:00 vmg systemd[1]: Started /bin/sh -c sleep 5.
Aug 09 23:18:00 vmg sh[537]: sleep: missing operand
Aug 09 23:18:00 vmg sh[537]: Try 'sleep --help' for more information.
Aug 09 23:18:00 vmg systemd[1]: run-536.service: main process exited,
code=exited, status=1/FAILURE
Aug 09 23:18:00 vmg systemd[1]: Unit run-536.service entered failed state.
It seems that systemd-run splits the 'sleep 5' and executes
/bin/sh -c sleep 5
instead of
/bin/sh -c 'sleep 5'
Is this the expected behavior?
--
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/20130810/f1ec055b/attachment.html>
More information about the systemd-bugs
mailing list