SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wouldn't say it's sure the patch lands in the next version of solid just because someone wrote the code. Otoh there's really no reason to leave this check out...
Has anyone notified Patrick of any of this - including the various patches? Surely this is something he should be involved in since (to me!) it appears to address fundamental Slackware practices.
I know he does keep an eye on this forum, but this problem is "hidden" under a thread name that does not flag up its importance.
If no-one else wishes to, I will contact him, but it would be better coming from someone like LuckyCyborg, as he seems to have his finger well and truly on the pulse of this, as well as having found a solution to the problem.
Just my 2p worth!
--
Pete
While in the last years usually I had no fear or remorse to argue worth of 10 pages with the Scholars hanging in this forum, regarding even a single "comma" on the Slackware Gospels, this time I have no disposition to quarrel with them on the Requests Thread - specially after reading this:
Quote:
Originally Posted by notzed
It's these pithy, ego-driven, over-confident, condescending, and completely unhelpful comments like yours and some others around here (luckycyborg springs to mind) that makes internet forums like these such a winner for new and old users alike. So damn unnecessary too, maybe you should've spent more of those 20+ years learning some netiquette and basic manners.
So, feel free to lead and raise this FHS conformance issue, if you believe on it.
Last edited by LuckyCyborg; 07-22-2021 at 07:29 AM.
So, on openSUSE the USB drive is mounted on /run/media/root/ADATA\040UFD while on Slackware is "mounted" on /run/media/root/ADATA\040UFD and /var/run/media/root/ADATA\040UFD
While in the last years usually I had no fear or remorse to argue worth of 10 pages with the Scholars hanging in this forum, regarding even a single "comma" on the Slackware Gospels, this time I have no disposition to quarrel with them on the Requests Thread - specially after reading this:
So, feel free to lead and raise this FHS conformance issue, if you believe on it.
I seriously doubt that I'm qualified to comment on FHS conformance!
However, I can understand your feelings regarding forum comments! In this case, though, you have been spot-on with your diagnosis and fix, and that alone should be enough to put many of the "scholars" in their place!
Actions speak louder than words!
I was on the receiving end of some smart-alec comments from someone on the slackware-arm forum when I warned about this issue there, having had it on my Raspberry Pi-400 (slarm64) too. The person in question had clearly not read thoroughly my post on the matter, and quickly went away when this was pointed out.
These forums are a gold-mine of information and help, and while I make no claims to be a programming expert, I can follow "C" code - though not necessarily write it - and do simple patches. Sometimes things come up that I have experienced and found a fix for. If I can help, I will. If someone wishes to slag me off for that, than I regard it as their problem not mine!
I wish you well, whoever you are and thank you for your time and effort here.
UPDATE: comment posted in "Requests for -current" thread.
/usr/bin/cat is not linked against libmount and probably never was.
What is the sense of this question?
/proc/self is populated for calling process. To me it means two processes can see different /proc/self/mountinfo. KDE is using libmount - not direct system call. More informative would be to compare eg. output of df - as df is using libmount.
Edit: Perhaps KDE programmer tried to achieve what is in df output. You don't see /var/run entries.
Can someone explain this? Say I can access directly /run, I can access directly /var/run - but not both!? Or perhaps this means program has to use interface to access /run and /var/run?
I think it is down to the program itself. It should either use /var/run/ or /run/. It shouldn't have one part of the program that uses /var/run and another part that uses /var/.
Quote:
Originally Posted by marav
Would this patch have a reason to exist if slackware was FHS compliant and we had /var/run as a symbolic link to /run?
I'm not sure Slackware is breaking FHS compliance in regard to /var/run/, however, there's a lot of the FHS that can be up for interpretation (see /usr/ vs /usr/local/ for things like SBo packages -- there's been mounds of discussions on that in the forum over time).
Here's what it says:
Quote:
It is valid to implement /var/run as a symlink to /run.
It only says it's "valid", not "required". To me, in this instance valid is another word for "acceptable".
If we compare this to two other lines:
Quote:
Configuration files for boot loaders that are not required at boot time must be placed in /etc.
--snip--
The following directories, or symbolic links to directories, are required in /var:
Note that they use "required" and "must". Based on this, it seems that the symlink is optional based on the FHS.
Based on this, it seems that the symlink is optional based on the FHS.
Yes, according with FHS 3.0 the /var/run should be a directory or a symlink to /run
But, is written somewhere that a /var/run directory should be mounted as shared bind with /run ?
Meaning by "shared bind" the ability that a mountpoint within /run to be present on /var/run and a device to appear as being multiple times mounted for the system, just like appears for Solid.
I discussed with some friends of mine who are also Linux users, and everybody agreed that in the letter of FHS specs that means either separate directories, either a symlink of /var/run to /run .
You do not think is that strange that certified RHEL system administrators, who handles hundreds of mission critical servers as job, but nobody of them heard about doing this shared bind thing for run directories?
And everybody agreed with one thing: this shared bind mounting means troubles, because it may confuse various programs.
Last edited by ZhaoLin1457; 07-22-2021 at 02:09 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.