<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 18, 2017 at 3:09 PM Simon McVittie <<a href="mailto:smcv@collabora.com">smcv@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 14 Jul 2017 at 12:36:12 +0000, arnaud gaboury wrote:<br>
> After upgrade from Fedora 25 to 26, there is no more user dbus session for user<br>
> in container.<br>
...<br>
> On container, user can't connect to dbus session, and I have no idea why.<br>
> May someone please give me some hints on how to debug this issue?<br>
<br>
Please start by reading the system log (the Journal).<br>
<br>
The chain of events that is meant to result in a D-Bus session bus is:<br>
<br>
* A user logging in (somehow) starts a login session<br>
* The login session starts an instance of `systemd --user`<br>
* `systemd --user` starts the dbus.socket user service, listening on<br>
that user's $XDG_RUNTIME_DIR/bus<br>
* Some client in the login session interacts with the session bus<br>
* As a side-effect of connecting to $XDG_RUNTIME_DIR/bus,<br>
`systemd --user` starts the dbus.service user service<br>
(dbus-daemon --session --address=systemd:)<br>
* The dbus-daemon accepts the client's connection<br></blockquote><div><br></div><div><br></div><div>I can't tell in the container the variable DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus. I have tried many places (~/.pam_environment; /etc/systemd/system/<span style="background-color:rgb(235,241,245);color:rgb(34,34,34)">user@.service.d/local.conf; ~/.config/systemd/user.conf</span><span style="background-color:rgb(235,241,245);color:rgb(34,34,34);font-family:monospace;font-size:10.3187px;white-space:pre">). </span></div><div>Could it be at the root of my issue? Do I really need a per user dbsu session in my container?<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The system log should tell you which step in that chain of events is<br>
no longer happening.<br>
<br>
S<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div></div>