LinuxQuestions.org
Review your favorite Linux distribution.
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-25-2015, 06:18 PM   #1141
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

Yes, and just like Runit's run and finish files to start and stop services cleanly, often unless the project wants to cater to a specific init system, which most do, or try to, the system distribution maintainer often gets stuck with the task of writing their own scripts for service management from the manpages and documentation, which sometimes is not cut and dry, and pretty much trial and error.

At least with the standard model of daemontools, runit, s6, bsdinit, and sysvinit, these are generally bash based shell scripts and require only instance based commands to start, stop, restart, or status check the services, and if the model uses it, checks for the execution state of a required dependency, and if found in the up or running status, launches the service, or if not exits and retries.

However, not always do these init service scripts provided by the project fit the needs of every distribution and design. Some just don't work out of the box regardless of what is done.
 
Old 01-26-2015, 01:00 AM   #1142
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by Kazuo_Kuroi View Post
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?

obviously you did not understand the content of TobiSGD post.

systemd running MySQL vs MySQL properly configured running with systemd

you should get simple things like this right.
 
1 members found this post helpful.
Old 01-26-2015, 01:02 AM   #1143
Kazuo_Kuroi
LQ Newbie
 
Registered: Jan 2015
Location: Virginia
Distribution: Void, Slackware
Posts: 18

Rep: Reputation: Disabled
Quote:
Originally Posted by a4z View Post

obviously you did not understand the content of TobiSGD post.

systemd running MySQL vs MySQL properly configured running with systemd

you should get simple things like this right.
I did understand the context of the post, but frankly chose to attack it from the angle I did - problem? Yeah, I have a problem with RedHat and have a huge ax to grind against them- I'm free to put out that I'm not into they way they do things.
 
2 members found this post helpful.
Old 01-26-2015, 05:08 AM   #1144
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
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?
The package maintainer for MySQL on Red Hat may or may not be involved with systemd (which by the way is a project with contributions from far more people than only Red Hat developers), I don't know. That there are some people at Red Hat that are developing for systemd does not mean that everyone at Red Hat is involved with systemd and it does not mean that no one at Red Hat can make a mistake or does spot problems with unit files that are provided by the service developers. If you feel that this is a bug then report it.
I merely wanted to point out that this is not a systemd problem, regardless how many axes you have to grind with Red Hat.
 
Old 01-26-2015, 07:04 AM   #1145
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Arch Linux
Posts: 93

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
...If you feel that this is a bug then report it.
The developers of systemd don't really care about any bugs that are reported.
 
4 members found this post helpful.
Old 01-26-2015, 07:25 AM   #1146
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by pcninja View Post
The developers of systemd don't really care about any bugs that are reported.
and why should systemd devs care about a bug in the MySql package

or did you miss the context and felt just that its time for some senseless bashing?

Last edited by a4z; 01-26-2015 at 08:00 AM. Reason: typo fix
 
1 members found this post helpful.
Old 01-26-2015, 07:38 AM   #1147
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 pcninja View Post
The developers of systemd don't really care about any bugs that are reported.

At first, while there are some bugreports which get the WONTFIX status by the systemd developers it is (almost) always reasonably explained why that is the case. This does not mean that all bugreports are dismissed by them.
Second, if you see there is a problem with the MySQL package why would you report that to systemd developers, who are (as I have already explained above) possibly not even involved with MySQL package maintenance at all? Naturally you would file a bug against the MySQL package, not the systemd package.

This causes me to ask you the question, if a similar problem with MySQL comes up with OpenRC, runit or s6, do you blame those developers or is that just the case for systemd?
 
Old 01-26-2015, 09:02 AM   #1148
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Arch Linux
Posts: 93

Rep: Reputation: Disabled
Quote:
Originally Posted by a4z View Post
and why should systemd devs care about a bug in the MySql package

or did you miss the context and felt just that its time for some senseless bashing?
Nope, no senseless bashing going on here. I was not at all referring to a bug in mysql, I was referring to bugs in systemd.
 
Old 01-26-2015, 09:13 AM   #1149
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 pcninja View Post
Nope, no senseless bashing going on here. I was not at all referring to a bug in mysql, I was referring to bugs in systemd.
No, you were not. The unit file for MySQL is part of the MySQL package, not the systemd package. If the unit file does allow respawning of MySQL and with that possibly corrupts a database then the bug is in MySQL, not systemd.
The question remains unanswered if you would blame developers of other service supervisors for the same behavior or if this is only the case when systemd is involved.
 
Old 01-26-2015, 09:32 AM   #1150
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: NOVA
Distribution: Debian 12
Posts: 1,071

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
This thread always makes me smile
 
Old 01-26-2015, 09:39 AM   #1151
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Germany_chris View Post
This thread always makes me smile
Peter Jackson wants to make a trilogy based on it, as a follow-up to the Hobbit. Another spectacular epic.
 
1 members found this post helpful.
Old 01-26-2015, 10:18 AM   #1152
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Richard Cranium View Post
Do you really think that someone who chose the alias of "Richard Cranium" is going to be upset by any small attempt of an insult on your part?
It took me until that post until I realized what your name meant Bravo!

Reminds me of Roosterteeth's name... (they couldn't just name their company Cock Bite)
 
1 members found this post helpful.
Old 01-27-2015, 11:08 AM   #1153
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
Member Response

Hi,
Quote:
Originally Posted by gezley View Post
Hi onebuck,

off-topic question here addressed to you as moderator: why am I unable to view threads in a threaded, tree format? You are obviously replying to an individual here but I don't know who you are replying to because I can only view LQ in flat, unthreaded mode. I've looked for an option to change the display format but I don't seem to have it.

Apologies to all for intruding on this most riveting of threads.
For the post you are querying about it is general posting to the thread. If I want to direct to another member directly then I would quote that post. When you enter a thread the posts should be posted via time & date stamp to keep things in order. LQ threads keep the posts in line via post time stamp.

Hope this helps.
 
Old 01-27-2015, 11:18 AM   #1154
Kazuo_Kuroi
LQ Newbie
 
Registered: Jan 2015
Location: Virginia
Distribution: Void, Slackware
Posts: 18

Rep: Reputation: Disabled
I never said it was a bug in systemd, rather its a lack of sane defaults for things that depend on systemd.

Anyways, there are plenty of other issues discussed. As you can discern from my user agent, I use FreeBSD, more than I use Slackware or Void, and the reason is that I find the FreeBSD project is doing things in a way that has a future, for now. If Jordan Hubbard gets his way, though, we'll have launchd eventually, and if that happens, I'll tell him to shove it up his ass and fork FreeBSD with a large proportion of support from FreeBSD users - most of them aren't happy with the way the Apple section of the OS is pushing their agenda anyways - we have plenty of time though as it likely won't happen till after the 11.0 branch is released as a release version.
 
1 members found this post helpful.
Old 01-27-2015, 12:42 PM   #1155
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
I never said it was a bug in systemd, rather its a lack of sane defaults for things that depend on systemd.
If a database daemon corrupts a database due to respawning I would consider that a bug, but anyways, that is the point I wanted to make: in the case you describe the defaults for this behavior are not set by the systemd team, the are set by the MySQL team, so there is no point in blaming systemd for it.
Quote:
Anyways, there are plenty of other issues discussed. As you can discern from my user agent, I use FreeBSD, more than I use Slackware or Void, and the reason is that I find the FreeBSD project is doing things in a way that has a future, for now. If Jordan Hubbard gets his way, though, we'll have launchd eventually, and if that happens, I'll tell him to shove it up his ass and fork FreeBSD with a large proportion of support from FreeBSD users - most of them aren't happy with the way the Apple section of the OS is pushing their agenda anyways - we have plenty of time though as it likely won't happen till after the 11.0 branch is released as a release version.
This is your right to do and though I am in favor of the systemd approach I would appreciate it, just because you actually would act like it , IMHO, should be in the open source world: you don't like something, you get the work done to change it.
 
  


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 02: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