You are not logged in.

#1 2022-07-21 16:03:22

Mezzy12
Member
Registered: 2022-01-14
Posts: 22

[Solved] Computer experiencing erratic behaviour after update

Hello!

I recently did a system wide update to my laptop. Afterwards, I can no longer reboot/power off my system as a user and my laptop seems to be switching to a high power state for extended periods of time for no apparent reason (I'm just using firefox), causing the charging of my laptop to take hours longer than it should.

I am running kernel 5.18.12 and I tested the latest LTS kernel as well - same results.

reboot

returns:

Failed to reboot system via logind: Method call timed out
Failed to talk to init daemon: Connection timed out
sudo systemctl reboot

actually reboots the system.

Thanks for reading!

Edit:

sudo reboot

seems to work for some reason - not sure what's going on. I'll check my .zshrc but I definitely haven't changed the aliases for power management. Further edit: never had aliases set - I allowed the wheel group to reboot etc. in the sudoers file - did something change there?

Last edited by Mezzy12 (2022-07-22 13:06:06)

Offline

#2 2022-07-21 16:07:25

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: [Solved] Computer experiencing erratic behaviour after update

Mezzy12 wrote:

Afterwards, I can no longer reboot/power off my system as a user

How are attempting to perform these actions?

AFAIK SystemD wants you to use systemctl <poweroff/reboot>
Elogind+whatever-init-system users should use loginctl <poweroff/reboot> and so on.

Edit: I see you've updated your post.

Last edited by Irets (2022-07-21 16:08:35)

Offline

#3 2022-07-21 16:12:49

Mezzy12
Member
Registered: 2022-01-14
Posts: 22

Re: [Solved] Computer experiencing erratic behaviour after update

Irets wrote:
Mezzy12 wrote:

Afterwards, I can no longer reboot/power off my system as a user

How are attempting to perform these actions?

AFAIK SystemD wants you to use systemctl <poweroff/reboot>
Elogind+whatever-init-system users should use loginctl <poweroff/reboot> and so on.

Edit: I see you've updated your post.

Yeah I accidentally submitted it before I finished it lol

Offline

#4 2022-07-21 16:22:13

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: [Solved] Computer experiencing erratic behaviour after update


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#5 2022-07-21 16:28:05

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [Solved] Computer experiencing erratic behaviour after update

Failed to reboot system via logind: Method call timed out
Failed to talk to init daemon: Connection timed out

Sounds like the session is degenerated.

loginctl session-status

and the last link below.

Offline

#6 2022-07-21 16:38:55

Mezzy12
Member
Registered: 2022-01-14
Posts: 22

Re: [Solved] Computer experiencing erratic behaviour after update

seth wrote:

Failed to reboot system via logind: Method call timed out
Failed to talk to init daemon: Connection timed out

Sounds like the session is degenerated.

loginctl session-status

and the last link below.

I think I found the problem. Or a problem. When running

loginctl session-status

on the some of the last few lines I get

Jul 21 17:25:13 [hostname] sudo[5558]: pam_systemd_home(sudo:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.                                                                                  
Jul 21 17:25:17 [hostname] sudo[5558]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/1 ruser=[username] rhost=  user=[username]

Offline

#7 2022-07-21 16:53:53

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: [Solved] Computer experiencing erratic behaviour after update

No. homed is useless, not required and just spams the journal to whine about being unpopular.

Post the actual output. The head is actually far more interesting than the tail, but post all of it.
And because of

[hostname]

also

hostnamectl

(though a transient hostname is less likely to cause those symptoms)
Nobody cares it the hostname is "ponyville" and like your username ("pinkiepie"?) it's otherwise not sensitive data.

Offline

#8 2022-07-21 16:55:21

Mezzy12
Member
Registered: 2022-01-14
Posts: 22

Re: [Solved] Computer experiencing erratic behaviour after update

Okay so I decided to manually reinstall polkit and although it was up to date, apparently duktape wasn't up to date? Not sure how that happened but it did.

I can now reboot properly and my laptop is no longer in an incorrect power state.

Last edited by Mezzy12 (2022-07-21 16:56:33)

Offline

#9 2022-07-21 16:57:48

Mezzy12
Member
Registered: 2022-01-14
Posts: 22

Re: [Solved] Computer experiencing erratic behaviour after update

seth wrote:

No. homed is useless, not required and just spams the journal to whine about being unpopular.

Post the actual output. The head is actually far more interesting than the tail, but post all of it.
And because of

[hostname]

also

hostnamectl

(though a transient hostname is less likely to cause those symptoms)
Nobody cares it the hostname is "ponyville" and like your username ("pinkiepie"?) it's otherwise not sensitive data.

Ahah my real name is in both the hostname and username - I'd just prefer to keep that private smile

Thanks for your help!

Offline

#10 2022-07-21 22:39:00

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [Solved] Computer experiencing erratic behaviour after update

Please remember to mark your thread [SOLVED] (edit the title of your first post).


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB