LinuxQuestions.org
Visit Jeremy's Blog.
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 01-24-2015, 06:28 PM   #1126
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 ttk View Post
...while its detractors are demonized, marginalized, and slandered.
And even censored by the promoters of systemd as well. And yes, the fanboyism surrounding systemd is maddening. Sadly enough... even Slackware has it's share...
 
1 members found this post helpful.
Old 01-24-2015, 06:53 PM   #1127
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by TobiSGD View Post
I will just address this one, regarding the documentation of systemd behavior.
This is from the man page of systemd.service, which describes the options commonly used in .service files:
Code:
 Restart=
           Configures whether the service shall be restarted when the service process exits, is killed, or a timeout is reached. The service process may be the main service process, but it may also be one of the processes specified
           with ExecStartPre=, ExecStartPost=, ExecStop=, ExecStopPost=, or ExecReload=. When the death of the process is a result of systemd operation (e.g. service stop or restart), the service will not be restarted. Timeouts
           include missing the watchdog "keep-alive ping" deadline and a service start, reload, and stop operation timeouts.

           Takes one of no, on-success, on-failure, on-abnormal, on-watchdog, on-abort, or always. If set to no (the default), the service will not be restarted. If set to on-success, it will be restarted only when the service
           process exits cleanly. In this context, a clean exit means an exit code of 0, or one of the signals SIGHUP, SIGINT, SIGTERM or SIGPIPE, and additionally, exit statuses and signals specified in SuccessExitStatus=. If set to
           on-failure, the service will be restarted when the process exits with a non-zero exit code, is terminated by a signal (including on core dump, but excluding the aforementiond four signals), when an operation (such as
           service reload) times out, and when the configured watchdog timeout is triggered. If set to on-abnormal, the service will be restarted when the process is terminated by a signal (including on core dump, excluding the
           aforementioned four signals), when an operation times out, or when the watchdog timeout is triggered. If set to on-abort, the service will be restarted only if the service process exits due to an uncaught signal not
           specified as a clean exit status. If set to on-watchdog, the service will be restarted only if the watchdog timeout for the service expires. If set to always, the service will be restarted regardless of whether it exited
           cleanly or not, got terminated abnormally by a signal, or hit a timeout.

           Table 1. Exit causes and the effect of the Restart= settings on them
           ┌──────────────────────────┬────┬────────┬────────────┬────────────┬─────────────┬──────────┬─────────────┐
           │Restart settings/Exit     │ no │ always │ on-success │ on-failure │ on-abnormal │ on-abort │ on-watchdog │
           │causes                    │    │        │            │            │             │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Clean exit code or signal │    │ X      │ X          │            │             │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Unclean exit code         │    │ X      │            │ X          │             │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Unclean signal            │    │ X      │            │ X          │ X           │ X        │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Timeout                   │    │ X      │            │ X          │ X           │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Watchdog                  │    │ X      │            │ X          │ X           │          │ X           │
           └──────────────────────────┴────┴────────┴────────────┴────────────┴─────────────┴──────────┴─────────────┘
           As exceptions to the setting above the service will not be restarted if the exit code or signal is specified in RestartPreventExitStatus= (see below). Also, the services will always be restarted if the exit code or signal
           is specified in RestartForceExitStatus= (see below).

           Setting this to on-failure is the recommended choice for long-running services, in order to increase reliability by attempting automatic recovery from errors. For services that shall be able to terminate on their own
           choice (and avoid immediate restarting), on-abnormal is an alternative choice.
Seems pretty extensive to me, what are you missing from this?
A version that's understandable.

To the extent that I *can* understand what was written, I didn't see how a service that failed repeatedly wouldn't "flap".
 
Old 01-24-2015, 07:49 PM   #1128
kfn
LQ Newbie
 
Registered: Sep 2012
Location: NYC
Distribution: Slackware64-current
Posts: 11

Rep: Reputation: Disabled
In 14.1, there is a /usr/lib/systemd/system folder, with a unit file for hplip in it; comes with hplip package and so creates the whole folder.

I incidentally noticed the folder recently and for a moment i wondered if i missed something in my updates..
 
1 members found this post helpful.
Old 01-24-2015, 09:36 PM   #1129
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
With some editing you could redo the Slackbuild to remove it prior to packaging.
 
Old 01-25-2015, 09:47 AM   #1130
devwatchdog
Member
 
Registered: Jan 2010
Posts: 202

Rep: Reputation: 47
Quote:
Originally Posted by ReaperX7 View Post
And even censored by the promoters of systemd as well. And yes, the fanboyism surrounding systemd is maddening. Sadly enough... even Slackware has it's share...
Yes, Slackware most certainly does. This is about the only distro forum I peruse from time to time. Oh, and the BSD one periodically as well. There is almost always a thread saturated with passion (among other less enlightening qualities at times) with an overtone of some catastrophic impending doom.

I've read a bit on systemd and have a loose understanding of some of the fighting over it. I've used it in ChromeOS in docker images. The company for whom I work is dedicated to automation which in this case involves puppet/github/docker.

My work environment will migrate to RH7 sometime in the future, at that point I'll be thrust into a world of systemd, like it or not. At this point I can't say I have any real complaints, although my experience with it is limited. I'll adapt to its requirements.

I wouldn't be any less inclined to use Slackware if it migrated to systemd, but to be honest about it, I don't often use it as it stands now. Slackware was my distro for a number of years in first decade of this century, when I enjoyed working on the OS to meet whatever requirement I had at the time. Now I consider the OS a tool, a means to an end.

However this contentious issue works out in the end, I'll be able to work with either one.
 
Old 01-25-2015, 10:28 AM   #1131
EYo
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 190

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by kfn View Post
In 14.1, there is a /usr/lib/systemd/system folder, with a unit file for hplip in it; comes with hplip package and so creates the whole folder.
Well that is one of the most irritating things about systemd as far as I'm concerned. Dependencies for no good reason. I don't care if hard drive space is cheap in the first world, useless bits are just that. It is cracking me up lurking the -devel list, now discussing "unwants". Oh yeah it is going to be so simple to configure (said with a sarcastic tone). Mmm, spaghetti .
 
1 members found this post helpful.
Old 01-25-2015, 10:50 AM   #1132
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 devwatchdog View Post
Yes, Slackware most certainly does. This is about the only distro forum I peruse from time to time. Oh, and the BSD one periodically as well. There is almost always a thread saturated with passion (among other less enlightening qualities at times) with an overtone of some catastrophic impending doom.

I've read a bit on systemd and have a loose understanding of some of the fighting over it. I've used it in ChromeOS in docker images. The company for whom I work is dedicated to automation which in this case involves puppet/github/docker.

My work environment will migrate to RH7 sometime in the future, at that point I'll be thrust into a world of systemd, like it or not. At this point I can't say I have any real complaints, although my experience with it is limited. I'll adapt to its requirements.

I wouldn't be any less inclined to use Slackware if it migrated to systemd, but to be honest about it, I don't often use it as it stands now. Slackware was my distro for a number of years in first decade of this century, when I enjoyed working on the OS to meet whatever requirement I had at the time. Now I consider the OS a tool, a means to an end.

However this contentious issue works out in the end, I'll be able to work with either one.
Yes, but oddly when systemd is proposed upon Slackware few debate goes into the cons of using it, only the whimsical pros that honestly are meaningless and very little if any gains. Even in my last few statements regarding service supervision, it's a well known fact that service supervision is still fairly problematic in implementation due to the fact dependency trees must be solved perfectly or else nothing works, and even then if the system isn't shutdown properly, it can cause various filesystem problems to which has been attributed to the journald issue. Yes, the init system is causing the logging system to screw itself because a service doesn't shut down properly. I've personally dealt with this issue on every init system from SysVinit to s6 and runit. To me systemd is no real benefit, only another headache to deal with that's more lather, rinse, repeat of the same problems but now rolled into one bigger problem that has a problem due to its design and the fact supervised services and failure to halt services properly cause another headache. And to be honest after dealing with numerous inits with their own problems, having one less problem to worry about is always a treasure which is why I don't like systemd. Too many age old problems creating one bigger problem. No thank you.
 
1 members found this post helpful.
Old 01-25-2015, 11:15 AM   #1133
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 ReaperX7 View Post
Yes, but oddly when systemd is proposed upon Slackware few debate goes into the cons of using it, only the whimsical pros that honestly are meaningless and very little if any gains.
Are you being serious? Is this real life? What forum have you been reading? For every one post pointing out systemd 'pros' there are at least 10 denouncing it, either by multiple people or, commonly, by a few people that like very much to talk but have little to say.
 
7 members found this post helpful.
Old 01-25-2015, 11:55 AM   #1134
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
With all the stuff going on here, I'm not surprised it's not worse T.

Yes, enough refutes come in, from even the technical to the passionate. Let's hope sanity and wisdom do win out. I think they will honestly and Slackware has the prime chance to be next leader of GNU/Linux by staying the course and not jumping off the bridge like the other distributions have so blindly done. At least Slackware is led by someone who can be trusted without question, unlike other distributions.
 
1 members found this post helpful.
Old 01-25-2015, 12:01 PM   #1135
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by ReaperX7 View Post
Let's hope sanity and wisdom do win out. I think they will honestly and Slackware has the prime chance to be next leader of GNU/Linux by staying the course and not jumping off the bridge like the other distributions have so blindly done. At least Slackware is led by someone who can be trusted without question, unlike other distributions.
During the entirety of this thread I've never lost faith in our BDFL's ability to chart a sane course for Slackware. I trust Mr. Volkerding's judgement. I'm not concerned at all about the development of Slackware 14.2; it will be another first rate release.
 
2 members found this post helpful.
Old 01-25-2015, 12:13 PM   #1136
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
I can't beat ReaperX7: he has authored 150 posts in the thread, me only 47 before this one.

To make this 48th just a tiny little bit useful: to display these statistics about a thread, click on the number of posts on the right of its title in the Slackware forum.

Last edited by Didier Spaier; 01-25-2015 at 04:42 PM. Reason: typo corrected
 
