LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-24-2018, 07:26 AM   #46
chrisVV
Member
 
Registered: Aug 2010
Posts: 322

Rep: Reputation: 139Reputation: 139

Quote:
Originally Posted by chris.willing View Post
For elogind to run, I had to make a symlink in /run to /var/run/dbus because elogind looks for /run/dbus/system_bus_socket at startup. Maybe that's a location that can be set at build time but the symlink works well enough for now.
Ah, my /var/run directory is a symlink to /run, so I didn't have that problem. It is a requirement of systemd that /var/run should be a symlink to /run, so this is presumably something that elogind has implicitly assumed also. Most other distributions seem to make that symlink also.

The compilation error seems to have arrived with glibc-2.28, which is why I didn't get that problem before. I can reproduce it now.
 
1 members found this post helpful.
Old 09-24-2018, 08:24 AM   #47
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 490

Rep: Reputation: 284Reputation: 284Reputation: 284
Attached is a second patch which has elogind use /var/run/dbus/system_bus_socket (as used by Slackware) instead of /run/dbus/system_bus_socket. If used, the additional symlink in /run to /var/run/dbus mentioned previously is not required.

Don't bother with the patch if /var/run is already a symlink to /run (as per systemd requirements).

chris
Attached Files
File Type: txt rundir.diff.txt (976 Bytes, 8 views)
 
5 members found this post helpful.
Old 09-24-2018, 08:32 AM   #48
chrisVV
Member
 
Registered: Aug 2010
Posts: 322

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by chris.willing View Post
Attached is a second patch which has elogind use /var/run/dbus/system_bus_socket (as used by Slackware) instead of /run/dbus/system_bus_socket. If used, the additional symlink in /run to /var/run/dbus mentioned previously is not required.
You might want to submit this upstream (to elogind): it is one thing for systemd to require /var/run to be a symlink to /run, it is another to assume in the logind/elogind code that the same file is in two different places at the same time. It is a bug which is masked by systemd's requirements, and appears to have first arisen with logind/elogind-237. So presumably elogind-236 is not affected.
 
3 members found this post helpful.
Old 09-24-2018, 10:41 AM   #49
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
I managed to put together the patches published by @chris.willing for elogind-238.1 (many thanks!) and shameless borrowing the w41l's build for elogind from there https://github.com/w41l/kde-elogind/elogind adapted by me to the current meson build.

The resulted SlackBuild is attached to this post, and generates a elogind-238.1 package, which apparently works correctly and is able to bring up the support needed by skypeforlinux_8.31.76.88, which is able to work on GLIBC 2.28, as shown in the attached screenshot.

BUT, like I said in a previous post, installing Elogind along with ConsoleKit2 you obtain two distinct systems which try to handle the user login sessions, and very possibly to step on each other shoes.

Not fully tested, but looks like the Eric's Plasma5 5.13.5 still manage to execute the power and logout actions even with both of those systems installed.

However, I strongly believe that this story clearly demonstrate that the ConsoleKit2 should be gone and it replaced by at least Elogind.

Why I say that ConsoleKit should be gone?

Because it is clear for me that it is obsolete. Software evolved, and needs features which aren't offered by ConsoleKit. And I guess there are many other applications which suffer by that lack, not only Skype.

However, in this weekend, which I spent experimenting around Skype and DBUS services for users login sessions I observed that the other few distributions proud to be "systemd-free" in fact they use at least three barbarian chopped chunks of systemd: eudev, elogind and systemd-timedated1 (which probably replaces ntp and/or ntpdate).

Yep, the "systemd-free" thing looks like have the sense for them as not using it as init system.

That make to ask myself: IF we must use huge chunks of systemd to satisfy the requirements of the today software, why we should stay ourselves as minions of Gentoo and at their caprices, when we can just use our own machete at build time to chop off the init system part from that systemd, which apparently is what its hatters hate?

That's why I said "at least Elogind"

Anyways, I believe that in a way or other we should kiss goodbye to ConsoleKit2, if we want Slackware to be compatible with the today Linux software.

