Public bug reported:

I've been running Ubuntu 20.04 LTS on some servers for a while. This
week, they started going non-responsive. Plugging in monitors and
keyboards to them, I found they had gone to sleep, and waking them up
showed the purple gdm login screen. Before, they've always just had my
good friend getty showing a black and white "login: " prompt.

Watching their behaviour for about an hour, I found the suspends were
happening at 20 minute intervals, which is gdm's default sleep timer, so
I'm reasonably confident my downtime problem was because gdm had self-
activated unexpectedly.

I checked my logs and found that unattended-upgrades had installed a new
version overnight. I'd never noticed I even had gdm3 installed because
it was never active before, and I'm still working out why that is, and
I've disabled and purged it, but regardless I am surprised that the
upgrade self-activated it like that without my consent.

I would like to ask that gdm3's configure script takes account of the
current `service enable`/`service disable`/`systemctl enable`/`systemctl
disable` state, if it's not already doing that. Or, just don't touch
`service` at all during an upgrade. During an install is fine, but
please not during an upgrade.


Here's version details from the two servers I've seen this on so far:

root@romane:~# lsb_release -rd
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
root@romane:~# apt-cache policy gdm3
gdm3:
  Installed: (none)
  Candidate: 3.36.3-0ubuntu0.20.04.4
  Version table:
     3.36.3-0ubuntu0.20.04.4 500
        500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 
Packages
     3.36.3-0ubuntu0.20.04.2 500
        500 http://ca.archive.ubuntu.com/ubuntu focal-security/main amd64 
Packages
     3.34.1-1ubuntu1 500
        500 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 Packages

root@rosenberg:~# lsb_release -rd
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
root@rosenberg:~# apt-cache policy gdm3
gdm3:
  Installed: 3.36.3-0ubuntu0.20.04.4
  Candidate: 3.36.3-0ubuntu0.20.04.4
  Version table:
 *** 3.36.3-0ubuntu0.20.04.4 500
        500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     3.36.3-0ubuntu0.20.04.2 500
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     3.34.1-1ubuntu1 500
        500 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 Packages


Here's the relevant upgrade logs from the two:

root@romane:~# grep 2022-02-10 /var/log/dpkg.log | grep gdm3
2022-02-10 06:22:56 install gdm3:amd64 3.36.3-0ubuntu0.20.04.3 
3.36.3-0ubuntu0.20.04.4
2022-02-10 06:22:56 status half-installed gdm3:amd64 3.36.3-0ubuntu0.20.04.3
2022-02-10 06:22:56 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
2022-02-10 06:25:01 configure gdm3:amd64 3.36.3-0ubuntu0.20.04.4 <none>
2022-02-10 06:25:01 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
2022-02-10 06:25:01 status half-configured gdm3:amd64 3.36.3-0ubuntu0.20.04.4
2022-02-10 06:25:02 status installed gdm3:amd64 3.36.3-0ubuntu0.20.04.4

root@rosenberg:~# grep 2022-02-13 /var/log/dpkg.log | grep gdm3
2022-02-13 06:08:05 install gdm3:amd64 <none> 3.36.3-0ubuntu0.20.04.4
2022-02-13 06:08:05 status half-installed gdm3:amd64 3.36.3-0ubuntu0.20.04.4
2022-02-13 06:08:06 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
2022-02-13 06:11:52 configure gdm3:amd64 3.36.3-0ubuntu0.20.04.4 <none>
2022-02-13 06:11:52 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
2022-02-13 06:11:52 status half-configured gdm3:amd64 3.36.3-0ubuntu0.20.04.4
2022-02-13 06:11:53 status installed gdm3:amd64 3.36.3-0ubuntu0.20.04.4

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm3 in Ubuntu.
https://bugs.launchpad.net/bugs/1960857

Title:
  gdm3 self-enables during upgrade

Status in gdm3 package in Ubuntu:
  New

