<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 --- - Make linking an instance service to a non-instance name possible"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73290">73290</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Make linking an instance service to a non-instance name possible
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>calimeroteknik@free.fr
</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>** Description: **
Say we have /etc/systemd/system/mydisplaymanager@.service, that contains:
[Install]
Alias=display-manager.service
I would find very useful that such a thing would work:
# systemctl enable <a href="mailto:mydisplaymanager@myuser.service">mydisplaymanager@myuser.service</a>
ln -sf '/etc/systemd/system/<a href="mailto:mydisplaymanager@myuser.service">mydisplaymanager@myuser.service</a>'
'/etc/systemd/system/display-manager.service'
The use case here is pretty obvious: it's a user-bound login manager.
** Present situation: **
# systemctl enable <a href="mailto:mydisplaymanager@myuser.service">mydisplaymanager@myuser.service</a>
ln -sf '/etc/systemd/system/mydisplaymanager@.service'
'/etc/systemd/system/display-manager.service'
I tried creating the symlink by hand:
# ln -sf '/etc/systemd/system/<a href="mailto:mydisplaymanager@myuser.service">mydisplaymanager@myuser.service</a>'
'/etc/systemd/system/display-manager.service'
And:
# systemctl status display-manager.service
display-manager.service
Loaded: not-found (Reason: No such file or directory)
Adrive: inactive (dead)
Looking forward to this feature in v209!</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>