<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 --- - Services with special characters in the name which fail during "systemctl start" display an incorrect error message"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82832">82832</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Services with special characters in the name which fail during "systemctl start" display an incorrect error message
          </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>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>seejay.11@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>Created <span class=""><a href="attachment.cgi?id=104929" name="attach_104929" title="Terminal session providing a better view of the issue">attachment 104929</a> <a href="attachment.cgi?id=104929&action=edit" title="Terminal session providing a better view of the issue">[details]</a></span>
Terminal session providing a better view of the issue

Running a command like the following will give a bad error message on failure:

systemctl start 'netctl@wlo1\x2dSKY8B120.service'

The error message given is:

Job for netctl@wlo1\x2dSKY8B120.service failed. See 'systemctl status
netctl@wlo1\x2dSKY8B120.service' and 'journalctl -xn' for details.

Typing "systemctl status netctl@wlo1\x2dSKY8B120.service" into the shell does
not have the expected behaviour as the backslash is parsed by the shell which
causes systemctl to check the wrong service. The service name should be quoted
or adequately escaped.
The attached log shows "netctl" being used, because I originally assumed this
was a netctl bug. I have tried this with "systemctl start
'netctl@wlo1\x2dSKY8B120.service'" and it prints the same message with the same
mistake.</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>