LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 08-30-2015, 12:11 PM   #1
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
Systemd Absorbs "su" Command Functionality


http://linux.slashdot.org/story/15/0...-functionality
Many seem not to be happy, myself i have used su for over 20 years without issue. I hope LP's replacement works as well.
What do you all think?
 
Old 08-30-2015, 12:17 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by fogpipe View Post
I hope LP's replacement works as well.
It's not a replacement, it's an alternative -- `su` will still be available.

I haven't tried it yet but I may switch over to Arch [testing] to try it out (or wait a few days), it looks interesting.
 
Old 08-30-2015, 12:18 PM   #3
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
--edit nevermind
 
Old 08-30-2015, 01:51 PM   #4
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Someone, or several, people out there are missing some fundamentals in their education. Eloquently summed up in the following statement.

First it is important to emphasize the value of simplicity and elegance, for complexity has a way of compounding difficulties and as we have seen, creating mistakes. My definition of elegance is the achievement of a given functionality with a minimum of mechanism and a maximum of clarity.


When, not if, this massively complex system(d) gets exploited, the resulting earthquakes in the community will be a true popcorn moment.

Personally, I don't understand half of the reasoning behind the decisions that are made over there. I mean, udev replaced a system and didn't bother solve any of it's predecessor's problems. This is part of the reason why Steam machines won't have a sleep function. Valve can't make device rediscovery reliable.
 
1 members found this post helpful.
Old 08-30-2015, 06:35 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
as i posted on /.
there is no ambiguity with "su " and "su -"
they do different things for different jobs

if i do not need to be in /root then i do not use "su -"


PS.
for those that do not know "su -" is a typing short cut for this command -- " su -l root "



the system D and System V issue is a bit complex and a bit simple

for 95+ servers "D" is not needed
but
for 95+% HOME and Office "D" is needed most of the time

BUT it is adding a TON!!! of complexity on top of things

BUT also solves things that get VERY complex

like setting up Arch and MANUALLY organizing the int system on a group of machines that WILL see HEW!!! and different hardware all the time ( like at HOME!! )

Last edited by John VV; 08-30-2015 at 06:38 PM.
 
Old 08-30-2015, 07:16 PM   #6
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Well, my "popcorn moment" statement aside, this warring over systemd does little to help Linux. Development and politics really shouldn't be mixed. I think once a truly level headed project appears that competes, feature-wise, with systemd that the argument will die down. Especially if what appears adheres to KISS, POSIX, etc.
 
Old 08-30-2015, 09:10 PM   #7
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by fogpipe View Post
i have used su for over 20 years without issue.
Simply another "innovation" from the person who believes:
Alsa is broken, because it is "old".
Linux is broken, because it is inferior to Windows great design.
The BSDs are legacy systems.

Is anyone surprised by his latest revelation? He is a young person who has been given the task of "fixing" a system he does not understand and believes it is not necessary to learn about the system he is "fixing" before screwing around with it. He foolishly believes simplicity is not modern and the more complicated something is the better it is. There will be many more changes like this. I for one, shall enjoy the entertainment as I watch from across the fence.
 
2 members found this post helpful.
Old 08-31-2015, 12:29 AM   #8
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by Randicus Draco Albus View Post
Simply another "innovation" from the person who believes:
Alsa is broken, because it is "old".
Linux is broken, because it is inferior to Windows great design.
The BSDs are legacy systems.

Is anyone surprised by his latest revelation? He is a young person who has been given the task of "fixing" a system he does not understand and believes it is not necessary to learn about the system he is "fixing" before screwing around with it. He foolishly believes simplicity is not modern and the more complicated something is the better it is. There will be many more changes like this. I for one, shall enjoy the entertainment as I watch from across the fence.
Well, I agree when it comes to SysV. I think making standard the addition of a process watchdog was definitely necessary. And maybe some interaction between a watchdog and initd would have been beneficial. But, did it need to be rolled into a completely new Init replacement? Probably not. Hardware enumeration needed some work and, unfortunately, the replacement has fallen off the horse and lost its saddle.

But, as far as "old" and "legacy" go... Sometimes that is the case and sometimes it is not, and age has little to do with it. The screwdriver and socket-wrench are both old designs, but are not obsolete. The POTS system is definitely reaching a "legacy" state, but is still useful. The telegraph wires that still run along side railroad tracks in the Midwest are definitely old and obsolete, as are stock automobile carburetors, even though both of these worked fine at the time.

Now, getting back to the point... The biggest issue with systemd has little to do with its internal workings. No, the biggest issue is that the creators don't seem to care what kind of collateral damage they cause. Putting a big chip on your shoulder is only going to earn you enemies.

Last edited by Luridis; 08-31-2015 at 12:54 AM.
 
Old 08-31-2015, 01:31 AM   #9
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Sometimes that is the case and sometimes it is not, and age has little to do with it.
Tell that to Poettering. Read the shit he has written about ALSA. ALSA has been used since the mid-90s. Linux could not advance, until ALSA was replaced by a modern audio stack. Luckily, Windows has a wonderful design that he could base Pulse Audio on. I am not making it up. That is his belief. Therefore, it is not a surprise that he considers BSDs to be legacy. They adhere much more closely to Unix principles than Linux does, and Unix is ancient. su is just another case of the same nonsense. It is a relic from the ancient days of Unix. So Saint Lenard will save Linux by replacing it with something from the reservoir of his genius. If only the superior operating system called Windows had something similar for him to copy. That way he would not need to disturb his tranquil genius and rub a few brain cells together.
 
2 members found this post helpful.
Old 08-31-2015, 07:22 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
machinectl shell is neither absorbing su, nor replacing it. It provides functionality that su simply doesn't have. Excerpt from the machinectl manpage:
Quote:
When using the shell command without arguments (thus invoking the executed shell or command on the local host) it is similar in many ways to a su(1) session, but unlike su completely isolates the new session from the originating session, so that it shares no process or session properties, and is in a clean and well-defined state. It will be tracked in a new utmp, login, audit, security and keyring session, and will not inherit any environment variables or resource limits, among other properties.
Note that this excerpt only speaks about what happens when the command is invoked without arguments, machinectl additionally is able to start the new shell in a new session on any of the containers running on the machine it is launched from.
 
Old 08-31-2015, 07:53 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

This thread is being closed. Systemd is a problem subject that we at LQ do not need nor feel is a subject to be discussed here.
"Another Systemd yes-or-no thread which we shouldn't have?"

If you have a problem with this then please contact admin via jeremy@linuxquestions.org.
 
1 members found this post helpful.
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos Server Failed @ Bootup: Missing "/sbin/blkid" & "fsck" command not found beagle7 Linux - Newbie 4 08-24-2012 01:33 AM
Enable "add port" functionality to char driver unifoxz Linux - Kernel 4 04-19-2012 02:53 AM
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 04:23 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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