Bug description:
  I've been running Ubuntu 20.04 LTS on some servers for a while. This
  week, they started going non-responsive. Plugging in monitors and
  keyboards to them, I found they had gone to sleep, and waking them up
  showed the purple gdm login screen. Before, they've always just had my
  good friend getty showing a black and white "login: " prompt.

  Watching their behaviour for about an hour, I found the suspends were
  happening at 20 minute intervals, which is gdm's default sleep timer,
  so I'm reasonably confident my downtime problem was because gdm had
  self-activated unexpectedly.

  I checked my logs and found that unattended-upgrades had installed a
  new version overnight. I'd never noticed I even had gdm3 installed
  because it was never active before, and I'm still working out why that
  is, and I've disabled and purged it, but regardless I am surprised
  that the upgrade self-activated it like that without my consent.

  I would like to ask that gdm3's configure script takes account of the
  current `service enable`/`service disable`/`systemctl
  enable`/`systemctl disable` state, if it's not already doing that. Or,
  just don't touch `service` at all during an upgrade. During an install
  is fine, but please not during an upgrade.

  
  Here's version details from the two servers I've seen this on so far:

  root@romane:~# lsb_release -rd
  Description:  Ubuntu 20.04.3 LTS
  Release:      20.04
  root@romane:~# apt-cache policy gdm3
  gdm3:
    Installed: (none)
    Candidate: 3.36.3-0ubuntu0.20.04.4
    Version table:
       3.36.3-0ubuntu0.20.04.4 500
          500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 
Packages
       3.36.3-0ubuntu0.20.04.2 500
          500 http://ca.archive.ubuntu.com/ubuntu focal-security/main amd64 
Packages
       3.34.1-1ubuntu1 500
          500 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 Packages

  root@rosenberg:~# lsb_release -rd
  Description:  Ubuntu 20.04.3 LTS
  Release:      20.04
  root@rosenberg:~# apt-cache policy gdm3
  gdm3:
    Installed: 3.36.3-0ubuntu0.20.04.4
    Candidate: 3.36.3-0ubuntu0.20.04.4
    Version table:
   *** 3.36.3-0ubuntu0.20.04.4 500
          500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       3.36.3-0ubuntu0.20.04.2 500
          500 http://security.ubuntu.com/ubuntu focal-security/main amd64 
Packages
       3.34.1-1ubuntu1 500
          500 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 Packages


  Here's the relevant upgrade logs from the two:

  root@romane:~# grep 2022-02-10 /var/log/dpkg.log | grep gdm3
  2022-02-10 06:22:56 install gdm3:amd64 3.36.3-0ubuntu0.20.04.3 
3.36.3-0ubuntu0.20.04.4
  2022-02-10 06:22:56 status half-installed gdm3:amd64 3.36.3-0ubuntu0.20.04.3
  2022-02-10 06:22:56 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
  2022-02-10 06:25:01 configure gdm3:amd64 3.36.3-0ubuntu0.20.04.4 <none>
  2022-02-10 06:25:01 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
  2022-02-10 06:25:01 status half-configured gdm3:amd64 3.36.3-0ubuntu0.20.04.4
  2022-02-10 06:25:02 status installed gdm3:amd64 3.36.3-0ubuntu0.20.04.4

  root@rosenberg:~# grep 2022-02-13 /var/log/dpkg.log | grep gdm3
  2022-02-13 06:08:05 install gdm3:amd64 <none> 3.36.3-0ubuntu0.20.04.4
  2022-02-13 06:08:05 status half-installed gdm3:amd64 3.36.3-0ubuntu0.20.04.4
  2022-02-13 06:08:06 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
  2022-02-13 06:11:52 configure gdm3:amd64 3.36.3-0ubuntu0.20.04.4 <none>
  2022-02-13 06:11:52 status unpacked gdm3:amd64 3.36.3-0ubuntu0.20.04.4
  2022-02-13 06:11:52 status half-configured gdm3:amd64 3.36.3-0ubuntu0.20.04.4
  2022-02-13 06:11:53 status installed gdm3:amd64 3.36.3-0ubuntu0.20.04.4

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to