<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:maxime.deroucy@gmail.com" title="Maxime de Roucy <maxime.deroucy@gmail.com>"> <span class="fn">Maxime de Roucy</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - systemctl is-enabled does not work for templated units"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55318">bug 55318</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>maxime.deroucy@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - systemctl is-enabled does not work for templated units"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55318#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - systemctl is-enabled does not work for templated units"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55318">bug 55318</a>
              from <span class="vcard"><a class="email" href="mailto:maxime.deroucy@gmail.com" title="Maxime de Roucy <maxime.deroucy@gmail.com>"> <span class="fn">Maxime de Roucy</span></a>
</span></b>
        <pre>I agree that if templates unit file exist "is-enabled" should output "disabled"
instead of "Failed to get unit file state".

```
max@max-server % systemctl is-enabled systemd-nspawn@.service
disabled
max@max-server % systemctl is-enabled <a href="mailto:systemd-nspawn@test.service">systemd-nspawn@test.service</a>
Failed to get unit file state for <a href="mailto:systemd-nspawn@test.service">systemd-nspawn@test.service</a>: No such file or
directory
```

`systemctl is-enabled <a href="mailto:systemd-nspawn@test.service">systemd-nspawn@test.service</a>` should output "disabled"</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>