Does ujust update automatically reboot

My laptop seems to sometimes reboot randomly (very rarely) and I’ve noticed that it seems to happen when I run ujust update manually, at the end of the process.

I can see in the log:

...
Jan 28 21:12:17 myhost systemd-logind[2154]: The system will reboot now!
Jan 28 21:12:17 myhost systemd[420652]: Finished ublue-flatpak-manager.service - Manage flatpaks.
Jan 28 21:12:17 myhost systemd-logind[2154]: System is rebooting.
Jan 28 21:12:17 myhost ublue-user-setup[420709]: /root/.local/share/ublue
...

Is there ever any type of change that might cause a reboot? I was thinking maybe a firmware update, but this happens once every other month or so, which seems a bit “too often” (I doubt my laptop would have those that often).

Any chance it’s an asus laptop?

It’s a 2024 Yoga Pro 9i - 16IMH9

Anything in the log before the rebooting? The reason I asked about the model is this appears to be common on Asus hardware.

I reviewed the logs, the first mention of a reboot is:

Jan 28 21:12:08 myhost gnome-software[3896]: /var/tmp/flatpak-cache-QT3T02/repo-blFLWu: Pulled appstream2/x86_64 from flathub
Jan 28 21:12:08 myhost gnome-software[3896]: Tried to set invalid release date: YYYY-MM-DD
Jan 28 21:12:13 myhost gnome-shell[3578]: Gio.IOErrorEnum: Error opening directory '/proc/driver/nvidia/gpus': No such file or directory
                                                        execute/iter</<@file:///home/myuser/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/nvidiaUtil.
js:25:47
                                                        @resource:///org/gnome/shell/ui/init.js:21:20
                                                          
Jan 28 21:12:16 myhost systemd[1]: rpm-ostreed.service: Deactivated successfully.
Jan 28 21:12:16 myhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rpm-ostreed comm="systemd" exe="/usr/lib/sys
temd/systemd" hostname=? addr=? terminal=? res=success'
Jan 28 21:12:17 myhost audit[420633]: USER_ACCT pid=420633 uid=1400601103 auid=1400601103 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_sss,pam_permit acct="myuser" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Jan 28 21:12:17 myhost sudo[420633]: myuser : TTY=pts/0 ; PWD=/usr/share/ublue-os ; USER=root ; COMMAND=/usr/sbin/reboot
Jan 28 21:12:17 myhost audit[420633]: USER_CMD pid=420633 uid=1400601103 auid=1400601103 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/usr/share/ublue-os" cmd="reboot" exe="/usr/bin/sudo" terminal=pts/0 res=success'
Jan 28 21:12:17 myhost audit[420633]: CRED_REFR pid=420633 uid=1400601103 auid=1400601103 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_localuser,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

Here it seems a flatpak was just pulled, then an extension (freon) fails to probe for nvidia gpus (I have booted with the GPU off so the laptop nvidia is disabled), then a pts is assigned and root seems to run reboot…

Same for me. This has happened to me 5 times or more in total. My laptop is lenovo. Here are the last logs:

