<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - In the service file, the environment variable begin from single quote is parsed incorrectly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82240">82240</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>In the service file, the environment variable begin from single quote is parsed incorrectly
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>waitingkuo0527@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>My original post in serverfault:
<a href="http://serverfault.com/questions/618286/how-can-i-set-the-environment-value-which-is-begin-from-a-single-quote-in-system">http://serverfault.com/questions/618286/how-can-i-set-the-environment-value-which-is-begin-from-a-single-quote-in-system</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>