Re,

On 11/25/2014 08:53 PM, Axel Beckert wrote:
Hi Thomas,

Thomas Liske wrote:
restarting dbus kills any graphical user session.

I wouldn't say that. But it's probably true for most modern desktop
environments and systemd -- unfortunately.

I'm afraid so!


in the (used) default config, systemd restarted dbus:

Are you able to kill your X session by calling `systemctl
daemon-reexec` manually?

Nope, can still work in that session. :-)

Phew!


Nov 25 11:18:57 c-cactus systemd[1]: Activated swap /dev/…/swap.

At this point `systemctl reexec` should have been finished.

That's also where the log ended after the manual "systemctl
daemon-reexec".

OK

It might be an dependency issue... "X11 Display Manager" depends on
something that needrestart did suggest to restart.

Compared to "modern" login managers, wdm's dependencies are rather lightweight:

Depends: libc6 (>= 2.11), libpam0g (>= 0.99.7.1), libselinux1 (>=
1.32), libwings2 (>= 0.95.0), libwraster3 (>= 0.95.0), libwutil2 (>=
0.95.0), libx11-6, libxau6, libxdmcp6, libxinerama1, libxmu6, debconf
(>= 1.5.20) | debconf-2.0, libpam-runtime (>= 0.76-13.1),
libpam-modules, psmisc, x11-apps, x11-common, x11-xserver-utils,
x11-utils

I meant the systemd services dependencies. I did just take a short look on my local systemd+kdm+kde environment... but I've no idea how it works at all :-(


Are you able to remember which service were selected?

Not at all, because I had set "$nrconf{restart} = 'a'" and systemd
doesn't care to tell me what it does -- compared to needrestart on a
system with good old sysvinit. Meh.

If you did not run needrestart in the meanwhile you might find your
selection still in debconf:

$ grep -A 8 'needrestart/ui-query_pkgs$' /var/cache/debconf/config.dat

This looks very suspicious:


Value: dbus.service, lxc
Variables:
  PKGS = dbus.service, lxc, wdm.service

Value: dbus.service, lxc
  PKGS = dbus.service, lxc, wdm.service

So why the heck are there wdm and dbus listed?

The "Value" field it the important one, the PKGS variable is just used to build the list. If dbus was restarted this was the cause of killing your session :-(


with only one exception:

→ cat /etc/needrestart/conf.d/abe.conf
#$nrconf{restart} = 'a';
$nrconf{ui} = 'NeedRestart::UI::stdio';

Maybe the problem is within the code path of the auto restart mode. This might not be tested as extensive as the list mode... I'll need to dig into it...


Thx & HTH,
Thomas

--

    ::  WWW:                         http://fiasko-nw.net/~thomas/  ::
   :::  Jabber:                   xmpp:tho...@jabber.fiasko-nw.net  :::
    ::  flickr:              http://www.flickr.com/photos/laugufe/  ::


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to