LinuxQuestions.org
Help answer threads with 0 replies.
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


View Poll Results: Is slackware dead?
Yes 23 10.85%
No 135 63.68%
Not sure 11 5.19%
Undead 43 20.28%
Voters: 212. You may not vote on this poll

Reply
  Search this Thread
Old 05-27-2021, 10:33 AM   #181
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

It might cause breakages elsewhere if programs have a hard requirement for it. I noticed in the changelog that procps-ng was recompiled adding elogind support, however, I don't know if this led to a hard dependency on it. In case you weren't aware, procps-ng contains quite the array of commonly used programs (at least for me). Their gitlab states the following:
  • free - Report the amount of free and used memory in the system
  • kill - Send a signal to a process based on PID
  • pgrep - List processes based on name or other attributes
  • pkill - Send a signal to a process based on name or other attributes
  • pmap - Report memory map of a process
  • ps - Report information of processes
  • pwdx - Report current directory of a process
  • skill - Obsolete version of pgrep/pkill
  • slabtop - Display kernel slab cache information in real time
  • snice - Renice a process
  • sysctl - Read or Write kernel parameters at run-time
  • tload - Graphical representation of system load average
  • top - Dynamic real-time view of running processes
  • uptime - Display how long the system has been running
  • vmstat - Report virtual memory statistics
  • w - Report logged in users and what they are doing
  • watch - Execute a program periodically, showing output fullscreen

It seems modemmanager and networkmanager have elogind support as well, so they may not function without it installed.
 
1 members found this post helpful.
Old 05-27-2021, 10:59 AM   #182
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,651
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
elogind is the go-to these days for distros that don't use systemd. So many packages have become dependent on systemd-logind, for which elogind is the drop-in replacement. For example, I noticed in my last LFS build that PAM now needs either systemd or elogind.
 
Old 05-27-2021, 11:17 AM   #183
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
Quote:
Originally Posted by hazel View Post
elogind is the go-to these days for distros that don't use systemd. So many packages have become dependent on systemd-logind, for which elogind is the drop-in replacement. For example, I noticed in my last LFS build that PAM now needs either systemd or elogind.
I completed an LFS build last week, and PAM (ver. 1.5.1) didn't have a dependency on either systemd or elogind. It's the other way around, I think, in that PAM is a recommended dependency for elogind, but not required. polkit can also be built with elogind support, but again, is not required.
 
Old 05-27-2021, 11:31 AM   #184
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,915

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
My CRUX system is also running happily without elogind.
 
1 members found this post helpful.
Old 05-27-2021, 06:16 PM   #185
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,345

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I think that this poll has the most Slackware-like results I've ever read. Forty one members have voted that Slackware is undead. Haha.
For the record. Slackware is very much alive.
 
1 members found this post helpful.
Old 05-27-2021, 06:19 PM   #186
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by bassmadrigal View Post
It might cause breakages elsewhere if programs have a hard requirement for it. I noticed in the changelog that procps-ng was recompiled adding elogind support, however, I don't know if this led to a hard dependency on it. In case you weren't aware, procps-ng contains quite the array of commonly used programs (at least for me).
And for me! So I dug around a bit.

The link-time dependency is hard, but if the way procps/proc/readproc.c uses sd_pid_get_session is representative of its elogind dependencies more generally (which warrants further investigation), it's very tolerant of elogind not being available at run-time:
Code:
    if (0 > sd_pid_get_session(p->tid, &p->sd_sess)) {
        p->sd_sess = strdup("-");
        p->sd_seat = strdup("-");
    } else {
        if (0 > sd_session_get_seat(p->sd_sess, &p->sd_seat))
            p->sd_seat = strdup("-");
    }
There, if the request fails, it uses placemarkers for "don't know" instead of bombing out with an error, and that's good.
 
1 members found this post helpful.
Old 05-28-2021, 04:26 PM   #187
FungalNet
Member
 
Registered: Oct 2017
Location: nonsystemd-land
Distribution: Obarun
Posts: 56
Blog Entries: 1

Rep: Reputation: Disabled
there are other ways

seatd works fine with wayland and sway runs like a champ with it.
it is a tiny fraction of code of what elogind weighs.

The same source for seatd also provides a minimalist dm called greetdm that works with wayland

https://github.com/kennylevinsen Kenny Levinsen

If there is a sincere interest there will be a way
 
1 members found this post helpful.
Old 05-29-2021, 06:36 PM   #188
tumble
LQ Newbie
 
Registered: May 2018
Location: TX
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by ttk View Post
The link-time dependency is hard, but if the way procps/proc/readproc.c uses sd_pid_get_session is representative of its elogind dependencies more generally (which warrants further investigation), it's very tolerant of elogind not being available at run-time
...
There, if the request fails, it uses placemarkers for "don't know" instead of bombing out with an error, and that's good.
I've confirmed this.

Removing the elogind package from -current prevents /usr/bin/{free,pstree,top} from running.

And if the elogind package is installed but the elogind server is not running, these programs have libelogind.so loaded into their address space while functioning normally.
 
3 members found this post helpful.
  


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
Date update from internet on boot fails on RP4/8GB system using Jan 22 2021 Slackware Arm Current image. rsamurti Slackware - ARM 4 01-27-2021 06:32 AM
Symptoms of a Dead MOBO vs a Dead Processor..... Delano_Lucas General 7 07-26-2006 04:50 PM
Xinetd dead --xinetd dead but pid file exists hillxy Linux - General 1 04-15-2004 02:10 PM
Dead Display = Dead Machine chris319 Linux - Hardware 1 12-05-2003 06:37 AM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 01:40 PM

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

All times are GMT -5. The time now is 02:47 PM.

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