Bug 87393

Summary: Cannot pass a single semicolon as service command argument
Product: systemd Reporter: tomsod-m
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: the patch

Description tomsod-m 2014-12-17 05:39:07 UTC
Created attachment 110933 [details]
the patch

Due to erroneous unescaping, the "\;" argument to a service command line, which should be translated to ";", usually gives "; " instead. Some programs react to this badly.
This happens because argument length isn't corrected when discarding the backslash. I've attached a one-line patch that should fix the issue.
Comment 1 Zbigniew Jedrzejewski-Szmek 2014-12-18 05:57:14 UTC
Applied in http://cgit.freedesktop.org/systemd/systemd/commit/?id=3851c51ad1.

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.