Bug#778362: Periodic (90s) restart of KDM by systemd on jessie

Jedd Rashbrooke jedd.rashbrooke at gmail.com
Sat Feb 14 01:22:34 GMT 2015


Package: systemd
Version: 215-10

Platform -- Dell M3800 (XPS-15 alike) laptop, dm-crypt rootfs, jessie
with main/contrib/non-free, nVidia binary drivers (dkms).   *Mostly* a
vanilla Jessie install (dm-crypt'd / is the obvious out of the
ordinary config item).  Note - NOT an upgraded Debian installation -
wheezy (ISO) then dist-upgrade.  One hiccup during dist-upgrade
relating to cryptsetup not being put into initrd - subsequently
resolved.   Jessie linux-image:  Linux shpongle 3.18.0-trunk-amd64 #1
SMP Debian 3.18.3-1~exp1 (2015-01-18) x86_64 GNU/Linux


Problem -- on boot, KDM starts fine.  Whether I log in or not, KDM
restarts precisely every 90 seconds.  (The problem is exacerbated by
my profound lack of systemd-fu.)



journalctl produces notice that kdm.service failed, and restarts it,
but I can't find where to determine why it failed.

Unedited output of   "journalctl -f"  follows here, including
subsequent systemctl (below) period:


shpongle:~# journalctl -f
-- Logs begin at Sat 2015-02-14 12:02:45 AEDT. --
Feb 14 12:03:31 shpongle console-kit-daemon[1318]: (process:1596):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:03:31 shpongle console-kit-daemon[1318]: (process:1597):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:03:31 shpongle console-kit-daemon[1318]: (process:1598):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:03:55 shpongle sshd[1602]: Accepted publickey for root from
192.168.1.10 port 58966 ssh2: RSA
f4:17:b4:a7:20:eb:ec:4b:e4:e8:ef:63:88:f6:a5:89
Feb 14 12:03:55 shpongle sshd[1602]: pam_unix(sshd:session): session
opened for user root by (uid=0)
Feb 14 12:03:55 shpongle systemd-logind[796]: New session 3 of user root.
Feb 14 12:03:55 shpongle console-kit-daemon[1318]: (process:1606):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:03:55 shpongle console-kit-daemon[1318]: (process:1607):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:03:55 shpongle console-kit-daemon[1318]: (process:1608):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:03:55 shpongle console-kit-daemon[1318]: missing action
Feb 14 12:04:17 shpongle systemd[1]: kdm.service start operation timed
out. Terminating.
Feb 14 12:04:17 shpongle systemd[1]: Failed to start KDE Display Manager.
Feb 14 12:04:17 shpongle systemd[1]: Dependency failed for X11 Display Manager.
Feb 14 12:04:17 shpongle systemd[1]: Unit kdm.service entered failed state.
Feb 14 12:04:18 shpongle console-kit-daemon[1318]: (process:1636):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:04:18 shpongle console-kit-daemon[1318]: (process:1637):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:04:18 shpongle console-kit-daemon[1318]: (process:1638):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:04:41 shpongle sshd[1650]: Accepted publickey for root from
192.168.1.10 port 58980 ssh2: RSA
f4:17:b4:a7:20:eb:ec:4b:e4:e8:ef:63:88:f6:a5:89
Feb 14 12:04:41 shpongle sshd[1650]: pam_unix(sshd:session): session
opened for user root by (uid=0)
Feb 14 12:04:41 shpongle systemd-logind[796]: New session 4 of user root.
Feb 14 12:04:41 shpongle console-kit-daemon[1318]: (process:1654):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:04:41 shpongle console-kit-daemon[1318]: (process:1655):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:04:41 shpongle console-kit-daemon[1318]: (process:1656):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:04:41 shpongle console-kit-daemon[1318]: missing action
Feb 14 12:05:01 shpongle CRON[1672]: pam_unix(cron:session): session
opened for user root by (uid=0)
Feb 14 12:05:01 shpongle CRON[1673]: (root) CMD (command -v debian-sa1
> /dev/null && debian-sa1 1 1)
Feb 14 12:05:01 shpongle CRON[1672]: pam_unix(cron:session): session
closed for user root
Feb 14 12:05:41 shpongle console-kit-daemon[1318]: (process:1677):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:41 shpongle console-kit-daemon[1318]: (process:1678):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:41 shpongle console-kit-daemon[1318]: (process:1679):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:48 shpongle systemd[1]: kdm.service start operation timed
out. Terminating.
Feb 14 12:05:48 shpongle console-kit-daemon[1318]: (process:1685):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:48 shpongle console-kit-daemon[1318]: (process:1686):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:48 shpongle console-kit-daemon[1318]: (process:1687):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:48 shpongle systemd[1]: Failed to start KDE Display Manager.
Feb 14 12:05:48 shpongle systemd[1]: Dependency failed for X11 Display Manager.
Feb 14 12:05:48 shpongle systemd[1]: Unit kdm.service entered failed state.
Feb 14 12:05:48 shpongle console-kit-daemon[1318]: (process:1698):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:48 shpongle console-kit-daemon[1318]: (process:1699):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:05:48 shpongle console-kit-daemon[1318]: (process:1700):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:07:18 shpongle systemd[1]: kdm.service start operation timed
out. Terminating.
Feb 14 12:07:20 shpongle console-kit-daemon[1318]: (process:1717):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:07:20 shpongle systemd[1]: Failed to start KDE Display Manager.
Feb 14 12:07:20 shpongle systemd[1]: Dependency failed for X11 Display Manager.
Feb 14 12:07:20 shpongle systemd[1]: Unit kdm.service entered failed state.
Feb 14 12:07:20 shpongle console-kit-daemon[1318]: (process:1718):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:07:20 shpongle console-kit-daemon[1318]: (process:1722):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:07:20 shpongle console-kit-daemon[1318]: (process:1732):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:07:20 shpongle console-kit-daemon[1318]: (process:1733):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
Feb 14 12:07:20 shpongle console-kit-daemon[1318]: (process:1734):
GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed







I've taken systemctl status dumps (below) before and after that one
particular KDM restart.


shpongle:~# systemctl status kdm.service
● kdm.service - KDE Display Manager
   Loaded: loaded (/lib/systemd/system/kdm.service; enabled)
  Drop-In: /run/systemd/generator/kdm.service.d
           └─50-kdm-$x-display-manager.conf
   Active: activating (start) since Sat 2015-02-14 12:04:17 AEDT; 41s ago
     Docs: man:kdm(1)
  Process: 1628 ExecStartPre=/bin/sh -c [ "$(cat
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/kdm" ]
(code=exited, status=0/SUCCESS)
  Control: 1631 (kdm)
   CGroup: /system.slice/kdm.service
           ├─1631 /usr/bin/kdm
           ├─1633 /usr/bin/X :0 vt7 -br -nolisten tcp -auth
/var/run/xauth/A:0-5nfVMb
           ├─1641 -:0
           └─1642 /usr/lib/kde4/libexec/kdm_greet


shpongle:~# systemctl status kdm.service
● kdm.service - KDE Display Manager
   Loaded: loaded (/lib/systemd/system/kdm.service; enabled)
  Drop-In: /run/systemd/generator/kdm.service.d
           └─50-kdm-$x-display-manager.conf
   Active: activating (start) since Sat 2015-02-14 12:05:48 AEDT; 3s ago
     Docs: man:kdm(1)
  Process: 1690 ExecStartPre=/bin/sh -c [ "$(cat
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/kdm" ]
(code=exited, status=0/SUCCESS)
  Control: 1693 (kdm)
   CGroup: /system.slice/kdm.service
           ├─1693 /usr/bin/kdm
           ├─1695 /usr/bin/X :0 vt7 -br -nolisten tcp -auth
/var/run/xauth/A:0-1o2gGb
           ├─1703 -:0
           └─1704 /usr/lib/kde4/libexec/kdm_greet




 Of course, very happy to provide dumps, info, config files, logs, etc.



More information about the Pkg-systemd-maintainers mailing list