LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-21-2021, 04:33 PM   #751
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

Quote:
Originally Posted by igadoter View Post
Don't need
Code:
$ ldd /usr/lib64/libKF5Solid.so.5.79.0   | grep libmount
$
but I am running Live Edition of AlienBob. Maybe AlienBob is using own builds of KDE in Live Edition. So at this point I am little out of discussion.
No, Alien Bob doesn't use a different version of KDE in this Slackware Live (at least not until he brings back ktown), you're just running an older version. We already knew the older version didn't have issues. You should probably use slackpkg to upgrade your system or refresh your install with the newer ISO generated on the 16th (the solid update was pushed on the 10th) using iso2ush.sh -r.

Code:
./iso2usb.sh -i slackware64-live-current.iso -r -o /dev/sdc
 
Old 07-21-2021, 04:49 PM   #752
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by LuckyCyborg View Post
There are used ONLY functions from libmount, and they DO some safety checks.
So just cut off this part of code and build as separate app. No need to debug all KDE.
 
Old 07-21-2021, 04:57 PM   #753
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by bassmadrigal View Post
No, Alien Bob doesn't use a different version of KDE in this Slackware Live (at least not until he brings back ktown), you're just running an older version. We already knew the older version didn't have issues. You should probably use slackpkg to upgrade your system or refresh your install with the newer ISO generated on the 16th (the solid update was pushed on the 10th) using iso2ush.sh -r.

Code:
./iso2usb.sh -i slackware64-live-current.iso -r -o /dev/sdc
Thanks for explanations. You right I should update to new version. But for me six months period between upgrades is reasonably. Person of AlienBob is kind of warranty snapshot he took is stable enough. Direct update with recent -current can brake this stability. So upgrade Live with Live.
 
Old 07-21-2021, 05:02 PM   #754
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 160

Rep: Reputation: Disabled
Quote:
Originally Posted by ZhaoLin1457 View Post
But on Slackware the /var/run is a bind mount of /run, then when we will mount a USB drive, it appears on both locations.
I knew already that this is a cause for the problem, as the code path with the crash is for exactly the case when the partition is mounted in multiple places.
What I didn't knoow is that other distributions do it differently. Also I assumed there's a good reason that Slackware does it this way. I'm going to ask about it in the requests thread. But I think the fault lies with KDE. The check should be there even if it is only needed on (FHS-) non-conforming systems.
 
1 members found this post helpful.
Old 07-21-2021, 05:16 PM   #755
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,354

Rep: Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066
That would explain the dolphin crashes
Nevertheless it doesn't explain the cases where everything goes well...

It's the "non-systematic" side that leaves me perplexed.
 
Old 07-21-2021, 05:46 PM   #756
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 160

Rep: Reputation: Disabled
I located the change introducing the offending code in KDE's GitLab and commented there about our issue. I think the commit/change author will be notified about my comment, and will wait for/if he has to something to say about this.

Good night, slackers!
 
4 members found this post helpful.
Old 07-21-2021, 05:50 PM   #757
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by ZhaoLin1457 View Post
In my humble opinion, this is the real issue and that's why the code works for others and not for us sometimes: the way how we handle the /var/run which probably is specific to Slackware.
This is only workaround to solve this particular issue. We have no idea how this change influence others parts of system. To do such things you need to keep history all changes. In emergency you can rollback system to its previous state. That's beyond common Slackware user. We can do some small things. But in general rely on Slackware is evolving without revolutions. We can't keep track of that kind of development.
 
Old 07-21-2021, 05:54 PM   #758
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 160

Rep: Reputation: Disabled
Related discussion (my comment automatically appeared there).
 
4 members found this post helpful.
Old 07-21-2021, 06:01 PM   #759
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
In the context of ZhaoLin1457 about binding /var/run this caught my attention from link above
Quote:
With bind mounts on Linux, UDisks returns a 'MountPoints' property that could
include several paths, try to get the actual mount point of the partition
and ignore bind mounts.
if I understand well ignore bind mounts would cause to ignore /var/run.

Edit: For me it looks like this function instead of /var/run returns /run - supposedly or ...nothing.

Last edited by igadoter; 07-21-2021 at 06:04 PM.
 
Old 07-21-2021, 06:10 PM   #760
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 160

Rep: Reputation: Disabled
igadoter, a bind mount is not substantially different from any other mount (man mount may have more info). So if something is mounted with a bind mount (or multiple), those mount points are not in any way inferior to the original one, afaik. (Similar to a file with multiple hardlinks.) Thus, the solid code in question, as far as I can tell, isn't trying to decide which mount point is authoritative, but just tries to make one canonical for solid's sake.
 
Old 07-21-2021, 07:08 PM   #761
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 160

Rep: Reputation: Disabled
I can't sleep. and Ahmad Samir of solid has already proposed a patch. I suspect it is equivalent to the one from LuckyCyborg's friend, but please test it everyone affected, for this will be in the next version of solid then.
 
4 members found this post helpful.
Old 07-22-2021, 01:22 AM   #762
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by j12i View Post
I can't sleep. and Ahmad Samir of solid has already proposed a patch. I suspect it is equivalent to the one from LuckyCyborg's friend, but please test it everyone affected, for this will be in the next version of solid then.
I have tested Solid 5.84 built with the patch proposed by the Solid programmer and everything works fine.

The Plasma5 desktop is loaded properly without crashes and I tested also mounting an USB drive with Dolphin and systray widget.

Last edited by ZhaoLin1457; 07-22-2021 at 01:34 AM.
 
Old 07-22-2021, 01:27 AM   #763
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by j12i View Post
I suspect it is equivalent to the one from LuckyCyborg's friend
indeed it is.

--
Best regards,
Andrzej Telszewski
 
Old 07-22-2021, 03:01 AM   #764
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled
Excellent that the upstream developer has fixed the issue, and thanks to all on here for their work in finding and fixing this nasty bug!

What a brilliant resource this forum is!



--
Pete
 
Old 07-22-2021, 03:20 AM   #765
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,354

Rep: Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066Reputation: 4066
And because, I think it's also important to make sure that there's no regression
I recompiled solid with the patch and no issue to report ;-)
 
  


Reply

Tags
desktop, kde, slackware -current, startx



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
[SOLVED] slackware 14.2 x86_64 plasma 5 installation. when I run "xwmconfig", "xinitrc.plasma" is not listed as an option? rockinroyle Slackware 9 07-31-2016 03:42 PM

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

All times are GMT -5. The time now is 06:33 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