<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 --- - multiple .(dots) in unit file name does not work"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65255">65255</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>multiple .(dots) in unit file name does not work
          </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>ghodechhap@ghodechhap.net
          </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>If the unit file name contains multiple . characters such as
webproxy.container.service, systemctl cannot use it.

If the unit file is renamed such that it contains only one '.' character(e.g.
webproxy_container.sevice), systemctl can handle it.

Following is the defect reproduction on archlinux x86_64 with systemd 204.


[root@bheem shridhar]# cd /etc/systemd/system/multi-user.target.wants/

[root@bheem multi-user.target.wants]# cat webproxy_container.service 
[Unit]
Description=Container webproxy service

[Service]
Type=forking
ExecStart=/usr/bin/lxc-start -d -n webproxy
ExecStop=/usr/bin/lxc-stop -n webproxy
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

[root@bheem multi-user.target.wants]# systemctl start webproxy_container

[root@bheem multi-user.target.wants]# lxc-info -n webproxy
state:   RUNNING
pid:      2579

[root@bheem multi-user.target.wants]# systemctl stop webproxy_container

[root@bheem multi-user.target.wants]# lxc-info -n webproxy
state:   STOPPED
pid:        -1

[root@bheem multi-user.target.wants]# cp webproxy_container.service
webproxy.container.service 

[root@bheem multi-user.target.wants]# systemctl start webproxy.container
Failed to issue method call: Unit webproxy.container.service failed to load: No
such file or directory. See system logs and 'systemctl status
webproxy.container.service' for details.

[root@bheem multi-user.target.wants]# pacman -Qs systemd
local/initscripts 2012.10.1-1
    System initialization/bootup scripts
local/netctl 1.1-1 (base)
    Profile based systemd network management
local/systemd 204-2
    system and service manager
local/systemd-arch-units 20120915-2
    Arch specific Systemd unit files
local/systemd-sysvcompat 204-2 (base)                                           
    sysvinit compat for systemd</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>