Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System crash during dom0 update #7774

Open
Warthog-Capital opened this issue Sep 18, 2022 · 0 comments
Open

System crash during dom0 update #7774

Warthog-Capital opened this issue Sep 18, 2022 · 0 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@Warthog-Capital
Copy link

Warthog-Capital commented Sep 18, 2022

Qubes OS release

4.1.1

Brief summary

While running dom0 update via Qubes Updater, my system crashed and rebooted immediately.

Steps to reproduce

What I did was: While using the system normally and listening to music, hit the Qubes Updater icon in the tray bar. It indicated an update for dom0, so I started the update.

Cannot reproduce. After a restart, I ran qubes-dom0-update manually, which updated these packages:

  • qubes-mgmt-salt-4.1.16-1.fc32.noarch
  • qubes-mgmt-salt-admin-tools-4.1.16-1.fc32.noarch
  • qubes-mgmt-salt-config-4.1.16-1.fc32.noarch
  • qubes-mgmt-salt-dom0-4.1.16-1.fc32.noarch

Expected behavior

The system should not crash.

Actual behavior

The system crashed. Specifically, the mouse stopped moving, keyboard stopped working and the music got "stuck", looping the last few microseconds for roughly 5 seconds. The next thing I am seeing the boot screen, shortly followed by the Grub menu.

After starting the system again, I collected these logs from journalctl:

Sep 18 10:35:28 dom0 audit[66719]: USER_ACCT pid=66719 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix acct="user" exe="/usr/bin/sudo" hostname=? addr=? terminal=? res=suc>
Sep 18 10:35:28 dom0 kernel: audit: type=1101 audit(1663490128.522:925): pid=66719 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix acct="user" exe="/usr/bin/sudo" hostname>
Sep 18 10:35:28 dom0 kernel: audit: type=1123 audit(1663490128.522:926): pid=66719 uid=1000 auid=1000 ses=3 msg='cwd="/home/user" cmd=717562657363746C202D2D646F6D302D6F6E6C79202D2D6E6F2D636>
Sep 18 10:35:28 dom0 kernel: audit: type=1110 audit(1663490128.522:927): pid=66719 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hos>
Sep 18 10:35:28 dom0 kernel: audit: type=1105 audit(1663490128.528:928): pid=66719 uid=1000 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,p>
Sep 18 10:35:28 dom0 audit[66719]: USER_CMD pid=66719 uid=1000 auid=1000 ses=3 msg='cwd="/home/user" cmd=717562657363746C202D2D646F6D302D6F6E6C79202D2D6E6F2D636F6C6F7220706B672E757067726164>
Sep 18 10:35:28 dom0 audit[66719]: CRED_REFR pid=66719 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=? re>
Sep 18 10:35:28 dom0 audit[66719]: USER_START pid=66719 uid=1000 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="r>
Sep 18 10:35:28 dom0 sudo[66719]:     user : PWD=/home/user ; USER=root ; COMMAND=/usr/bin/qubesctl --dom0-only --no-color pkg.upgrade refresh=True
Sep 18 10:35:28 dom0 sudo[66719]: pam_unix(sudo:session): session opened for user root by (uid=1000)
Sep 18 10:35:31 dom0 systemd[1]: Started /usr/bin/qubes-dom0-update --quiet --assumeyes --clean --action=clean expire-cache.
-- Subject: A start job for unit run-r958eeee1812945799903c14a2489b41f.scope has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit run-r958eeee1812945799903c14a2489b41f.scope has finished successfully.
-- 
-- The job identifier is 7577.
Sep 18 10:35:40 dom0 systemd[1]: run-r958eeee1812945799903c14a2489b41f.scope: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit run-r958eeee1812945799903c14a2489b41f.scope has successfully entered the 'dead' state.
Sep 18 10:35:40 dom0 systemd[1]: run-r958eeee1812945799903c14a2489b41f.scope: Consumed 1.010s CPU time.
-- Subject: Resources consumed by unit runtime
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit run-r958eeee1812945799903c14a2489b41f.scope completed and consumed the indicated resources.
-- Reboot --
Sep 18 10:36:59 dom0 kernel: Linux version 5.15.63-1.fc32.qubes.x86_64 (mockbuild@29423cf8017340f9ab10558e30e63efd) (gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1), GNU ld version 2.34-6.fc32>
...

Let me know if there are other log files that might help debugging this.

Possibly related: #7751 However, my laptop is Thinkpad T440p with Intel graphics, so no nouveau driver for me.

@Warthog-Capital Warthog-Capital added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Sep 18, 2022
@andrewdavidwong andrewdavidwong added C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Sep 18, 2022
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone Sep 18, 2022
@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
@andrewdavidwong andrewdavidwong removed this from the Release 4.1 updates milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: other needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants