LinuxQuestions.org
Help answer threads with 0 replies.
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


View Poll Results: Are you for or against systemd?
Love it! 10 9.35%
Don't like it, prefer a different one! 30 28.04%
HATE IT!! 34 31.78%
Could not careless! 33 30.84%
Voters: 107. You may not vote on this poll

Reply
  Search this Thread
Old 04-26-2017, 08:13 AM   #151
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

Quote:
Originally Posted by alabit View Post
Actually, would the term 'freedestop components' be more expressive, instead of referring just to systemd? Distributions are still, sometimes, distinguished based on the package managers they use by default. So, are they going to be, or should be, distinguished by something along this line?

It could defuse a lot of controversy, when people start looking at distributions as such. Eventually, it should be understood that X, Y and Z distributions are 'freedestop components-based', and others are not, and complaining about the fact is pointless.
Out of interest, what do you mean by "freedesktop components-based"?

Are you referring to these guys?

https://www.freedesktop.org/wiki/Software/systemd/
 
Old 04-26-2017, 08:32 AM   #152
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
Thanks folks, this weekend I am going to try and switch a minimal Debian 8 from the default to sysvinit.
 
Old 04-26-2017, 08:35 AM   #153
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Out of interest, what do you mean by "freedesktop components-based"?

Are you referring to these guys?

https://www.freedesktop.org/wiki/Software/systemd/
Yes.. systemd is just part of a bigger effort, correct?
 
Old 04-26-2017, 09:10 AM   #154
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
The term "Linux proprietary", I used in this thread has nothing whatsoever to do with proprietary, closed source, software. It simply means "Linux owned". It's probably a term we use more in *BSD circles. It means software which is generally consider to have no or poor portability to other *nix (or other OS).
Quote:
Originally Posted by alabit View Post
Thanks folks, this weekend I am going to try and switch a minimal Debian 8 from the default to sysvinit.
Probably not worth the effort.

Last edited by cynwulf; 04-26-2017 at 09:11 AM.
 
Old 04-26-2017, 09:44 AM   #155
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,109
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by alabit View Post
Thanks folks, this weekend I am going to try and switch a minimal Debian 8 from the default to sysvinit.
A AntiX base install will accomplish this without any input needed from you.

Alpha 2 Debian stretch

Quote:
antiX-17.a2_x64-net.iso 2017-02-09 152.0 MB
antiX-17.a2_386-net.iso 2017-02-09 158.3 MB

Stable Debian Jessie

Quote:
antiX-16.2_x64-net.iso 2017-02-10 149.9 MB \
antiX-16.2_386-net.iso 2017-02-10 149.9 MB
Linky

As always. Md5sum check at least iso downloads for file integrity. There are other safe gaurd links to check iso's also for the tin foil hat folks also.

After install, You can look at

Code:
harry@biker:~
$ cd /etc/apt
harry@biker:/etc/apt
$ ls
apt.conf    preferences.d   trustdb.gpg  trusted.gpg~
apt.conf.d  sources.list.d  trusted.gpg  trusted.gpg.d
harry@biker:/etc/apt
$ cd preferences.d
harry@biker:/etc/apt/preferences.d
$ ls
00systemd
harry@biker:/etc/apt/preferences.d
$ cat 00systemd
Package: *systemd*
Pin: origin ""
Pin-Priority: -1
harry@biker:/etc/apt/preferences.d

Not sure which is easier for you. Since you said switch. Since I don't know what you have invested in your Debian 8 install. Just posting info on a alternative route that might be useful to you. Disregard if I am off base.

Last edited by rokytnji; 04-26-2017 at 09:47 AM.
 
2 members found this post helpful.
Old 04-26-2017, 09:54 AM   #156
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
This may be a bit naive, but I don't see why systemd had to be such a colossus. If it were truly modular, I think people would have much fewer problems with it.

For example, systemd itself could have been purely an init system based on the excellent idea of opening all daemon sockets in advance and then simultaneously launching the daemons to take them over, thus speeding up the boot. Subsequently the program would act as a babysitter for the daemons, launching additional ones when a socket or spool queue was accessed and relaunching those that crashed.

Quite separately, there could have been a binary journal program for those who wanted more selective journal displays than are available from text loggers like syslog. Those who didn't want a binary journal (and that means most of us) would not have needed to install this.

The configuration programs could have been alternatives to individual init scripts for those sysadmins who found configuration easier using a .ini-type service file than trying to edit a complex script. So for instance you could install timed/timectl or logind/loginctl if you wanted them and not otherwise.

If it had been done this way, applications would have been much less likely to become systemd-dependent and people would not have had this feeling of being railroaded into using it, which is responsible for most of the bad feeling.
 
3 members found this post helpful.
Old 04-26-2017, 10:11 AM   #157
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Not sure which is easier for you. Since you said switch. Since I don't know what you have invested in your Debian 8 install. Just posting info on a alternative route that might be useful to you. Disregard if I am off base.
THANKS!
You read my mind. I was wondering where to start, what to try first.
I am going to read the virtualization forum next because I need to change my habits of using heavy VirtualBox images for everything and find alternatives.. for the first time in years I need to rethink a lot about the way I do things. Read you there, hopefully.
 
Old 04-26-2017, 11:42 AM   #158
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by alabit View Post
Thanks folks, this weekend I am going to try and switch a minimal Debian 8 from the default to sysvinit.
You should certainly NOT do this like this. try to play around with debootstrap a bit, in order to look around what are critical part to be removed for a clean installation, and try to make a list of debs without systemd. The rest you compile it yourself carefully on Sysvinit.
 
Old 04-26-2017, 11:55 AM   #159
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
some people mentioned apple's launchd and the fact that systemd didn't start out from nothing, that there were "progenitors" - i'd like to hear more about that!
i guess they don't have a common codebase?
so where exactly did systemd come from?

the wikipedia page says that systemd started in 2010, but the github project already started in 2004...
 
Old 04-26-2017, 12:04 PM   #160
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,305
Blog Entries: 3

Rep: Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720
Quote:
Originally Posted by ondoho View Post
some people mentioned apple's launchd and the fact that systemd didn't start out from nothing, that there were "progenitors" - i'd like to hear more about that!
Here's a good summary which includes the init systems plus names systemd anyway (despite it not being an init system): http://blog.darknedgy.net/technology/2015/09/05/0/
 
1 members found this post helpful.
Old 04-26-2017, 12:16 PM   #161
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by Turbocapitalist View Post
Here's a good summary which includes the init systems plus names systemd anyway (despite it not being an init system): http://blog.darknedgy.net/technology/2015/09/05/0/
in other words, this link:
Quote:
SYSTEMD IS AMBITIOUS AND CONTROVERSIAL. WE SPEAK TO ITS LEAD DEVELOPER ABOUT ITS ORIGINS, ITS FUTURE, AND HOW TO DEAL WITH ONLINE FLAMEWARS…
here the link: https://www.linuxvoice.com/interview...rt-poettering/

[JOKE]
Hey guys, I am a new Poettering, I will replace X11 with WIN11, and put pulseaudio instead of ALSA into your kernel! It shall be more complex and it will handle automatically everything. Trust your system. I want also to have instead of the directory /bin/ a directory /system32/ and remove cp and replace it by xcopy. mv will be move. Soon, Debian/Ubuntu and most other distros will implement it since it is a cool innovative idea.
[/JOKE]

That's modern world, things have to change and look a bit more like Windows. Maybe, Windows pays guys to make Linux more like a Windows Spying Platform, like Win10
 
Old 04-26-2017, 01:58 PM   #162
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Talking Jsbjsb001 LQ should have just said they don't do homework...

Fundamentally we're talking Linux which is compiled (ie binary) is it not?
Quote:
  1. The message data is generally not authenticated, every local process can claim to be Apache under PID 4711, and syslog will believe that and store it on disk.
  2. The data logged is very free-form. Automated log-analyzers need to parse human language strings to a) identify message types, and b) parse parameters from them. This results in regex horrors, and a steady need to play catch-up with upstream developers who might tweak the human language log strings in new versions of their software. Effectively, in a away, in order not to break user-applied regular expressions all log messages become ABI of the software generating them, which is usually not intended by the developer.
  3. The timestamps generally do not carry timezone information, even though some newer specifications define support for it.
  4. Syslog is only one of many log systems on local machines. Separate logs are kept for utmp/wtmp, lastlog, audit, kernel logs, firmware logs, and a multitude of application-specific log formats. This is not only unnecessarily complex, but also hides the relation between the log entries in the various subsystems.
  5. Reading log files is simple but very inefficient. Many key log operations have a complexity of O(n). Indexing is generally not available.
  6. The syslog network protocol is very simple, but also very limited. Since it generally supports only a push transfer model, and does not employ store-and-forward, problems such as Thundering Herd or packet loss severely hamper its use.
  7. Log files are easily manipulable by attackers, providing easy ways to hide attack information from the administrator
  8. Access control is non-existent. Unless manually scripted by the administrator a user either gets full access to the log files, or no access at all.
  9. The meta data stored for log entries is limited, and lacking key bits of information, such as service name, audit session or monotonic timestamps.
  10. Automatic rotation of log files is available, but less than ideal in most implementations: instead of watching disk usage continuously to enforce disk usage limits rotation is only attempted in fixed time intervals, thus leaving the door open to many DoS attacks.
  11. Rate limiting is available in some implementations, however, generally does not take the disk usage or service assignment into account, which is highly advisable.
  12. Compression in the log structure on disk is generally available but usually only as effect of rotation and has a negative effect on the already bad complexity behaviour of many key log operations.
  13. Classic Syslog traditionally is not useful to handle early boot or late shutdown logging, even though recent improvements (for example in systemd) made this work.
  14. Binary data cannot be logged, which in some cases is essential (Examples: ATA SMART blobs or SCSI sense data, firmware dumps)
Quote:
  1. Simplicity: little code with few dependencies and minimal waste through abstraction.
  2. Zero Maintenance: logging is crucial functionality to debug and monitor systems, as such it should not be a problem source of its own, and work as well as it can even in dire circumstances. For example, that means the system needs to react gracefully to problems such as limited disk space or /var not being available, and avoid triggering disk space problems on its own (e.g. by implementing journal file rotation right in the daemon at the time a journal file is extended).
  3. Robustness: data files generated by the journal should be directly accessible to administrators and be useful when copied to different hosts with tools like “scp” or “rsync”. Incomplete copies should be processed gracefully. Journal file browsing clients should work without the journal daemon being around.
  4. Portable: journal files should be usable across the full range of Linux systems, regardless which CPU or endianess is used. Journal files generated on an embedded ARM system should be viewable on an x86 desktop, as if it had been generated locally.
  5. Performance: journal operations for appending and browsing should be fast in terms of complexity. O(log n) or better is highly advisable, in order to provide for organization-wide log monitoring with good performance
  6. Integration: the journal should be closely integrated with the rest of the system, so that logging is so basic for a service, that it would need to opt-out of it in order to avoid it. Logging is a core responsibility for a service manager, and it should be integrated with it reflecting that.
  7. Minimal Footprint: journal data files should be small in disk size, especially in the light that the amount of data generated might be substantially bigger than on classic syslog.
  8. General Purpose Event Storage: the journal should be useful to store any kind of journal entry, regardless of its format, its meta data or size.
  9. Unification: the numerous different logging technologies should be unified so that all loggable events end up in the same data store, so that global context of the journal entries is stored and available later. e.g. a firmware entry is often followed by a kernel entry, and ultimately a userspace entry. It is key that the relation between the three is not lost when stored on disk.
  10. Base for Higher Level Tools: the journal should provide a generally useful API which can be used by health monitors, recovery tools, crash report generators and other higher level tools to access the logged journal data.
  11. Scalability: the same way as Linux scales from embedded machines to super computers and clusters, the journal should scale, too. Logging is key when developing embedded devices, and also essential at the other end of the spectrum, for maintaining clusters. The journal needs to focus on generalizing the common use patterns while catering for the specific differences, and staying minimal in footprint.
  12. Universality: as a basic building block of the OS the journal should be universal enough and extensible to cater for application-specific needs. The format needs to be extensible, and APIs need to be available.
  13. Clustering & Network: Today computers seldom work in isolation. It is crucial that logging caters for that and journal files and utilities are from the ground on developed to support big multi-host installations.
  14. Security: Journal files should be authenticated to make undetected manipulation impossible
Code:
_SERVICE=systemd-logind.service
MESSAGE=User harald logged in
MESSAGE_ID=422bc3d271414bc8bc9570f222f24a9
_EXE=/lib/systemd/systemd-logind
_COMM=systemd-logind
_CMDLINE=/lib/systemd/systemd-logind
_PID=4711
_UID=0
_GID=0
_SYSTEMD_CGROUP=/system/systemd-logind.service
_CGROUPS=cpu:/system/systemd-logind.service
PRIORITY=6
_BOOT_ID=422bc3d271414bc8bc95870f222f24a9
_MACHINE_ID=c686f3b205dd48e0b43ceb6eda479721
_HOSTNAME=waldi
LOGIN_USER=500
http://www.sc.edu/beaufort/library/p...es/bones.shtml

All this over nothing to me and options... plus, plus opinions.

Last edited by jamison20000e; 04-26-2017 at 02:00 PM. Reason: missed a word
 
Old 04-26-2017, 02:20 PM   #163
un1x
Member
 
Registered: Oct 2015
Posts: 645

Rep: Reputation: Disabled
Poll number 987,654,000 ...

 
Old 04-26-2017, 02:54 PM   #164
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
A netinst is a good start to do away with Systemed just disconnect... (kinda wanted to leave that statement as is (disconnected) but must say stretch/sid is much more)
 
Old 04-26-2017, 03:04 PM   #165
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Arrow Off topic-ish:

"you should to0!" —Un1x I get what you're saying (like me sometimes ) eg (for me) "unstable" is always better and lately never "unstable" and I love minimal in many circumstances for example (ie eg) if I have my laptop out and want to scrimp on power: CLI, Randomplay, Links2,,, but, I like how someone explained once (not verbatim:) if you don't like the GUI* and it's a deal breaker for you don't piss on the upcoming graphic artists.

Bottom two: https://cdimage.debian.org/cdimage/u...ding-firmware/ tops!

Last edited by jamison20000e; 05-08-2017 at 10:59 AM.
 
  


Reply

Tags
init, systemd



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
LXer: systemd 230 Launches with DNSSEC Enabled by Default in systemd-resolved LXer Syndicated Linux News 0 05-22-2016 11:41 AM
Can't access full journalctl from script via systemd service even though user is in systemd-journal group iwtbf Linux - Newbie 0 02-19-2016 02:44 PM
LXer: Why pro-systemd and anti-systemd people will never get along LXer Syndicated Linux News 0 05-15-2015 11:44 PM
LXer: Is systemd as bad as boycott systemd is trying to make it? LXer Syndicated Linux News 0 09-03-2014 05:50 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM

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

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