Apr 01 00:33:52 systemd[1]: Starting rpm-ostreed.service - rpm-ostree System Management Daemon...
Apr 01 00:33:52 rpm-ostree[14121]: Reading config file '/etc/rpm-ostreed.conf'
Apr 01 00:33:52 rpm-ostree[14121]: In idle state; will auto-exit in 60 seconds
Apr 01 00:33:52 systemd[1]: Started rpm-ostreed.service - rpm-ostree System Management Daemon.
Apr 01 00:33:52 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:ini>
Apr 01 00:33:52 rpm-ostree[14121]: client(id:cli dbus:1.203 unit:rpm-ostreed-automatic.service uid:0) added; >
Apr 01 00:33:52 rpm-ostree[14121]: Loaded sysroot
Apr 01 00:33:52 rpm-ostree[14121]: Locked sysroot
Apr 01 00:33:52 rpm-ostree[14121]: Initiated txn AutomaticUpdateTrigger for client(id:cli dbus:1.203 unit:rpm>
Apr 01 00:33:52 systemd[1]: Started rpm-ostreed.service - rpm-ostree System Management Daemon.
Apr 01 00:33:52 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:ini>
Apr 01 00:33:52 rpm-ostree[14121]: client(id:cli dbus:1.203 unit:rpm-ostreed-automatic.service uid:0) added; >
Apr 01 00:33:52 rpm-ostree[14121]: Loaded sysroot
Apr 01 00:33:52 rpm-ostree[14121]: Locked sysroot
Apr 01 00:33:52 rpm-ostree[14121]: Initiated txn AutomaticUpdateTrigger for client(id:cli dbus:1.203 unit:rpm>
Apr 01 00:28:47 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init>
Apr 01 00:29:06 flatpak[12139]: [13K blob data]
Apr 01 00:29:06 flatpak[12139]: [cplayer] Set property: sub-pos="83" -> 1
Apr 01 00:29:12 flatpak[12139]: [647B blob data]
Apr 01 00:29:12 flatpak[12139]: [cplayer] Set property: pause=true -> 1
Apr 01 00:29:12 flatpak[12139]: [120B blob data]
Apr 01 00:29:12 flatpak[12139]: Successful to enable/disable screen saver (enabled: 1)
Apr 01 00:29:25 flatpak[12139]: -> GET /casting
Apr 01 00:29:25 flatpak[12139]: [cplayer] Set property: pause=false -> 1
Apr 01 00:29:25 flatpak[12139]: [113B blob data]
Apr 01 00:29:25 flatpak[12139]: Successful to enable/disable screen saver (enabled: 0)
Apr 01 00:29:28 flatpak[12139]: [359B blob data]
Apr 01 00:29:28 flatpak[12139]: [cplayer] Set property: sub-pos="98" -> 1
Apr 01 00:30:01 systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
Apr 01 00:30:01 systemd[1]: sysstat-collect.service: Deactivated successfully.
Apr 01 00:30:01 systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
Apr 01 00:30:01 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:ini>
Apr 01 00:30:01 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init>
Apr 01 00:33:52 systemd[1]: Starting rpm-ostreed-automatic.service - rpm-ostree Automatic Update...
Apr 01 00:33:52 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:ini>
Apr 01 00:33:52 systemd[1]: Started rpm-ostreed-automatic.service - rpm-ostree Automatic Update.
Apr 01 00:33:52 systemd[1]: Starting rpm-ostreed.service - rpm-ostree System Management Daemon...
Apr 01 00:33:52 rpm-ostree[14121]: Reading config file '/etc/rpm-ostreed.conf'
Apr 01 00:33:52 rpm-ostree[14121]: In idle state; will auto-exit in 60 seconds
Apr 01 00:33:52 systemd[1]: Started rpm-ostreed.service - rpm-ostree System Management Daemon.
Apr 01 00:33:52 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:ini>
Apr 01 00:33:52 rpm-ostree[14121]: client(id:cli dbus:1.203 unit:rpm-ostreed-automatic.service uid:0) added; >
Apr 01 00:33:52 rpm-ostree[14121]: Loaded sysroot
Apr 01 00:33:52 rpm-ostree[14121]: Locked sysroot
Apr 01 00:33:52 rpm-ostree[14121]: Initiated txn AutomaticUpdateTrigger for client(id:cli dbus:1.203 unit:rpm>
Apr 01 00:33:52 rpm-ostree[14121]: Process [pid: 14116 uid: 0 unit: rpm-ostreed-automatic.service] connected >
Apr 01 00:33:52 rpm-ostree[14121]: Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:>
Apr 01 00:33:52 rpm-ostree[14121]: Fetching ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:stable
Apr 01 00:33:55 rpm-ostree[14121]: Importing: ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:stable >
Apr 01 00:33:55 rpm-ostree[14121]: ostree chunk layers already present: 36
Apr 01 00:33:55 rpm-ostree[14121]: ostree chunk layers needed: 37 (2.6 GB)
Apr 01 00:33:55 rpm-ostree[14121]: layers already present: 36; layers needed: 37 (2.6 GB)
Apr 01 00:34:06 rpm-ostree[14121]: [0/37] Fetching ostree chunk 97f6271ef63742c40ca (61.7 MB)...done
Apr 01 00:34:15 rpm-ostree[14121]: [1/37] Fetching ostree chunk 248bebcf5c00856fa10 (44.1 MB)...done
Apr 01 00:34:17 rpm-ostree[14121]: [2/37] Fetching ostree chunk 50464955cc86d39c807 (9.1 MB)...done
Apr 01 00:35:13 rpm-ostree[14121]: [3/37] Fetching ostree chunk d0fd9627476659eb262 (300.4 MB)...done
Apr 01 00:35:59 rpm-ostree[14121]: [4/37] Fetching ostree chunk 15618a7d127ab8bc2bd (236.4 MB)...done
Apr 01 00:36:10 rpm-ostree[14121]: [5/37] Fetching ostree chunk 580da6d01e5b609d42f (50.5 MB)...done
Apr 01 00:36:50 rpm-ostree[14121]: [6/37] Fetching ostree chunk b2c507a4c99b38d5827 (211.9 MB)...done
Apr 01 00:36:55 flatpak[12139]: [48K blob data]
Apr 01 00:36:56 rpm-ostree[14121]: [7/37] Fetching ostree chunk a03917a8b24cc5c92c9 (27.3 MB)...done
Apr 01 00:36:59 rpm-ostree[14121]: [8/37] Fetching ostree chunk 6847cc8c99f0c76baa4 (15.0 MB)...done
Apr 01 00:37:05 rpm-ostree[14121]: [9/37] Fetching ostree chunk 15108f99e8a1e0b6fb3 (29.7 MB)...done
Apr 01 00:37:16 rpm-ostree[14121]: [10/37] Fetching ostree chunk acab97018dff7d2feac (50.0 MB)...done
Apr 01 00:37:22 rpm-ostree[14121]: [11/37] Fetching ostree chunk 2f728a182a0e8d09a6d (33.5 MB)...done
Apr 01 00:37:40 rpm-ostree[14121]: [12/37] Fetching ostree chunk 528a7147043e0c2185b (92.2 MB)...done
Apr 01 00:37:57 kernel: SELinux:  Context system_u:object_r:passt_repair_exec_t:s0 is not valid (left unmappe>
Apr 01 00:37:58 rpm-ostree[14121]: [13/37] Fetching ostree chunk 4be1509765f11c1b297 (86.9 MB)...done
Apr 01 00:38:04 rpm-ostree[14121]: [14/37] Fetching ostree chunk 2b4160926513ec77189 (27.9 MB)...done
Apr 01 00:38:22 rpm-ostree[14121]: [15/37] Fetching ostree chunk 9d73a49b3b5c3341c32 (93.3 MB)...done
Apr 01 00:38:38 rpm-ostree[14121]: [16/37] Fetching ostree chunk b4b0894dc4e422585ff (79.2 MB)...done

So, in your log I don’t see anything about an orderly reboot. Log finishes abruptly in the middle of the ostree chunk download…

Either way, this has stopped happening on my Lenovo. What model do you have and does it have an Nvidia 40xx series GPU?

It’s an IdeaPad 3 15ABA7. AMD Ryzen 7 5825U with integrated gpu