[Bug 1923472] [NEW] xdm fails to start on Sundays

Michael Rutter 1923472 at bugs.launchpad.net
Mon Apr 12 15:26:29 UTC 2021


Public bug reported:

On the first login of the week, xdm (1.1.11-3ubuntu2) fails to start on
Ubuntu 20.04.

More correctly, it does start, but exits almost immediately on signal
12. It leaves /var/run/xdm.pid behind, and also a running X server with
no clients. This makes it hard to restart, for one needs to kill the X
server and remove the pid file first.

The cause is logrotate running during startup and killing xdm before xdm
installs a handler for SIGUSR2. The issue is more fully described
upstream at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948346

In passing I would comment that running logrotate so early during
startup seems strange to me. Startup would surely be faster if these
sort of "cron" jobs were left until it had finished?

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1923472

Title:
  xdm fails to start on Sundays

Status in systemd package in Ubuntu:
  New

Bug description:
  On the first login of the week, xdm (1.1.11-3ubuntu2) fails to start
  on Ubuntu 20.04.

  More correctly, it does start, but exits almost immediately on signal
  12. It leaves /var/run/xdm.pid behind, and also a running X server
  with no clients. This makes it hard to restart, for one needs to kill
  the X server and remove the pid file first.

  The cause is logrotate running during startup and killing xdm before
  xdm installs a handler for SIGUSR2. The issue is more fully described
  upstream at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948346

  In passing I would comment that running logrotate so early during
  startup seems strange to me. Startup would surely be faster if these
  sort of "cron" jobs were left until it had finished?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1923472/+subscriptions



More information about the foundations-bugs mailing list