PS. To have a imagine about what is adapting Plasma5 to elogind you can take a look there: https://github.com/w41l/kde-elogind

However, it is very possible that this implementation to be not actual, because it is about Plasma5 5.10.4, and the today Plasma5 5.13.5 may have a much better support for elogind.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180924_131732.png
Views:	39
Size:	213.1 KB
ID:	28659  
Attached Files
File Type: txt elogind.tar.xz.txt (13.7 KB, 9 views)

Last edited by Darth Vader; 09-24-2018 at 11:19 AM.
 
Old 09-24-2018, 12:44 PM   #50
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 872

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
I built elogind version 238.1 and ran in the the "missing.h:1387:8: error: redefinition of ‘struct statx_timestamp’" problem as well. Thanks for the patch @chris.willing

I figured out the /run/ vice /var/run/ on my own and created a patch.

I patched the /usr/share/skypeforlinix/skypeforlinux to run elogind before starting skype and then kill it after quitting skype.

Skypeforlinux version 8.31.76.88 is working quite well as far as I can tell. I don't plan on leaving Skype running unless I am using it or expecting a call because of conflict concerns between ConsoleKit2 and Elogind. Perhaps there is a way to configure it to only handle what Skype needs.

This is the build part of my SlackBuild:
Code:
export LDFLAGS=$SLKLDFLAGS
export CFLAGS=$SLKCFLAGS
export CXXFLAGS=$SLKCFLAGS
mkdir build
cd build
meson setup \
  --prefix=/usr \
  --libdir=/usr/lib$LIBDIRSUFFIX \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --infodir=/usr/info \
  --buildtype=release \
  --strip \
  -Ddocdir=/usr/doc/$PKGNAM-$VERSION \
  -Dnobody-group=nogroup \
  -Dpam=false \
  -Dselinux=false \
  -Dtests=false \
  2>&1 | tee $OUTPUT/setup-$PKGNAM.log || exit 1

  meson configure 2>&1 | tee $OUTPUT/configure-$PKGNAM.log || exit 1

  ninja -v 2>&1 | tee $OUTPUT/ninja-$PKGNAM.log || exit 1

  DESTDIR=$PKGDIR ninja install 2>&1 | tee $OUTPUT/install-$PKGNAM.log || exit 1
cd -
The -Dpam, -Dselinux are not really needed, they are disabled if not found. The meson configure is not needed, but it comes in handy for figuring out options.

During 'meson setup' I do get one warning. Since it's a warning not to worried about it. Though I am puzzled a bit.
Code:
Message: WARNING:
        The local user with the configured user name "nobody" of the nobody user does not have UID 65534 (it has 99).
        Your build will result in an user table setup that is incompatible with the local system.
The patch for skypeforlinux is attached.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180925_004846.png
Views:	15
Size:	99.9 KB
ID:	28662  
Attached Files
File Type: txt skypeforlinux.diff.txt (497 Bytes, 7 views)

Last edited by chrisretusn; 09-24-2018 at 12:46 PM.
 
3 members found this post helpful.
Old 09-24-2018, 03:16 PM   #51
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 14.1_32
Posts: 249

Rep: Reputation: 116Reputation: 116
Or, I don't know, just talk on the phone.
 
3 members found this post helpful.
Old 09-24-2018, 03:21 PM   #52
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix, FreeBSD
Posts: 1,065

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
Quote:
Originally Posted by FTIO View Post
Or, I don't know, just talk on the phone.
But then "they" can't record and archive your video conversation for future purposes.....
 
Old 09-24-2018, 04:06 PM   #53
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by ChuangTzu View Post
But then "they" can't record and archive your video conversation for future purposes.....
As someone is interested by "your" video conversation...

To imagine that someone will bother to record the "nothing" discussed by a "nothing" with another "nothing" is utterly paranoia.
 
1 members found this post helpful.
Old 09-24-2018, 04:14 PM   #54
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by FTIO View Post
Or, I don't know, just talk on the phone.
Well, Skype done a great job, specially 20 years ago, when was usual to pay 1 EUR per minute to talk on mobile from Italy or France to Romania, for example. You know, mobile roaming.

Maybe is nothing for you, who lives in Las Vegas, USA - BUT for the Romanian people working in another countries from Europe, was a very expensive price this mobile roaming.

So, they discovered a way to talk much cheaper: over Internet, using Skype. From computers. And 20 years ago was only Skype for this job.

That's why millions of Romanians working around Europe used Skype to talk with their relatives from home. And that's why Skype is traditionally known and used by millions of Romanians.

BUT, I seen it used by many others, not only by Romanians.

Last edited by Darth Vader; 09-24-2018 at 04:41 PM.
 
2 members found this post helpful.
Old 09-24-2018, 04:32 PM   #55
Mobile1
Member
 
Registered: Jun 2006
Location: Abbotsford, B.C.
Distribution: Slackware64 14.2
Posts: 163

Rep: Reputation: 26
I just started using Discord, it will most likely replace Skype for me on Slackware!!
 
1 members found this post helpful.
Old 09-24-2018, 04:36 PM   #56
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by Mobile1 View Post
I just started using Discord, it will most likely replace Skype for me on Slackware!!
I said already in a previous post that "replacing" Skype (or any communication software) depends also on the choices used by the people you talk with.
 
1 members found this post helpful.
Old 09-24-2018, 04:54 PM   #57
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 721

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Quote:
Originally Posted by Darth Vader View Post
Well, Skype done a great job, specially 20 years ago... And 20 years ago was only Skype for this job.
15 years ago (actually less, as it took a few years to become popular)
 
Old 09-24-2018, 05:02 PM   #58
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix, FreeBSD
Posts: 1,065

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
Quote:
Originally Posted by Darth Vader View Post
As someone is interested by "your" video conversation...

To imagine that someone will bother to record the "nothing" discussed by a "nothing" with another "nothing" is utterly paranoia.
Sure the old im boring, have nothing to hide etc... Not going to hijack the thread, i'm not DV after all, but those words have been spoken by many people before realizing that government(s)/companies do not care if you are boring or have nothing to hide....I would think you would know that being from Eastern Europe. [/sigh]
 
1 members found this post helpful.
Old 09-24-2018, 05:04 PM   #59
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
@abga

Anyway, today even a granpa from a little village hidden between mountains knows about Skype.
 
Old 09-24-2018, 05:17 PM   #60
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by ChuangTzu View Post
Sure the old im boring, have nothing to hide etc... Not going to hijack the thread, i'm not DV after all, but those words have been spoken by many people before realizing that government(s)/companies do not care if you are boring or have nothing to hide....I would think you would know that being from Eastern Europe. [/sigh]
The Romanians learned long time ago a simple rule: never talk important things over phone.

And probably initially that rule was about ancient analog land lines since 1944, after Churchill chosen Greece and Romania was given as friendly "gift" to Stalin.

Yeah, I talk right on about Winston Churchill, who preferred to keep Greece in the British and American spheres of influence.

https://en.wikipedia.org/wiki/Percentages_agreement
Attached Thumbnails
Click image for larger version

Name:	Percentages_agreement2.jpg
Views:	45
Size:	28.9 KB
ID:	28664  

Last edited by Darth Vader; 09-24-2018 at 05:25 PM.
 
5 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
unkown cause for systemd failure state - systemd-logind cannot start org.freedesktop.systemd1 after server reboot mario.p Linux - Server 5 07-30-2018 03:11 AM
[SOLVED] will slackware drop newer KDE versions or go systemd rob.rice Slackware 73 04-23-2017 02:03 PM
[SOLVED] How to compile latest sources using older gcc glibc versions and run them? nirvaanr Linux - Software 4 06-08-2016 10:32 AM
[SOLVED] removing previous older kernels "vmlinuz" when updates get newer versions james2b Linux - Newbie 7 09-12-2011 05:13 AM
how to use older versions of glibc turls Programming 4 07-07-2004 04:40 PM

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

All times are GMT -5. The time now is 12:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration