[systemd-bugs] [Bug 82240] New: In the service file, the environment variable begin from single quote is parsed incorrectly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 6 02:28:53 PDT 2014


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

          Priority: medium
            Bug ID: 82240
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: In the service file, the environment variable begin
                    from single quote is parsed incorrectly
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: waitingkuo0527 at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

My original post in serverfault:

http://serverfault.com/questions/618286/how-can-i-set-the-environment-value-which-is-begin-from-a-single-quote-in-system

I'd like to set a environment value as
'{"a"=1}'

I've tried followings:

Environment=SETTINGS=\'{"a"=1}\'
Environment=SETTINGS='{"a"=1}'

But I still get the {"a"=1} as the value but not '{"a"=1}'. It seems that the
parser runs twice.

-- 
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/20140806/efc3f956/attachment.html>


More information about the systemd-bugs mailing list