LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2015, 03:46 AM   #31
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,653

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643

inet also i think, because Slackware don't use xinet.
 
Old 06-30-2015, 09:45 PM   #32
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 162

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
inet also i think, because Slackware don't use xinet.
Cant seem to find a service for inetd, do you know where it is present...

Added service for ulogd, but does not seem to be running correctly on my system, this is what I get:
Code:
$ sudo test/etc/init.d/ulogd start
 * Starting ulogd ...
 * start-stop-daemon: failed to start `/usr/sbin/ulogd'                                                                         [ !! ]
 * ERROR: ulogd failed to start

$ cat /var/log/ulogd.log
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `NFLOG'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `NFCT'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `IFINDEX'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `IP2STR'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `IP2BIN'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `PRINTPKT'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `HWHDR'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `PRINTFLOW'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `LOGEMU'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `SYSLOG'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `XML'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `GPRINT'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `BASE'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `NFACCT'
Wed Jul  1 07:08:56 2015 <5> ulogd.c:375 registering plugin `GRAPHITE'
Wed Jul  1 07:08:56 2015 <8> ulogd.c:1234 not even a single working plugin stack
 
Old 07-01-2015, 12:04 PM   #33
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,653

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
I think it's packaging problem the service hare in *.new
 
Old 07-01-2015, 12:50 PM   #34
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,653

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
maybe because no ulogd file in /etc/conf.d
 
Old 07-01-2015, 12:57 PM   #35
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,653

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
It seem only slackware, use inet

inet is old service, now all distro use xinet
 
Old 07-01-2015, 09:42 PM   #36
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 162

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
maybe because no ulogd file in /etc/conf.d
I cannot find one here https://sources.gentoo.org/cgi-bin/v...n/ulogd/files/

I think the error with ulogd maybe a generic one since the ulogd configuration file (/etc/ulogd.conf) has not been configured.

Will look into inet later.
 
Old 07-02-2015, 06:34 AM   #37
nolretou
Member
 
Registered: Apr 2014
Distribution: Slackware
Posts: 98

Rep: Reputation: Disabled
Is there any how-to about removing openrc and going back to the standard boot method ?
 
Old 07-02-2015, 06:37 AM   #38
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,444
Blog Entries: 15

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
Remove openrc and openrc-services and restore /etc/rc.d, the original /etc/init.d, and /etc/inittab from the backups.

Of course, why would you want to go back?
 
Old 07-03-2015, 05:34 AM   #39
nolretou
Member
 
Registered: Apr 2014
Distribution: Slackware
Posts: 98

Rep: Reputation: Disabled
I didn't test openrc on production machines, so if I try, I'd prefer to know how to go backwards just in case.

BTW how to handle rc.local ?
 
Old 07-03-2015, 06:20 AM   #40
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,444
Blog Entries: 15

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
OpenRC has a local start file for services.
 
Old 09-07-2015, 05:23 AM   #41
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,653

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Maybe you can added 'cgmanager' service
 
1 members found this post helpful.
Old 09-07-2015, 12:26 PM   #42
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 162

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
Maybe you can added 'cgmanager' service
Added with new tag. Had meant to do it earlier but forgot.

Down the line will probably need to make a few changes to the download script as Gentoo seems to have migrated their package repository from svn to git.

Last edited by aaditya; 09-07-2015 at 12:30 PM.
 
1 members found this post helpful.
Old 09-07-2015, 01:24 PM   #43
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,296
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by aaditya View Post
Gentoo seems to have migrated their package repository from svn to git.
Oooooooo!!! Thanks for the tip!!!

https://gitweb.gentoo.org/repo/gentoo.git/tree/

That's *much* easier to plagiarise from
 
1 members found this post helpful.
Old 01-28-2017, 05:58 AM   #44
zanculmarktum
LQ Newbie
 
Registered: Jan 2017
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
About service scripts, can I just copied it from Gentoo?
Do I need to fix something in it?

From what I've seen from /etc/init.d/NetworkManager, it still needs to be fixed in "pidfile=".
Gentoo:
Code:
pidfile=/var/run/NetworkManager.pid
Slackware:
Code:
pidfile=/run/NetworkManager.pid
 
Old 01-28-2017, 06:45 AM   #45
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,594

Rep: Reputation: Disabled
Welcome to this forum.

Quote:
Originally Posted by zanculmarktum View Post
About service scripts, can I just copied it from Gentoo?
Certainly not. I didn't check, but most probably many services differ or are not shipped in both distributions.

Quote:
Do I need to fix something in it?
I think that you should check each and every service.

Quote:
From what I've seen from /etc/init.d/NetworkManager, it still needs to be fixed in "pidfile=".
Gentoo:
Code:
pidfile=/var/run/NetworkManager.pid
Slackware:
Code:
pidfile=/run/NetworkManager.pid
That seems wrong. Have a look in /run and /var/run in Slackware.

Long story short, you need to thoroughly study Slackware's init system if you want to modify it, I think.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
OpenRC ReaperX7 Linux From Scratch 11 03-08-2015 08:34 PM
[SOLVED] Can't start NFS with systemd, works on OpenRC TobiSGD Linux - Server 1 07-09-2014 03:53 PM
LFS with OpenRC? ReaperX7 Linux From Scratch 5 08-13-2013 09:29 PM
SysVinit vs OpenRC vs systemd vs other init system cristi92b Linux - Newbie 2 01-07-2013 04:02 AM
/bin/* : cannot execute binary file (and an openrc problem) [gentoo] namish Linux - Newbie 6 04-07-2012 02:49 PM

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

All times are GMT -5. The time now is 03:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration