LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02:46 AM   #31
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,192

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987

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

Original Poster
Blog Entries: 2

Rep: Reputation: 85
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, 11:04 AM   #33
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,192

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
I think it's packaging problem the service hare in *.new
 
Old 07-01-2015, 11:50 AM   #34
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,192

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
maybe because no ulogd file in /etc/conf.d
 
Old 07-01-2015, 11:57 AM   #35
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,192

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

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

Original Poster
Blog Entries: 2

Rep: Reputation: 85
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, 05: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, 05:37 AM   #38
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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, 04: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, 05:20 AM   #40
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

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

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

Original Poster
Blog Entries: 2

Rep: Reputation: 85
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 11:30 AM.
 
1 members found this post helpful.
Old 09-07-2015, 12:24 PM   #43
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
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, 04: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, 05:45 AM   #45
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

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

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

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