Artix Linux Forum

Artix Linux => System => Topic started by: tnner45 on 17 April 2024, 14:20:00

Title: NetworkManager won't start interface after elogind update
Post by: tnner45 on 17 April 2024, 14:20:00
Everytime after suspending my computer my internet connection dies and nm-applet just says "Networking disabled."

Code: [Select]
nmcli d
says that my interface (wlan0) is unmanaged. I looked around online and I think it has something to do with elogind. I recently added a script (https://wiki.gentoo.org/wiki/Elogind#Suspend.2FHibernate_Resume.2FThaw_hook_scripts) to elogind
Code: [Select]
/lib64/elogind/system-sleep
that made slock run before suspending, however I removed the script and the problem still pursues. This same issue happens on my desktop as well that runs basically the same setup, after updating. I know that I can just make a script that automatically restart networkmanager everytime after waking up from suspension but that seems like a pretty bad solution since there is still an underlying problem.

Edit 1:

I found this: https://github.com/elogind/elogind/issues/280

However they're discussing that this is occurring for another version, and that the previous version 252.23 is healthy. Strange, since I just upgraded to 252.23.1-1 from Artix's repos.

Edit 2:

I got access to a 252.23-1 archive, and after downgrading the issue is gone. So the issue is definitely related to the latest version.
Title: Re: NetworkManager won't start interface after elogind update
Post by: sbub on 19 April 2024, 19:25:10
I do experience the same problem running version 252.23.1-1 and didn't have this issue with a prior release.
Title: Re: NetworkManager won't start interface after elogind update
Post by: PsychoTrauma on 20 April 2024, 20:33:43
I too have this issue. Luckily pacman keeps a copy of previous packages unless you delete them.

If you need to downgrade you can do:

pacman -U /var/cache/pacman/pkg/elogind-252.23-1-x86_64.pkg.tar.zst
Title: Re: NetworkManager won't start interface after elogind update
Post by: newgnu on 23 April 2024, 11:24:44
I too have this issue. Luckily pacman keeps a copy of previous packages unless you delete them.

If you need to downgrade you can do:

pacman -U /var/cache/pacman/pkg/elogind-252.23-1-x86_64.pkg.tar.zst
Thanks, this and adding elogind to pacman's ignored packages is a good temporary fix.