Bug#762239: kdm restart might fail on systemd

2015-04-02 Thread John Paul Adrian Glaubitz
Control: tags -1 moreinfo
Control: tags -1 unreproducible

 ● kdm.service - LSB: X display manager for KDE
   Loaded: loaded (/etc/init.d/kdm)
 Drop-In: /run/systemd/generator/kdm.service.d
   └─50-kdm-$x-display-manager.conf
  Active: active (exited) since sab 2014-09-20 00:27:03 CEST; 1min 9s ago
 Process: 11247 ExecStop=/etc/init.d/kdm stop (code=exited,
status=0/SUCCESS)
 Process: 11287 ExecStart=/etc/init.d/kdm start (code=exited,
status=0/SUCCESS)

 set 20 00:27:00 hal9000 systemd[1]: Starting LSB: X display manager
for KDE...
 set 20 00:27:03 hal9000 kdm[11287]: Starting K Display Manager:
kdmfailed (already running).
 set 20 00:27:03 hal9000 systemd[1]: Started LSB: X display manager for
KDE.

I'm not sure what happened from the systemd status messaage. Did kdm
actually restart when you issued systemctl restart kdm.service?

Please provide some more detailed information what you actually did
and what the outcome was. I can't currently reproduce this issue,
kdm restarts just fine when running systemd.

In any case, you may also have a look at #755359 [1] where I have
provided a systemd service file for kdm which you can install
and have /etc/systemd/systemd/default-display-manager.service
point to it. This will turn kdm into a native systemd service.

I will be providing a full patch to the actual kdm package in a minute.

Adrian

 [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755359

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


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



Bug#762239: kdm restart might fail on systemd

2014-09-19 Thread Salvo Tomaselli
Package: kdm
Version: 4:4.11.11-2
Severity: normal

Dear Maintainer,
Apparently kdm, sometimes has problems restarting.

I am not sure if it's relevant but I'm using systemd right now.

I attach the daemon status, including the not much log I got.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.1d (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kdm depends on:
ii  adduser   3.113+nmu3
ii  debconf [debconf-2.0] 1.5.53
ii  kde-runtime   4:4.14.0-2
ii  kde-wallpapers-default4:4.14.0-1
ii  kde-workspace-kgreet-plugins  4:4.11.11-2
ii  libc6 2.19-11
ii  libkdecore5   4:4.14.1-1
ii  libkdeui5 4:4.14.1-1
ii  libkio5   4:4.14.1-1
ii  libknewstuff3-4   4:4.14.1-1
ii  libkworkspace4abi24:4.11.11-2
ii  libpam0g  1.1.8-3.1
ii  libqimageblitz4   1:0.0.6-4
ii  libqt4-svg4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqt4-xml4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtcore44:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtgui4 4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libstdc++64.9.1-14
ii  libx11-6  2:1.6.2-3
ii  libxau6   1:1.0.8-1
ii  libxdmcp6 1:1.1.1-1
ii  libxtst6  2:1.2.2-1
ii  lsb-base  4.1+Debian13

Versions of packages kdm recommends:
ii  kde-window-manager [x-window-manager]  4:4.11.11-2
ii  kde-workspace  4:4.11.11-2
ii  konsole [x-terminal-emulator]  4:4.14.1-1
ii  logrotate  3.8.7-1
ii  xserver-xephyr [xserver]   2:1.16.0.901-1
ii  xserver-xorg [xserver] 1:7.7+7
ii  xterm [x-terminal-emulator]310-1

Versions of packages kdm suggests:
pn  kde-wallpapers  none
ii  kdepasswd   4:4.14.0-1

-- Configuration Files:
/etc/kde4/kdm/kdmrc changed:
[General]
ConfigVersion=2.4
StaticServers=:0
ReserveServers=:1,:2,:3
ServerVTs=-7
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
GreeterUID=kdm
[Xdmcp]
Enable=false
Willing=/etc/kde4/kdm/Xwilling
[Shutdown]
[X-*-Core]
Setup=/etc/kde4/kdm/Xsetup
Startup=/etc/kde4/kdm/Xstartup
Reset=/etc/kde4/kdm/Xreset
Session=/etc/kde4/kdm/Xsession
AllowRootLogin=false
AllowNullPasswd=false
AllowShutdown=Root
ClientLogFile=.xsession-errors-%d
[X-*-Greeter]
LogoArea=Logo
LogoPixmap=/usr/share/kde4/apps/kdm/pics/kdelogo.png
MinShowUID=1000
MaxShowUID=2
Preloader=/usr/bin/preloadkde
UseTheme=true
Theme=@@@ToBeReplacedByDesktopBase@@@
[X-:*-Core]
ServerCmd=/usr/bin/X
ServerArgsLocal=-br -nolisten tcp
AllowNullPasswd=true
AllowShutdown=All
[X-:*-Greeter]
PreselectUser=Previous
FocusPasswd=true
LoginMode=DefaultLocal
AllowClose=true
[X-:0-Core]
AutoLoginEnable=true
AutoLoginUser=salvo
AutoLoginLocked=true
ClientLogFile=.xsession-errors
[X-:0-Greeter]


-- debconf information:
  kdm/stop_running_server_with_children: false
* shared/default-x-display-manager: kdm
  kdm/daemon_name: /usr/bin/kdm
● kdm.service - LSB: X display manager for KDE
   Loaded: loaded (/etc/init.d/kdm)
  Drop-In: /run/systemd/generator/kdm.service.d
   └─50-kdm-$x-display-manager.conf
   Active: active (exited) since sab 2014-09-20 00:27:03 CEST; 1min 9s ago
  Process: 11247 ExecStop=/etc/init.d/kdm stop (code=exited, status=0/SUCCESS)
  Process: 11287 ExecStart=/etc/init.d/kdm start (code=exited, status=0/SUCCESS)

set 20 00:27:00 hal9000 systemd[1]: Starting LSB: X display manager for KDE...
set 20 00:27:03 hal9000 kdm[11287]: Starting K Display Manager: kdmfailed 
(already running).
set 20 00:27:03 hal9000 systemd[1]: Started LSB: X display manager for KDE.