[systemd-bugs] [Bug 90794] [v220 regression] "Failed to unescape command line"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 2 14:18:08 PDT 2015


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

--- Comment #4 from Michael Biebl <mbiebl at gmail.com> ---
Even with this patch applied, I still get failures when trying to start
sudo.service.

Without the patch, I got:

Mai 30 15:06:24 pluto systemd[1]: [/lib/systemd/system/sudo.service:7] Failed
to unescape command line, ignoring: /usr/bin/find /var/lib/sudo -exec
/usr/bin/touch -d @0 '{}' \073
Mai 30 15:06:24 pluto systemd[1]: sudo.service: Service lacks both ExecStart=
and ExecStop= setting. Refusing.

Now I get:
# systemctl status sudo.service
● sudo.service - Provide limited super user privileges to specific users
   Loaded: loaded (/lib/systemd/system/sudo.service; enabled; vendor preset:
enabled)
   Active: failed (Result: exit-code) since Di 2015-06-02 22:42:28 CEST; 30min
ago
  Process: 743 ExecStart=/usr/bin/find /var/lib/sudo -exec /usr/bin/touch -d @0
{} \073 (code=exited, status=1/FAILURE)
 Main PID: 743 (code=exited, status=1/FAILURE)

Jun 02 22:42:28 pluto systemd[1]: Starting Provide limited super user
privileges to specific users...
Jun 02 22:42:28 pluto systemd[1]: sudo.service: Main process exited,
code=exited, status=1/FAILURE
Jun 02 22:42:28 pluto systemd[1]: Failed to start Provide limited super user
privileges to specific users.
Jun 02 22:42:28 pluto systemd[1]: sudo.service: Unit entered failed state.
Jun 02 22:42:28 pluto systemd[1]: sudo.service: Failed with result 'exit-code'.
Jun 02 22:42:28 pluto find[743]: /usr/bin/find: Fehlendes Argument für "-exec".

So it still behaves differently then in v215.
This is the comment from sudo.service

# \073 is ';' which needs to be part of the find parameters
ExecStart=/usr/bin/find /var/lib/sudo -exec /usr/bin/touch -d @0 '{}' \073


Looks like systemd v215 did turn \073 into \; ?

-- 
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/20150602/e992c5c5/attachment.html>


More information about the systemd-bugs mailing list