<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Greetings!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
We use <code>systemctl --user</code> to manager user level services.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
No matter the OS (Ubuntu 20 and AlamaLinux 8 for example) it fails w/ “Failed to connect to bus: No such file or directory” in reference to
<code>/run/user/<UID>/bus</code>.<br>
<br>
This is using:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<table width="100%" style="font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 1em; font-weight: normal; background-color: rgb(244, 245, 247); color: black; line-height: 1.4em !important;" id="tableSelected0">
<tbody>
<tr>
<td style="padding:0em;vertical-align:top">
<pre style="margin:10px 10px 0px;width:auto"><span style="font-family:Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important" class="ContentPasted1">OpenVZ release 7.0.19 (347)</span></pre>
</td>
</tr>
<tr>
<td style="padding:0em;vertical-align:top"><br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
To reproduce:<br>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<ol data-listchain="__List_Chain_39">
<li><span>ssh in as user (su - <USER> is usually not sufficient).</span></li><li>
<div><span>execute <code style="text-align: start; color: rgb(0, 0, 0);" class="ContentPasted2">systemctl --user</code><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2"> </span></span></span></div>
</li><li style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2">Note failed to connect to bus error</span></span></span></div>
</li><ol style="list-style-type: lower-alpha;">
<li style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2">even if a user has no services that should have non-error output and exit
clean<br>
</span></span></span></div>
</li></ol>
</ol>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4">Doing
the libvirt.conf suggestion for an existing user at <a href="https://docs.virtuozzo.com/libvirt-docs-5.6.0/html/dbus.html" id="LPNoLPOWALinkPreview">https://docs.virtuozzo.com/libvirt-docs-5.6.0/html/dbus.html</a> had no effect.<br>
<br>
</span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4">Any
idea how to get <code style="color: rgb(0, 0, 0);" class="ContentPasted5">systemctl --user</code><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5"> working on servers running on top
of OpenVZ?<br>
</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5"><br>
</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5">TIA!</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5"><br>
</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5">--</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5">Dan</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5"><br>
</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5"><br>
</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5"><br>
</span></span></span></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="text-align: start; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted2"><span class="ContentPasted2 ContentPasted3 ContentPasted4"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); display: inline !important;" class="ContentPasted5"><br>
</span></span></span></span></div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<br>
</div>
</body>
</html>