LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-17-2024, 03:43 AM   #16
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208

Quote:
Originally Posted by ill323 View Post
It seems that elogind is broken.
I wouldn't say that elogind is broken.

Most likely elogind works perfectly in Gentoo and Devuan, operating systems under which it is developed and for which it is developed. It seems that the elogind developer does not even have problems with the communication between elogind and NetworkManager.

Personally, I would say that there are compatibility issues between the latest versions of elogind and Slackware. Which problems will surely get worse if Slackers stay in old versions of elogind.

I hope we don't find out that elogind is no longer compatible with Slackware, while we wait for the Devuan developers to fix it for us.
 
2 members found this post helpful.
Old 04-17-2024, 03:43 AM   #17
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by ill323 View Post
And polkit depends on elogind, maybe polkit-124 compiled with old working elogind has no problem?
Good point! Just tried rebuilding polkit-124 with elogind.252.23 installed, and yes: power management and shutdown menu now works as they should.
 
Old 04-17-2024, 03:49 AM   #18
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by ZhaoLin1457 View Post
Most likely elogind works perfectly in Gentoo and Devuan
Gentoo repository offers elogind-252.9. Devuan indeed offers 255.4.1, but whether it works is anybody's guess.
 
Old 04-17-2024, 04:33 AM   #19
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by kgha View Post
@ill233:
tried this workaround, but unfortunately it doesn't work properly. If you have a mailclient (e.g. thunderbird) running at suspend, it somehow loses connection and needs to be restarted after resuming, see https://www.linuxquestions.org/quest...ml#post6495940. Might be seen as a minor snag, but since there seems to be no drawbacks in downgrading elogind and polkit, that's probably the best option right now.
By fortune, the stock package of NetworkManager is built with "session-traking=consolekit" (which is not ConsoleKit2, but that old abandoned ConsoleKit) and if you add/change to "suspend-resume=upower", then NetworkManager is completely disconnected from elogind.

If it still doesn't work, it means that there are another problems in Slackware-current, beyond this elogind 255.4 vs. NetworkManager 1.46.0

In another way, can you explain to me why a NetworkManager that is completely disconnected from elogind does not work correctly?

Last edited by ZhaoLin1457; 04-17-2024 at 04:42 AM.
 
Old 04-17-2024, 04:42 AM   #20
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
@ZhaoLin1457: Unfortunately, building NM with the upower option is not a viable solution, see https://www.linuxquestions.org/quest...7/#post6496534

I haven't dug further into this so I don't know why this happens.

Last edited by kgha; 04-17-2024 at 04:43 AM.
 
Old 04-17-2024, 04:47 AM   #21
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by kgha View Post
@ZhaoLin1457: Unfortunately, building NM with the upower option is not a viable solution, see https://www.linuxquestions.org/quest...7/#post6496534

I haven't dug further into this so I don't know why this happens.
I'm not contradicting you. What I want to say is that your statement is a clear proof that there are other compatibility problems in Slackware-current, beyond this elogind.

Which compatibility problems, they probably have have reached a critical mass lately and we have come to notice them widely and pay more attention to them.
 
Old 04-17-2024, 04:52 AM   #22
ill323
Member
 
Registered: Jul 2010
Posts: 43

Rep: Reputation: 11
Maybe git bisect elogind v252.23 ... v255.4 is a good idea ...
 
Old 04-17-2024, 05:06 AM   #23
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
I'm on Slackware-current, and have that power issue. Elogind-255.4-r2 is on github at least, but I can't build it because it wants auditd . What's that?

EDIT: I read somewhere (Github issues or comments?) that some issue with elogind-255.4 was leading to orphaned processes and 255.4-r1 was supposed to fix that.

If Memory serves, I didn't have the power-off issue on Current of 2024-03-24. A large amount of stuff has changed, so that's not diagnostically useful. But if this issue gets narrowed down to a dozen packages or so, I can still downgrade them, as I still have the 2024-03-24 iso on disk.

Last edited by business_kid; 04-17-2024 at 05:49 AM.
 
Old 04-17-2024, 05:09 AM   #24
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by business_kid View Post
I'm on Slackware-current, and have that power issue. Elogind-255.4-r2 is on github at least, but I can't build it because it wants auditd . What's that?
elogind-255.4_r2 is already in -current.
 
Old 04-17-2024, 05:23 AM   #25
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by business_kid View Post
I'm on Slackware-current, and have that power issue.
Which power issue? If it's about network not going up after suspend, upgrading to v255.4-r2 doesn't change a thing.
 
Old 04-17-2024, 06:03 AM   #26
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
If "power issue" is about broken power management and the disappearing shutdown menu (mate, xfce, maybe KDE too) there are three possible solutions:
- use the latest elogind-255.4_r2 and polkit-124 from the -current repo (but then network breaks after suspend/resume)
- downgrade elogind to v252.23 and polkit to v123
- downgrade elogind to v252.23 and then rebuild polkit-124

Last edited by kgha; 04-17-2024 at 06:29 AM.
 
2 members found this post helpful.
Old 04-17-2024, 06:45 AM   #27
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Someone has found something:
https://github.com/elogind/elogind/i...ent-2060986639

Hopefully a solution is just around the corner.
 
Old 04-17-2024, 08:38 AM   #28
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,071

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
The culprit in elogind seems to have been identified, so maybe we can expect a 255.4_r3 before long:
https://github.com/elogind/elogind/i...ent-2061221562
 
1 members found this post helpful.
Old 04-17-2024, 12:20 PM   #29
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 323

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Originally Posted by kgha View Post
Someone has found something:
someone
networkmanager listens to elogind signals on dbus to handle sleep/resume.
elogind sends the "sleep" message correctly, but not the "resume" message.
So, after resume networkmanager doesn't bring up the network again, and needs to be restarted.
The same problems applies to other networkmanager-enabled applications, eg. Firefox and Thunderbird.

the problem in elogind is caused by a patch introduced to fix another problem. 252.23 is good, any new version is broken (252.23-r1, 255.4-*)
 
6 members found this post helpful.
Old 04-17-2024, 12:41 PM   #30
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by ctrlaltca View Post
someone
networkmanager listens to elogind signals on dbus to handle sleep/resume.
elogind sends the "sleep" message correctly, but not the "resume" message.
So, after resume networkmanager doesn't bring up the network again, and needs to be restarted.
The same problems applies to other networkmanager-enabled applications, eg. Firefox and Thunderbird.

the problem in elogind is caused by a patch introduced to fix another problem. 252.23 is good, any new version is broken (252.23-r1, 255.4-*)
And how you explain the issues with the initial release of 255.4 (without ulterior patches) ?

I for one I believe that an explanation could be that this issue introduced by that patch is in fact the second one (but having a similar misbehavior) , as speculated by Zhao Lin there:

https://www.linuxquestions.org/quest...ml#post6496630

For what is worth, I have just tested the elogind-255.4 (without -rX) and it presents a similar flawed behavior as its successors.

Last edited by LuckyCyborg; 04-17-2024 at 12:51 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Safe to block 255.255.255.255? throes Linux - Networking 3 05-06-2012 02:27 PM
What is this -> SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID carves Linux - Networking 5 08-17-2008 09:26 PM
Are Broadcasts to 255.255.255.255 Routed MQMan Linux - Networking 6 11-23-2005 02:16 PM
Logs full of hits to 255.255.255.255; how to stop logging? mac_phil Mandriva 2 02-23-2004 10:25 AM
UDP broadcast 255.255.255.255 java8964 Linux - Networking 0 10-29-2003 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration