The officially official Devuan Forum!

You are not logged in.

#1 2019-03-12 23:57:57

inukaze
Member
Registered: 2018-01-28
Posts: 84  

[SOLVED] OpenRC initscript -> noip2 again [SOLVED]

Hi there, in ASCII i had the same trouble i had on Devuan Jessie. my custom initscript for OpenRC is not working

right now, the content of my file /etc/init.d/noip2 is the follow

#!/sbin/openrc-run

### BEGIN INIT INFO
# Provides:          noip2
# Required-Start:    $local_fs $network
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: noip2
# Description:       Start/stop The NOIP Daemon"
### END INIT INFO

description="Start/Stop the no-ip daemon"

depend()
{
        after *
        keyword notimeout
}

checkconfig() {
	if [ ! -f /etc/no-ip2.conf ]
	then
		einfo "Answer the following questions about your no-ip account."
		noip2 -C || return 1
	fi
}

start()
{
	checkconfig || return 1
        ebegin "Starting NoIP"

        start-stop-daemon --start -x /usr/bin/noip2 -- -c /etc/no-ip2.conf

        eend $? "Failed to start NoIP"
}

stop()
{
        ebegin "Stopping NoIP"
	start-stop-daemon --quiet --stop -x /usr/bin/noip2
	        
        eend $? "Failed to stop NoIP"
}

if i run

sudo service noip2 start ; ps -A | grep noip2

the output is

* WARNING: noip2 has already been started

the noip2 never start by that way, but if i run :

sudo start-stop-daemon --start -x /usr/bin/noip2 -- -c /etc/no-ip2.conf ; ps -A | grep noip2

6789 ?        00:00:00 noip2

The service start completly normally.

the same happend when i try to stop, the initscript don't work, but if i run the command directly works fine.

Some ideas how i can fix it?

note : in the /var/log/rc.log i notice this line

Error: rc.local is the name of a real and virtual service.

-> how i can fix this?

Last edited by inukaze (2019-03-14 07:04:49)

Offline

#2 2019-03-13 00:58:44

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: [SOLVED] OpenRC initscript -> noip2 again [SOLVED]

inukaze wrote:

Hi there, in ASCII i had the same trouble i had on Devuan Jessie. my custom initscript for OpenRC is not working

if i run

sudo service noip2 start ; ps -A | grep noip2

You quote "OpenRC", and then use "service noip2 start ".  "service" is sysvinit.  "rc-service" is openrc equivalent.

rc-service noip2 start

Does your script have a symlink in an openrc runlevel in /etc/runlevels/...?  If not, then run rc-update to add your service to openrc (runlevel default for example). Openrc will then run your script upon init:

rc-update add noip2 default

Offline

#3 2019-03-13 21:49:11

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: [SOLVED] OpenRC initscript -> noip2 again [SOLVED]

dxrobertson wrote:

You quote "OpenRC", and then use "service noip2 start ".  "service" is sysvinit.  "rc-service" is openrc equivalent.

rc-service noip2 start

Does your script have a symlink in an openrc runlevel in /etc/runlevels/...?  If not, then run rc-update to add your service to openrc (runlevel default for example). Openrc will then run your script upon init:

rc-update add noip2 default

Hi there i don't have any file related to sysvinit, on my devuan, well the thing is with "rc-service" or "service" (on my distro do the same) works equal, don't start the service and yes i had the service add to the system boot, and well don't start anyway

rc-update add noip2 default
 * rc-update: noip2 already installed in runlevel `default'; skipping

Offline

#4 2019-03-14 00:41:02

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: [SOLVED] OpenRC initscript -> noip2 again [SOLVED]

I assume you are using openrc as your init.

You can edit /etc/rc.conf to produce a log file, make these changes:

rc_logger="YES"
rc_verbose=yes

Reboot, view var/log/rc.log and see if anything about noip2.

Now, sysvinit and/or openrc only START service.  They dont care nor know about what service do after they start, they dont keep track if they end abnormally.

So check if your noip2 is actually running via htop or ps aux a or whatever you like.

EDITED - And now I see from your initial post you already have var/log/rc.log enabled, sorry about that.

Last edited by dxrobertson (2019-03-14 01:05:42)

Offline

#5 2019-03-14 00:52:40

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: [SOLVED] OpenRC initscript -> noip2 again [SOLVED]

Also, you might want to try changing in your noip2 script "#!/sbin/openrc-run" to "#!/bin/sh".

Offline

#6 2019-03-14 01:44:42

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: [SOLVED] OpenRC initscript -> noip2 again [SOLVED]

dxrobertson wrote:

Also, you might want to try changing in your noip2 script "#!/sbin/openrc-run" to "#!/bin/sh".

The same result, don't work at all

Here the verbose output of rc.log :

rc off logging started at Wed Mar 13 21:36:28 2019

 * Caching service dependencies ...
Error: rc.local is the name of a real and virtual service.
 [ ok ]
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/stop-bootlogd stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rmnologin stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/xinetd stop
[....] Stopping internet superserver: xinetd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/uuidd stop
[....] Stopping uuid generator: uuidd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/thinkfan stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sysstat stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ssh stop
[....] Stopping OpenBSD Secure Shell server: sshd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/squeezelite stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/snmpd stop
[....] Stopping SNMP services::  snmpd * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smbd stop
[....] Stopping SMB/CIFS daemon: smbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smartmontools stop
[....] Stopping S.M.A.R.T. daemon: smartd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/slim stop
[....] Stopping X display manager: slim[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/schroot stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/samba-ad-dc stop
[....] Stopping Samba AD DC daemon: samba[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsync stop
[....] Stopping rsync daemon: rsync[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/preload stop
[....] Stopping Adaptive readahead daemon: preload[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/postfix stop
[....] Stopping Postfix Mail Transport Agent: postfixpostmulti: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
postmulti: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
postfix: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ntp stop
[....] Stopping NTP server: ntpd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/noip2 stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nmbd stop
[....] Stopping NetBIOS name server: nmbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/network-manager stop
[....] Stopping network connection manager: NetworkManager[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nethack-common stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mumble-server stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mpd stop
[....] Stopping Music Player Daemon: mpd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/motd stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lircmd stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lircd stop
[....] Stopping remote control daemon: LIRCD[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/linuxlogo stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/irqbalance stop
[....] Stopping SMP IRQ Balancer: irqbalance[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hddtemp stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/gpm stop
[....] Stopping mouse interface server: gpm[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/exim4 stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups-browsed stop
[....] Stopping CUPS Bonjour daemon: cups-browsed[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups stop
[....] Stopping Common Unix Printing System: cupsd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cron stop
[....] Stopping periodic command scheduler: cron[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/winbind stop
[....] Stopping the Winbind daemon: winbind[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nscd stop
[....] Stopping Name Service Cache Daemon: nscd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/console-setup.sh stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootlogs stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bluetooth stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/binfmt-support stop
[....] Disabling additional executable binary formats: binfmt-support[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bind9 stop
[....] Stopping domain name service...: bind9waiting for pid 2413 to die
[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/avahi-daemon stop
[....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/dbus stop
[....] Stopping system message bus: dbus[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/aptitude-robot stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/acpid stop
[....] Stopping ACPI services: acpid[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsyslog stop
[....] Stopping enhanced syslogd: rsyslogd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/savecache start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sendsigs start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/unattended-upgrades start

rc off logging stopped at Wed Mar 13 21:36:54 2019

rc off logging started at Fri Feb  8 21:25:27 2019

 * Caching service dependencies ...
Error: noip2 is the name of a real and virtual service.
Error: rc.local is the name of a real and virtual service.
Error: vboxdrv is the name of a real and virtual service.
 [ ok ]
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/stop-bootlogd stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rmnologin stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/xinetd stop
[....] Stopping internet superserver: xinetd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/virtualbox-guest-utils stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/virtualbox stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/uuidd stop
[....] Stopping uuid generator: uuidd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/thinkfan stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sysstat stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sshguard stop
[....] Stopping SSHGuard Server: sshguard[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ssh stop
[....] Stopping OpenBSD Secure Shell server: sshd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/snmpd stop
[....] Stopping SNMP services::  snmpd * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smbd stop
[....] Stopping SMB/CIFS daemon: smbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smartmontools stop
[....] Stopping S.M.A.R.T. daemon: smartd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/slim stop
[....] Stopping X display manager: slim[FAIL failed!
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/schroot stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/saned stop
[....] saned disabled; edit /etc/default/saned[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/samba-ad-dc stop
[....] Stopping Samba AD DC daemon: samba[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsync stop
[....] Stopping rsync daemon: rsync[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/preload stop
[....] Stopping Adaptive readahead daemon: preload[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/postfix stop
[....] Stopping Postfix Mail Transport Agent: postfixpostfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ntp stop
[....] Stopping NTP server: ntpd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nmbd stop
[....] Stopping NetBIOS name server: nmbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/network-manager stop
[....] Stopping network connection manager: NetworkManager[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nethack-common stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mumble-server stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mpd-sima stop
[....] Stopping MPD_sima autoqueue utility: mpd-sima [ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/motd stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mono-xsp4 stop
[....] Stopping XSP 4.0 WebServer: mono-xsp4[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/minissdpd stop
[....] Stopping UPnP devices daemon: MiniSSDPd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lvm2-lvmpolld stop
[....] Stopping LVM2 poll daemon: lvmpolld[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lvm2-lvmetad stop
[....] Stopping LVM2 metadata daemon: lvmetad[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/linuxlogo stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/libvirt-guests stop

Running guests on default URI: no running guests.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/libvirtd stop
[....] Stopping libvirt management daemon: libvirtd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/virtlogd stop
[....] Stopping libvirt logging daemon: virtlogd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/irqbalance stop
[....] Stopping SMP IRQ Balancer: irqbalance[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hddtemp stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/gpm stop
[....] Stopping mouse interface server: gpm[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/gdomap stop
[info] GNUstep distributed object mapper disabled.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/exim4 stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups-browsed stop
[....] Stopping CUPS Bonjour daemon: cups-browsed[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups stop
[....] Stopping Common Unix Printing System: cupsd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cron stop
[....] Stopping periodic command scheduler: cron[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/winbind stop
[....] Stopping the Winbind daemon: winbind[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nscd stop
[....] Stopping Name Service Cache Daemon: nscd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/console-setup.sh stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootlogs stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bluetooth stop
[....] Stopping bluetooth: /usr/sbin/bluetoothd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/binfmt-support stop
[....] Disabling additional executable binary formats: binfmt-support[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/avahi-daemon stop
[....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/dbus stop
[....] Stopping system message bus: dbus[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/atd stop
[....] Stopping deferred execution scheduler: atd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/aptitude-robot stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/apache2 stop
[....] Stopping Apache httpd web server: apache2[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bind9 stop
[....] Stopping domain name service...: bind9waiting for pid 2258 to die
[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/anacron stop
[....] Stopping anac(h)ronistic cron: anacron[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/acpid stop
[....] Stopping ACPI services: acpid[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsyslog stop
[....] Stopping enhanced syslogd: rsyslogd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/savecache start

rc sysinit logging started at Wed Mar 13 21:38:41 2019

   OpenRC 0.23 is starting up Linux 4.9.0-8-amd64 (x86_64)

 * /proc is already mounted
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
 * Caching service dependencies ...
Error: rc.local is the name of a real and virtual service.
 [ ok ]
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountkernfs.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/eudev start
[....] Starting the hotplug events dispatcher: udevd[ ok .
[....] Synthesizing the initial hotplug events...[ ok done.
[....] Waiting for /dev to be fully populated...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountdevsubfs.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootlogd start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hostname.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hwclock.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/keyboard-setup.sh start
[....] Setting up keyboard layout...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/checkroot.sh start
[....] Activating swap...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/checkfs.sh start
[....] Activating lvm and md swap...[ ok done.
[....] Checking file systems...fsck from util-linux 2.29.2
Compartido: clean, 736873/39321600 files, 147541235/157286400 blocks
Slack64: clean, 481991/2940928 files, 7287370/11748352 blocks
Slack32: clean, 679252/2940928 files, 9252015/11747584 blocks
1SlackIni: clean, 975/65536 files, 108297/262144 blocks
2SlackIni: clean, 716/65808 files, 21682/263168 blocks
[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/checkroot-bootclean.sh start
[....] Cleaning up temporary files... /tmp[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountall.sh start
[....] Mounting local filesystems...[ ok done.
[....] Activating swapfile swap...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountall-bootclean.sh start
[....] Cleaning up temporary files...[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/urandom start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/procps start
[....] Setting kernel variables...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/resolvconf start
[....] Setting up resolvconf...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/networking start
[....] Configuring network interfaces...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountnfs.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountnfs-bootclean.sh start
[....] Cleaning up temporary files...[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/alsa-utils start
[....] Setting up ALSA...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootmisc.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ebtables start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/kmod start
[info] Loading kernel module lp.
[info] Loading kernel module ppdev.
[info] Loading kernel module parport_pc.
[info] Loading kernel module nvidia.
[info] Loading kernel module vboxdrv.
[info] Loading kernel module vhba.
[info] Loading kernel module snd-seq.
[info] Loading kernel module snd-seq-midi.
[info] Loading kernel module snd-seq-device.
[info] Loading kernel module snd-seq-midi-event.
[info] Loading kernel module vboxnetflt.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lm-sensors start
[....] Setting sensors limits...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/netfilter-persistent start
[....] Loading netfilter rules...run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
Warning: skipping IPv6 (no rules to load)
[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/pppd-dns start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/screen-cleanup start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/x11-common start
[....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/stop-bootlogd-single start

rc sysinit logging stopped at Wed Mar 13 21:38:41 2019

rc off logging started at Fri Feb  8 21:25:27 2019

 * Caching service dependencies ...
Error: noip2 is the name of a real and virtual service.
Error: rc.local is the name of a real and virtual service.
Error: vboxdrv is the name of a real and virtual service.
 [ ok ]
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/stop-bootlogd stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rmnologin stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/xinetd stop
[....] Stopping internet superserver: xinetd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/virtualbox-guest-utils stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/virtualbox stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/uuidd stop
[....] Stopping uuid generator: uuidd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/thinkfan stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sysstat stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sshguard stop
[....] Stopping SSHGuard Server: sshguard[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ssh stop
[....] Stopping OpenBSD Secure Shell server: sshd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/snmpd stop
[....] Stopping SNMP services::  snmpd * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smbd stop
[....] Stopping SMB/CIFS daemon: smbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smartmontools stop
[....] Stopping S.M.A.R.T. daemon: smartd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/slim stop
[....] Stopping X display manager: slim[FAIL failed!
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/schroot stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/saned stop
[....] saned disabled; edit /etc/default/saned[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/samba-ad-dc stop
[....] Stopping Samba AD DC daemon: samba[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsync stop
[....] Stopping rsync daemon: rsync[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/preload stop
[....] Stopping Adaptive readahead daemon: preload[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/postfix stop
[....] Stopping Postfix Mail Transport Agent: postfixpostfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ntp stop
[....] Stopping NTP server: ntpd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nmbd stop
[....] Stopping NetBIOS name server: nmbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/network-manager stop
[....] Stopping network connection manager: NetworkManager[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nethack-common stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mumble-server stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mpd-sima stop
[....] Stopping MPD_sima autoqueue utility: mpd-sima [ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/motd stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mono-xsp4 stop
[....] Stopping XSP 4.0 WebServer: mono-xsp4[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/minissdpd stop
[....] Stopping UPnP devices daemon: MiniSSDPd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lvm2-lvmpolld stop
[....] Stopping LVM2 poll daemon: lvmpolld[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lvm2-lvmetad stop
[....] Stopping LVM2 metadata daemon: lvmetad[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/linuxlogo stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/libvirt-guests stop

Running guests on default URI: no running guests.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/libvirtd stop
[....] Stopping libvirt management daemon: libvirtd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/virtlogd stop
[....] Stopping libvirt logging daemon: virtlogd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/irqbalance stop
[....] Stopping SMP IRQ Balancer: irqbalance[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hddtemp stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/gpm stop
[....] Stopping mouse interface server: gpm[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/gdomap stop
[info] GNUstep distributed object mapper disabled.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/exim4 stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups-browsed stop
[....] Stopping CUPS Bonjour daemon: cups-browsed[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups stop
[....] Stopping Common Unix Printing System: cupsd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cron stop
[....] Stopping periodic command scheduler: cron[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/winbind stop
[....] Stopping the Winbind daemon: winbind[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nscd stop
[....] Stopping Name Service Cache Daemon: nscd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/console-setup.sh stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootlogs stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bluetooth stop
[....] Stopping bluetooth: /usr/sbin/bluetoothd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/binfmt-support stop
[....] Disabling additional executable binary formats: binfmt-support[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/avahi-daemon stop
[....] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/dbus stop
[....] Stopping system message bus: dbus[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/atd stop
[....] Stopping deferred execution scheduler: atd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/aptitude-robot stop
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/apache2 stop
[....] Stopping Apache httpd web server: apache2[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bind9 stop
[....] Stopping domain name service...: bind9waiting for pid 2258 to die
[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/anacron stop
[....] Stopping anac(h)ronistic cron: anacron[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/acpid stop
[....] Stopping ACPI services: acpid[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsyslog stop
[....] Stopping enhanced syslogd: rsyslogd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/savecache start

rc sysinit logging started at Wed Mar 13 21:38:41 2019

   OpenRC 0.23 is starting up Linux 4.9.0-8-amd64 (x86_64)

 * /proc is already mounted
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
 * Caching service dependencies ...
Error: rc.local is the name of a real and virtual service.
 [ ok ]
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountkernfs.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/eudev start
[....] Starting the hotplug events dispatcher: udevd[ ok .
[....] Synthesizing the initial hotplug events...[ ok done.
[....] Waiting for /dev to be fully populated...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountdevsubfs.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootlogd start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hostname.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hwclock.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/keyboard-setup.sh start
[....] Setting up keyboard layout...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/checkroot.sh start
[....] Activating swap...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/checkfs.sh start
[....] Activating lvm and md swap...[ ok done.
[....] Checking file systems...fsck from util-linux 2.29.2
Compartido: clean, 736873/39321600 files, 147541235/157286400 blocks
Slack64: clean, 481991/2940928 files, 7287370/11748352 blocks
Slack32: clean, 679252/2940928 files, 9252015/11747584 blocks
1SlackIni: clean, 975/65536 files, 108297/262144 blocks
2SlackIni: clean, 716/65808 files, 21682/263168 blocks
[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/checkroot-bootclean.sh start
[....] Cleaning up temporary files... /tmp[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountall.sh start
[....] Mounting local filesystems...[ ok done.
[....] Activating swapfile swap...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountall-bootclean.sh start
[....] Cleaning up temporary files...[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/urandom start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/procps start
[....] Setting kernel variables...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/resolvconf start
[....] Setting up resolvconf...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/networking start
[....] Configuring network interfaces...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountnfs.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mountnfs-bootclean.sh start
[....] Cleaning up temporary files...[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/alsa-utils start
[....] Setting up ALSA...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootmisc.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ebtables start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/kmod start
[info] Loading kernel module lp.
[info] Loading kernel module ppdev.
[info] Loading kernel module parport_pc.
[info] Loading kernel module nvidia.
[info] Loading kernel module vboxdrv.
[info] Loading kernel module vhba.
[info] Loading kernel module snd-seq.
[info] Loading kernel module snd-seq-midi.
[info] Loading kernel module snd-seq-device.
[info] Loading kernel module snd-seq-midi-event.
[info] Loading kernel module vboxnetflt.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lm-sensors start
[....] Setting sensors limits...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/netfilter-persistent start
[....] Loading netfilter rules...run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
Warning: skipping IPv6 (no rules to load)
[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/pppd-dns start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/screen-cleanup start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/x11-common start
[....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/stop-bootlogd-single start

rc sysinit logging stopped at Wed Mar 13 21:38:41 2019

rc default logging started at Wed Mar 13 21:38:41 2019

 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/umountroot start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/umountfs start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/umountnfs.sh start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsyslog start
[....] Starting enhanced syslogd: rsyslogd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/acpid start
[....] Starting ACPI services: acpid[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/aptitude-robot start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/dbus start
[....] Starting system message bus: dbus[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/avahi-daemon start
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bind9 start
[....] Starting domain name service...: bind9[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/binfmt-support start
[....] Enabling additional executable binary formats: binfmt-support[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bluetooth start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootlogs start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/console-setup.sh start
[....] Setting up console font and keymap...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nscd start
[....] Starting Name Service Cache Daemon: nscd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/winbind start
[....] Starting the Winbind daemon: winbind[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cron start
[....] Starting periodic command scheduler: cron[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups start
[....] Starting Common Unix Printing System: cupsd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cups-browsed start
[....] Starting CUPS Bonjour daemon: cups-browsed[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/exim4 start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/gpm start
[....] Starting mouse interface server: gpm[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hddtemp start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/irqbalance start
[....] Starting SMP IRQ Balancer: irqbalance[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/linuxlogo start
[....] Updating the system logo...[ ok done.
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lircd start
[....] Starting remote control daemon: LIRCD[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/lircmd start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/motd start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mpd start
[....] Starting Music Player Daemon: mpd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mumble-server start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nethack-common start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/network-manager start
[....] Starting network connection manager: NetworkManager[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/nmbd start
[....] Starting NetBIOS name server: nmbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/noip2 start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ntp start
[....] Starting NTP server: ntpd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/postfix start
[....] Starting Postfix Mail Transport Agent: postfixpostmulti: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
postmulti: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
postfix: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/preload start
[....] Starting Adaptive readahead daemon: preload[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rsync start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/samba-ad-dc start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/schroot start
[....] Recovering schroot sessions:[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/slim start
[....] Starting slim: slim[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smartmontools start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/smbd start
[....] Starting SMB/CIFS daemon: smbd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/snmpd start
[....] Starting SNMP services::  snmpd * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/squeezelite start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/ssh start
[....] Starting OpenBSD Secure Shell server: sshd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sysstat start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/thinkfan start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/uuidd start
[....] Starting uuid generator: uuidd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/xinetd start
[....] Starting internet superserver: xinetd[ ok .
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/rmnologin start
 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/stop-bootlogd start

rc default logging stopped at Wed Mar 13 21:39:40 2019

Offline

#7 2019-03-14 02:36:18

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: [SOLVED] OpenRC initscript -> noip2 again [SOLVED]

I dont understand what the actual problem is.

Near the bottom of your posted rc.log file is:

* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/noip2 start

I take this is that noip2 was indeed actually started by openrc init.  What ever happens to noip2 after that is up to noip2 itself.

Is noip2 persistent, does it show up when you run htop (or whatever)?

Note- I am not a script master, so cant determine if anything is wrong with your posted noip2 init script, hopefully someone else could help with that.

Last edited by dxrobertson (2019-03-14 02:47:17)

Offline

#8 2019-03-14 07:04:16

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: [SOLVED] OpenRC initscript -> noip2 again [SOLVED]

SOLVED - I had rewrite the initscript instead like for OpenRC i wrote like for SySVInit [The mayority of initscript are writed like sysvinit i don't know why]

#!/bin/sh

### BEGIN INIT INFO
# Provides:          noip
# Required-Start:    $local_fs $network $syslog
# Required-Stop:     $local_fs $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: no-ip DUC
# Description:       Update DNS for dynamic IP on noip.com
### END INIT INFO

NAME="noip2"
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
APPDIR="/"
APPBIN="/usr/bin/noip2"
CONF="/etc/no-ip2.conf"
PIDFILE="/var/run/${NAME}-customservice.pid"
OPTIONS=""

# Include functions 
set -e
. /lib/lsb/init-functions

start() {
    log_daemon_msg "Starting $NAME services" "$NAME"
    start-stop-daemon --start --quiet --oknodo --exec "$APPBIN" -- $OPTIONS
    log_end_msg $?
}

stop() {
    log_daemon_msg "Stopping $NAME services" "$NAME"
    start-stop-daemon --stop --quiet --oknodo --retry 2 --exec "$APPBIN"
    log_end_msg $?
}

status() {
	status_of_proc "$NAME" noip2
}

configure() {
    "$APPBIN" -C
}

case "$1" in
    start)
        start
        ;;
    stop)
        stop
        ;;
    status)
        status
        ;;
    restart)
	stop
        start
        ;;
    configure)
        configure
        ;;
    *)
        echo "Usage: $NAME {start|stop|restart|configure}" >&2
        exit 1
        ;;
esac

exit 0

And now runs fine i need, and start like i need during system boot.

Offline

Board footer