LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


Closed Thread
  Search this Thread
Old 08-26-2012, 04:44 PM   #346
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097

What benefits are there of localizing the workstation even more and making it less portable?

Localization means this:

- more work for permission settings
- more time in setting up workstation
- more work in keeping systems up to date properly
- more costly workstation PC versus low cost terminal
- less easy to lock out systems on the network
- isolated systems don't have redundancy and if loss occurs means more downtime

Networkization means this:

- less time in permission settings
- less time in system updates
- terminals only require a minimal upgrade meaning less is pushed out over the network saving bandwidth.
- easier to lock out unauthorized terminals from network services
- lower cost of terminal units versus full sized workstation
- redundancy increases loss prevention
 
Old 08-26-2012, 04:48 PM   #347
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
I think people are missing the point here. The issue is not whether /bin and /lib should be merged into /usr or not. It's that udev and systemd are dependent on the contents of /usr during early boot. That is the underlying problem. The answer is to make early boot self-contained, but that will require work and it's easier for Lennart and Co to simply declare a separate /usr filesystem unsupported and ignore the fact that many sysadmins already rely on the ability to do this.


If something needs to be available during early boot, then to me the obvious place to put it would be /boot. If that means having to implement a udev-lite for early boot and then the full-function udev in /usr that takes over later when everything is in place, then so be it.

We get the advantages of all the system binaries in one place (/usr) and still get all the advantages of having it separate and shareable.
 
1 members found this post helpful.
Old 08-26-2012, 04:48 PM   #348
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
What benefits are there of localizing the workstation even more and making it less portable?

Localization means this:

- more work for permission settings
- more time in setting up workstation
- more work in keeping systems up to date properly
- more costly workstation PC versus low cost terminal
- less easy to lock out systems on the network
- isolated systems don't have redundancy and if loss occurs means more downtime

Networkization means this:

- less time in permission settings
- less time in system updates
- terminals only require a minimal upgrade meaning less is pushed out over the network saving bandwidth.
- easier to lock out unauthorized terminals from network services
- lower cost of terminal units versus full sized workstation
- redundancy increases loss prevention
I am not advocating Localization.

/usr move has benefits to both sides as well. The costs of the move are minimal if you read online about why Solaris and Fedora decided to move them.
Solaris is far from a local machine.
There is costs to everything.
 
Old 08-26-2012, 05:18 PM   #349
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Mercury... you're missing the point. The point of what Lennart and Company are wanting to do is to create a monolithic system to where it requires localization to gain access to system resources that it shouldn't without permission.

/usr is not a local system directory, it's a network extension directory the same as /opt is. In fact, /opt, /home, and /usr are the exact same directory types. A system independent directory.

The benefits of not having /usr localized are far more reaching than what I hinted at. In fact it's more secure to have less localization because less is accessible from a local machine that could be compromised.

Think about this...

How much data could you steal off a machine that has everything localized with a simple Ubuntu Live Disk.

Pretty much, everything. In fact, I hack people's broken PCs with an Ubuntu Live disk to reset lost passwords, retrieve data, and scan for malware. I can even use a tool to break through NTFS's EFS with ease.

How much data could you extract off a system that only has a read-only root file system?

Only the data that is immediately there and nothing else. And not only that, if a network permission system is setup on the local terminal, I can not access server resources.

Last edited by ReaperX7; 08-26-2012 at 05:21 PM.
 
Old 08-26-2012, 05:33 PM   #350
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by GazL View Post
If something needs to be available during early boot, then to me the obvious place to put it would be /boot. If that means having to implement a udev-lite for early boot and then the full-function udev in /usr that takes over later when everything is in place, then so be it.
You can include systemd in the initrd for that. I think this is now recommended over busybox init but both should work. That is obviously their preferred solution.
Quote:
Originally Posted by ReaperX7 View Post
Mercury... you're missing the point. The point of what Lennart and Company are wanting to do is to create a monolithic system to where it requires localization to gain access to system resources that it shouldn't without permission.
You could still use a PXE boot using a remote initrd that can mount a remote /usr, thus eliminating any localized content on the thin client. This is just more work.
Quote:
Originally Posted by ReaperX7 View Post
How much data could you steal off a machine that has everything localized with a simple Ubuntu Live Disk.
System data is not valuable to steal. The /usr merge does not prevent you from hosting /home and /var elsewhere, so any local theft would be relatively harmless.
 
2 members found this post helpful.
Old 08-26-2012, 05:45 PM   #351
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Rep: Reputation: Disabled
@T3Slider

I would like to mention that you do write a lot of credible stuff on LQ and I learn things from you. Sure there will be times we might disagree. I didn't want to come off at you in that type of way while writing in here. I have no hard feelings towards you. Its always good to learn from each other.
regards

Last edited by Mercury305; 08-26-2012 at 05:47 PM.
 
1 members found this post helpful.
Old 08-26-2012, 06:02 PM   #352
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by T3slider View Post
You could still use a PXE boot using a remote initrd that can mount a remote /usr, thus eliminating any localized content on the thin client. This is just more work.
Yes, and Network Admins want to cut down on work needed to reduce downtime, increase productivity, and have one less problem to stress them out. However having PXE would solve some problems but introduce others as well such as slower boot times because everything would still need to be accessed over the network and if the network is down then the system doesn't boot. If it used a localized /(root) only partition the system could be scripted also to wait at the boot process until the network becomes available such as a steady read, check, and sleep for X time if the network is down and then repeat the process.

Or even then load the local system and then have the user log in to /home using the bash terminal and load everything from /usr and such file systems upon accessing their files. The possible configurations are many.

However, you want to be able to access the right stuff at the right time, and with the right permissions, security clearances, and with the right configurations.

Last edited by ReaperX7; 08-26-2012 at 06:04 PM.
 
Old 08-26-2012, 06:10 PM   #353
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by T3slider View Post
You could still use a PXE boot using a remote initrd that can mount a remote /usr, thus eliminating any localized content on the thin client. This is just more work.
That's true, that should fine for thin clients, and they rely on PXE already so it's not that much of a change. A bit more work, but probably not that big a deal.

Regular servers (VMs or containers) are a different story, IMHO. Today, you can have a farm of web servers running off the same shared /usr mount point, while at the same time keeping essential boot binaries local.

To me, that's as close to the ideal scenario as you can get. Moving the system binaries into /usr complicates things, and the only realistic way around it is a rather large initrd (it has to include kernel modules as well, as /lib is also supposed to move to /usr). If you're currently not using initrds at all (I'm not), this is not what I'd call a trivial change.

We'd only be doing this for one reason: systemd can't handle /usr being mounted later in the boot process. While I don't like being ambushed by developers who wish to make sweeping changes to the system that has served me well for many years, that's actually not my main issue with this proposed change. That part that scares me, is that the existence of the /usr split evidently came as a surprise to the systemd developers. There are a few books on Unix and Linux system administrations they must have missed. Like, all of them.

The fact that a daemon designed to be the ultimate solution to all things hotplug couldn't deal with /usr popping up later in the boot process, is really hilarious. Or it would be, if it hadn't caused all this trouble.
 
4 members found this post helpful.
Old 08-26-2012, 06:39 PM   #354
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by Mercury305 View Post
wunderkid 1
greybeard 0

Your wunderkid comment had no trolling in it?
It only just now occurred to me that you think my comment was referring to you. It certainly wasn't, and I'm sorry if the context made it appear as if it was.
 
1 members found this post helpful.
Old 08-26-2012, 07:00 PM   #355
Mercury305
Member
 
Registered: Jul 2012
Location: Rockville, MD
Distribution: CrunchBang / Ubuntu
Posts: 540

Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
It only just now occurred to me that you think my comment was referring to you. It certainly wasn't, and I'm sorry if the context made it appear as if it was.
yes i realized that later. my bad. The "lazy admins" was a result to that statement and was kinda like a backlash at the wunderkind. You guys are good people. We are still on the same boat even if we may disagree on certain things.
The admins and developers need to end this friction between each other.
Developers need to listen to the admins more on specific problems instead of the Lennart way of doing things, and admins need to ask the developers more before making statements on things they don't fully understand. The end result will be better harmony for both sides.

Peace
 
Old 08-26-2012, 07:10 PM   #356
elvis4526
Member
 
Registered: Aug 2011
Posts: 114

Rep: Reputation: Disabled
Do you guys actually know about the --enable-split-usr flag when you build systemd from source ?
 
1 members found this post helpful.
Old 08-26-2012, 07:51 PM   #357
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
Quote:
Originally Posted by elvis4526 View Post
Do you guys actually know about the --enable-split-usr flag when you build systemd from source ?
The whole debate started because the option was marked as deprecated quite some time ago.
 
Old 08-26-2012, 08:20 PM   #358
elvis4526
Member
 
Registered: Aug 2011
Posts: 114

Rep: Reputation: Disabled
Sorry I tought the discussion was about the fact that /bin, /lib, etc.. should be symlinked in /usr/.
As for the /usr on a separate partition, who does that anyway?
 
Old 08-26-2012, 08:28 PM   #359
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Networked systems that serve as redundancy and mirrors.

I have to say this for Lennart Poettering... I now dislike him even more as to his lack of understanding of Networked Operating Systems is now ever more so blatantly clear. His lack of knowledge in areas he is trying to change drastically is becoming ever more so profound.

That article from the FreeBSD people http://forums.freebsd.org/showthread.php?t=22444 , especially Phoenix's comment really makes you wonder if all this "change" to Linux is going correctly:

Quote:
What's sad is the complete and utter lack of cooperation between the different projects that make up "the Linux OS".

The systemd folks know there's an issue, but they won't work with the community to find out what needs to be moved to / in order for separate /usr to work.

The udev folks don't seem to care if they spam the /usr filesystem and that it breaks things for others.

The PCI ID database folks don't seem to care if they spam the /usr filesystem when there's consumers under / that need access to it.

And so on and so forth.

That's the nice thing about FreeBSD: it's developed as a whole, so if something is developed that needs to access resources under /usr very early in the boot sequence, then solutions to make it work are looked at.

Would it really be that hard for the systemd folks to add a "critical filesystems" checkpoint, and to add /usr to that? Every other init system out there can handle that ... except systemd it seems.
Even I'll dare to say it... Let's not push too hard on our house of cards (the fundamental GNU/Linux OS), lest the house collapse and it takes forever to rebuild everything from scratch.

Last edited by ReaperX7; 08-26-2012 at 08:40 PM.
 
Old 08-26-2012, 08:34 PM   #360
elvis4526
Member
 
Registered: Aug 2011
Posts: 114

Rep: Reputation: Disabled
You can still pre-mount it from the initramfs so everything will be ok. I don't understand what is the problem.
 
  


Closed Thread



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
Informaton on systemd init system? arashi256 Linux - Newbie 1 06-04-2011 07:06 PM
LXer: openSUSE 11.4 M6 Kills HAL, Brings WebYaST, Avoids SystemD LXer Syndicated Linux News 0 01-28-2011 11:50 PM
LXer: This week at LWN: Systemd and Fedora 14 LXer Syndicated Linux News 0 09-07-2010 01:00 AM
LXer: Systemd Test Day on Tuesday 2010/09/07 LXer Syndicated Linux News 5 09-06-2010 10:52 AM
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM

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

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