unattended-upgrades triggers reboot despite configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I've been having problems with my Ubuntu machine suddenly rebooting without any warning. To my knowledge Ubuntu Desktop is not supposed to reboot without warning by default.
I believe this is being triggered by unattended-upgrades
unattended-upgrades 2.3 (amd64)
Ubuntu Desktop:
Description: Ubuntu 20.04 LTS
Release: 20.04
One pattern that emerges is that the reboot happens right after unattended-upgrades completes successfully. There are multiple examples in my /var/log/syslog, but all show "unattended-
Jul 15 11:17:01 pc systemd[2065]: Starting Notification regarding a new release of Ubuntu...
Jul 15 11:17:14 pc charon: 08[IKE] sending keep alive to 10.10.10.10[4500]
Jul 15 11:17:22 pc check-new-
, '3.0') before import to ensure that the right version gets loaded.
Jul 15 11:17:22 pc check-new-
Jul 15 11:17:22 pc check-new-
Jul 15 11:17:22 pc systemd[2065]: update-
Jul 15 11:17:22 pc systemd[2065]: Finished Notification regarding a new release of Ubuntu.
Jul 15 11:17:48 pc mysql-workbench
Jul 15 11:17:54 pc charon: 09[IKE] sending keep alive to 10.10.10.10[4500]
Jul 15 11:18:03 pc systemd[1]: unattended-
Jul 15 11:18:03 pc systemd[1]: Stopping Session 3 of user philip.
Jul 15 11:18:03 pc systemd[1]: Removed slice system-
Jul 15 11:18:03 pc systemd[1]: Removed slice system-getty.slice.
Jul 15 11:18:03 pc systemd[1]: Removed slice system-
Jul 15 11:18:03 pc systemd[1]: Stopped target Block Device Preparation for /dev/mapper/ubuntu.
Jul 15 11:18:03 pc systemd[2065]: Stopped target GNOME Wayland Session (session: gnome).
From memory I've never edited the contents of /etc/apt/
$ grep -irnC4 reboot /etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
journalctl -u unattended-upgrades
Jul 10 07:52:31 PC systemd[1]: Started Unattended Upgrades Shutdown.
Jul 14 10:03:03 PC systemd[1]: unattended-
-- Reboot --
Jul 14 10:04:11 PC systemd[1]: Started Unattended Upgrades Shutdown.
Jul 15 11:18:03 PC systemd[1]: unattended-
-- Reboot --
Jul 15 11:19:10 PC systemd[1]: Started Unattended Upgrades Shutdown.
It's not clear to me what other information I can offer to help.
description: | updated |
summary: |
- unattended-upgrades triggers reboot without configuration + unattended-upgrades triggers reboot despite configuration |
description: | updated |
description: | updated |
What is the output of:
apt-config dump | grep Reboot
?