Hi guys!
Yesterday, after the update, I noticed something strange: I can no longer suspend my computer, no matter which kernel I try to use. (From the two I’ve tried, one of which I know worked fine before the update because I used it daily.)
When I run it from my custom shortcut on the keyboard nothing happens, and it no longer appears in the launcher, making me think it’s some kind of permission problem.
And indeed, running:
$ systemctl suspend
…from the terminal, yields:
$ systemctl suspend
Call to Suspend failed: Access denied
I tried looking at some logs, but couldn’t see anything:
$ journalctl -u polkit.service -x -b
Dec 12 09:16:49 Mirdarthos-PC systemd[1]: Starting Authorization Manager...
░░ Subject: A start job for unit polkit.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit polkit.service has begun execution.
░░
░░ The job identifier is 108.
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Started polkitd version 123
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Loading rules from directory /etc/polkit-1/rules.d
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Loading rules from directory /usr/share/polkit-1/rules.d
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Finished loading, compiling and executing 5 rules
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Dec 12 09:16:50 Mirdarthos-PC systemd[1]: Started Authorization Manager.
░░ Subject: A start job for unit polkit.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit polkit.service has finished successfully.
░░
░░ The job identifier is 108.
Dec 12 09:17:17 Mirdarthos-PC polkitd[639]: Registered Authentication Agent for unix-session:2 (system bus name :1.54 [/usr/lib/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8)
Dec 12 09:17:46 Mirdarthos-PC polkitd[639]: Registered Authentication Agent for unix-process:1756:6371 (system bus name :1.71 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF->
Dec 12 09:17:46 Mirdarthos-PC polkitd[639]: Unregistered Authentication Agent for unix-process:1756:6371 (system bus name :1.71, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8) (disconnected from bus)
Dec 12 09:22:20 Mirdarthos-PC polkitd[639]: Registered Authentication Agent for unix-process:3151:33758 (system bus name :1.90 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF>
Dec 12 09:22:20 Mirdarthos-PC polkitd[639]: Unregistered Authentication Agent for unix-process:3151:33758 (system bus name :1.90, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8) (disconnected from bus)
$ journalctl -u suspend.target
[...]
-- Boot 28976468bc9d44b9859557e6da6f419c --
Dec 06 12:13:07 Mirdarthos-PC systemd[1]: Reached target Suspend.
Dec 06 12:13:07 Mirdarthos-PC systemd[1]: Stopped target Suspend.
Dec 07 08:11:08 Mirdarthos-PC systemd[1]: Reached target Suspend.
Dec 07 08:11:08 Mirdarthos-PC systemd[1]: Stopped target Suspend.
Dec 07 12:39:55 Mirdarthos-PC systemd[1]: Reached target Suspend.
Dec 07 12:39:55 Mirdarthos-PC systemd[1]: Stopped target Suspend.
Dec 08 08:07:22 Mirdarthos-PC systemd[1]: Reached target Suspend.
Dec 08 08:07:22 Mirdarthos-PC systemd[1]: Stopped target Suspend.
Dec 08 12:14:46 Mirdarthos-PC systemd[1]: Reached target Suspend.
Dec 08 12:14:46 Mirdarthos-PC systemd[1]: Stopped target Suspend.
Dec 09 08:13:36 Mirdarthos-PC systemd[1]: Reached target Suspend.
Dec 09 08:13:37 Mirdarthos-PC systemd[1]: Stopped target Suspend.
-- Boot 5ecb0e6ff83f413a8f8b0522cc9e19a1 --
[...]
$ journalctl -u polkit.service -e -b -1
[...]
~
~
~
~
~
~
Dec 12 09:07:07 Mirdarthos-PC systemd[1]: Starting Authorization Manager...
Dec 12 09:07:08 Mirdarthos-PC polkitd[564]: Started polkitd version 123
Dec 12 09:07:08 Mirdarthos-PC polkitd[564]: Loading rules from directory /etc/polkit-1/rules.d
Dec 12 09:07:08 Mirdarthos-PC polkitd[564]: Loading rules from directory /usr/share/polkit-1/rules.d
Dec 12 09:07:08 Mirdarthos-PC polkitd[564]: Finished loading, compiling and executing 5 rules
Dec 12 09:07:08 Mirdarthos-PC polkitd[564]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Dec 12 09:07:08 Mirdarthos-PC systemd[1]: Started Authorization Manager.
Dec 12 09:07:33 Mirdarthos-PC polkitd[564]: Registered Authentication Agent for unix-session:2 (system bus name :1.55 [/usr/lib/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8)
Dec 12 09:08:37 Mirdarthos-PC polkitd[564]: Registered Authentication Agent for unix-process:1757:9767 (system bus name :1.71 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF->
Dec 12 09:08:37 Mirdarthos-PC polkitd[564]: Unregistered Authentication Agent for unix-process:1757:9767 (system bus name :1.71, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8) (disconnected from bus)
Dec 12 09:09:32 Mirdarthos-PC polkitd[564]: Registered Authentication Agent for unix-process:1805:15219 (system bus name :1.73 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF>
Dec 12 09:09:32 Mirdarthos-PC polkitd[564]: Unregistered Authentication Agent for unix-process:1805:15219 (system bus name :1.73, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8) (disconnected from bus)
Dec 12 09:16:22 Mirdarthos-PC polkitd[564]: Unregistered Authentication Agent for unix-session:2 (system bus name :1.55, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8)
Dec 12 09:16:27 Mirdarthos-PC systemd[1]: Stopping Authorization Manager...
Dec 12 09:16:27 Mirdarthos-PC systemd[1]: polkit.service: Deactivated successfully.
Dec 12 09:16:27 Mirdarthos-PC systemd[1]: Stopped Authorization Manager.
Dec 12 09:16:27 Mirdarthos-PC systemd[1]: polkit.service: Consumed 1.728s CPU time.
$ systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Tue 2023-12-12 09:16:50 SAST; 22min ago
Docs: man:polkit(8)
Main PID: 639 (polkitd)
Tasks: 4 (limit: 19080)
Memory: 8.0M
CPU: 1.388s
CGroup: /system.slice/polkit.service
└─639 /usr/lib/polkit-1/polkitd --no-debug
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Loading rules from directory /etc/polkit-1/rules.d
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Loading rules from directory /usr/share/polkit-1/rules.d
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Finished loading, compiling and executing 5 rules
Dec 12 09:16:50 Mirdarthos-PC polkitd[639]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Dec 12 09:16:50 Mirdarthos-PC systemd[1]: Started Authorization Manager.
Dec 12 09:17:17 Mirdarthos-PC polkitd[639]: Registered Authentication Agent for unix-session:2 (system bus name :1.54 [/usr/lib/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8)
Dec 12 09:17:46 Mirdarthos-PC polkitd[639]: Registered Authentication Agent for unix-process:1756:6371 (system bus name :1.71 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF->
Dec 12 09:17:46 Mirdarthos-PC polkitd[639]: Unregistered Authentication Agent for unix-process:1756:6371 (system bus name :1.71, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8) (disconnected from bus)
Dec 12 09:22:20 Mirdarthos-PC polkitd[639]: Registered Authentication Agent for unix-process:3151:33758 (system bus name :1.90 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF>
Dec 12 09:22:20 Mirdarthos-PC polkitd[639]: Unregistered Authentication Agent for unix-process:3151:33758 (system bus name :1.90, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8) (disconnected from bus)
Also, it looks like all the config files, that I haven’t touched BTW, is present and accounted for:
$ sudo ls /etc/polkit-1/rules.d
99-manjaro.rules
$ sudo cat /etc/polkit-1/rules.d/99-manjaro.rules
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.login1.power-off" ||
action.id == "org.freedesktop.login1.reboot" ||
action.id == "org.freedesktop.login1.hibernate" ||
action.id == "org.freedesktop.login1.suspend") {
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.upower.hibernate" ||
action.id == "org.freedesktop.upower.suspend") {
return polkit.Result.YES;
}
});
/* Allow users of network group to use blueman feature requiring root without authentication */
polkit.addRule(function(action, subject) {
if ((action.id == "org.blueman.network.setup" ||
action.id == "org.blueman.dhcp.client" ||
action.id == "org.blueman.rfkill.setstate" ||
action.id == "org.blueman.pppd.pppconnect") &&
subject.isInGroup("network")) {
return polkit.Result.YES;
}
});
$ journalctl -p 3 -e -b -1
[...]
~
~
Dec 12 09:07:04 Mirdarthos-PC kernel: x86/cpu: SGX disabled by BIOS.
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20230628/psargs-330)
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20230628/psargs-330)
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20230628/psargs-330)
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20230628/psargs-330)
Dec 12 09:07:04 Mirdarthos-PC kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
Dec 12 09:07:06 Mirdarthos-PC kernel:
Dec 12 09:07:06 Mirdarthos-PC kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 545.29.06 Thu Nov 16 01:59:08 UTC 2023
Dec 12 09:07:08 Mirdarthos-PC smartd[565]: Device: /dev/sda [SAT], 40 Currently unreadable (pending) sectors
Dec 12 09:07:08 Mirdarthos-PC smartd[565]: Device: /dev/sda [SAT], 40 Offline uncorrectable sectors
Dec 12 09:07:08 Mirdarthos-PC smartd[565]: Device: /dev/sda [SAT], Failed SMART usage Attribute: 184 End-to-End_Error.
Dec 12 09:07:29 Mirdarthos-PC pulseaudio[798]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Dec 12 09:07:31 Mirdarthos-PC systemd[748]: Failed to start xapp-sn-watcher.
Dec 12 09:07:32 Mirdarthos-PC libddcutil[948]: i2c_check_businfo_connector() failed for bus 1
Dec 12 09:07:32 Mirdarthos-PC libddcutil[948]: i2c_check_businfo_connector() failed for bus 3
I checked, and my groups look fine:
$ groups
sys ftp log http games dbus network power sambashare lxd storage optical disk audio wheel mirdarthos roccat android-sdk
So I’m at a total loss, as those are all familiar errors. I don’t know why this is happening, or what to do about it, so I’m hoping someone here does.
Well, does anyone know what to do, or at least why this r happening?