4 members found this post helpful.
Old 01-25-2015, 02:52 PM   #1137
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
Quote:
Originally Posted by ReaperX7 View Post
At least Slackware is led by someone who can be trusted without question, unlike other distributions.
This doesn't work well with your statement here:
Quote:
Originally Posted by ReaperX7 View Post
As far as leaving Slackware over another init system, after some thinking, I have to say that if systemd was deployed, I'd probably still leave.
Either you trust him blindly (quote #1) or you leave when he makes decisions that you don't like (quote #2).
You can't have both.
 
5 members found this post helpful.
Old 01-25-2015, 04:39 PM   #1138
Kazuo_Kuroi
LQ Newbie
 
Registered: Jan 2015
Location: Virginia
Distribution: Void, Slackware
Posts: 18

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
I will just address this one, regarding the documentation of systemd behavior.
This is from the man page of systemd.service, which describes the options commonly used in .service files:
Code:
 Restart=
           Configures whether the service shall be restarted when the service process exits, is killed, or a timeout is reached. The service process may be the main service process, but it may also be one of the processes specified
           with ExecStartPre=, ExecStartPost=, ExecStop=, ExecStopPost=, or ExecReload=. When the death of the process is a result of systemd operation (e.g. service stop or restart), the service will not be restarted. Timeouts
           include missing the watchdog "keep-alive ping" deadline and a service start, reload, and stop operation timeouts.

           Takes one of no, on-success, on-failure, on-abnormal, on-watchdog, on-abort, or always. If set to no (the default), the service will not be restarted. If set to on-success, it will be restarted only when the service
           process exits cleanly. In this context, a clean exit means an exit code of 0, or one of the signals SIGHUP, SIGINT, SIGTERM or SIGPIPE, and additionally, exit statuses and signals specified in SuccessExitStatus=. If set to
           on-failure, the service will be restarted when the process exits with a non-zero exit code, is terminated by a signal (including on core dump, but excluding the aforementiond four signals), when an operation (such as
           service reload) times out, and when the configured watchdog timeout is triggered. If set to on-abnormal, the service will be restarted when the process is terminated by a signal (including on core dump, excluding the
           aforementioned four signals), when an operation times out, or when the watchdog timeout is triggered. If set to on-abort, the service will be restarted only if the service process exits due to an uncaught signal not
           specified as a clean exit status. If set to on-watchdog, the service will be restarted only if the watchdog timeout for the service expires. If set to always, the service will be restarted regardless of whether it exited
           cleanly or not, got terminated abnormally by a signal, or hit a timeout.

           Table 1. Exit causes and the effect of the Restart= settings on them
           ┌──────────────────────────┬────┬────────┬────────────┬────────────┬─────────────┬──────────┬─────────────┐
           │Restart settings/Exit     │ no │ always │ on-success │ on-failure │ on-abnormal │ on-abort │ on-watchdog │
           │causes                    │    │        │            │            │             │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Clean exit code or signal │    │ X      │ X          │            │             │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Unclean exit code         │    │ X      │            │ X          │             │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Unclean signal            │    │ X      │            │ X          │ X           │ X        │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Timeout                   │    │ X      │            │ X          │ X           │          │             │
           ├──────────────────────────┼────┼────────┼────────────┼────────────┼─────────────┼──────────┼─────────────┤
           │Watchdog                  │    │ X      │            │ X          │ X           │          │ X           │
           └──────────────────────────┴────┴────────┴────────────┴────────────┴─────────────┴──────────┴─────────────┘
           As exceptions to the setting above the service will not be restarted if the exit code or signal is specified in RestartPreventExitStatus= (see below). Also, the services will always be restarted if the exit code or signal
           is specified in RestartForceExitStatus= (see below).

           Setting this to on-failure is the recommended choice for long-running services, in order to increase reliability by attempting automatic recovery from errors. For services that shall be able to terminate on their own
           choice (and avoid immediate restarting), on-abnormal is an alternative choice.
Seems pretty extensive to me, what are you missing from this?

Mainly that it lacks sane defaults. I spun up a CentOS 7 instance on BHYVE, put a purposefully corrupted InnoDB database into MySQL, which caused it to crash. I then observed via Icinga that systemd continuously restarted the service until I intervened, each time ruining the database further. I don't normally mess with the default behaviour of something unless I specifically have to. On Runit and OpenRC they by default will give up after a few tries. I observed for nearly 15 minutes and determined systemd did not use such a function by default. But anyways, that's just one point out of many.
 
1 members found this post helpful.
Old 01-25-2015, 05:39 PM   #1139
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
Quote:
Originally Posted by Kazuo_Kuroi View Post
Mainly that it lacks sane defaults. I spun up a CentOS 7 instance on BHYVE, put a purposefully corrupted InnoDB database into MySQL, which caused it to crash. I then observed via Icinga that systemd continuously restarted the service until I intervened, each time ruining the database further. I don't normally mess with the default behaviour of something unless I specifically have to. On Runit and OpenRC they by default will give up after a few tries. I observed for nearly 15 minutes and determined systemd did not use such a function by default. But anyways, that's just one point out of many.
Unit files for different services are provided by the service developers, not by systemd developers. If a service does not provide a unit file it is the duty of the package maintainer of the distribution to provide that file if the distribution uses systemd (or offers it as an option). So you either have to blame MySQL developers or the Red Hat package maintainer, but not the systemd developers.
 
1 members found this post helpful.
Old 01-25-2015, 05:42 PM   #1140
Kazuo_Kuroi
LQ Newbie
 
Registered: Jan 2015
Location: Virginia
Distribution: Void, Slackware
Posts: 18

Rep: Reputation: Disabled
Systemd is RedHat, hello. The CentOS and RHEL repos are virtually identical, and if RedHat can't get systemd running with something essential like MySQL on their flagship OS, how in hell do you expect anyone else to make better use of it?
 
3 members found this post helpful.
  


Closed Thread

Tags
bsd, linux, systemd, unix



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



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

All times are GMT -5. The time now is 10:56 PM.

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