Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-12-13 05:51:07

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

[SOLVED] Kolejność wykonywania się skryptów startowych

Mam do ogarnięcia 3 skrypty o nagłówkach:

Kod:

### BEGIN INIT INFO
# Provides:          iptables-persistent
# Required-Start:    mountkernfs $local_fs
# Required-Stop:     $local_fs
# Should-Start:      peerblock
# Should-Stop:      networking 
# Default-Start:     S
# Default-Stop:      0 6
# X-Start-Before:    $network
# X-Stop-After:      $network
# Short-Description: Set up iptables rules
# Description:       Loads/saves current iptables rules from/to /etc/iptables
#  to provide a persistent rule set during boot time
### END INIT INFO

Kod:

### BEGIN INIT INFO
# Provides:          networking ifupdown
# Required-Start:    mountkernfs $local_fs urandom 
# Required-Stop:     $local_fs
# Should-Start:      iptables-persistent peerblock
# Should-Stop:       
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Raise network interfaces.
# Description:       Prepare /run/network directory, ifstate file and raise network interfaces, or take them down.
### END INIT INFO

Kod:

### BEGIN INIT INFO
# Provides:          peerblock
# Required-Start:    mountkernfs $local_fs
# Required-Stop:     $local_fs
# Should-Start:      
# Should-Stop:       iptables-persistent networking
# Default-Start:     S
# Default-Stop:      0 6
# X-Start-Before:    $network
# X-Stop-After:      $network
# Short-Description: ipset lists
# Description:       ipset lists
### END INIT INFO

Zgodnie z moim rozumieniem start ma przebiegać tak:

peerblock nie ma wymagań co do startu to odpali się jako 1
iptables-persistent wymaga tylko peerblocka, więc odpali się jako 2
networking wymaga i peerblocka i iptables-persistent więc odpali się jako 3

Jeśli bym próbował odpalić iptables bez ipseta, ten zwróci błąd, Wszystko ma się dokonać jak najwcześniej czyli tuż przed włączeniem sieci. Nie mogłem tego zrobić na runlevelu 2, dlatego musiałem zejść na runlevel S, w przeciwnym wypadku iptables by się odpalił na krótko przed x-am, czyli o wiele za późno.

Z kolei zatrzymanie skryptów powinno przebiec tak:
Dwa skrypty wymagają by networking się zastopował, a że ten nie ma nic w dyrektywie stopu to zakończy się jako 1
iptables-persistent zakończy się jako 2
i na końcu peerblock, który wymaga iptables-persistent

Przynajmniej taka jest teoria. Ale w praktyce to nie działa. Skrypty nie chcą się dodać bo wyrzucane jest zapętlenie:

Kod:

root:/etc/init.d# update-rc.d networking defaults 
insserv: There is a loop between service networking and iptables-persistent if stopped
insserv:  loop involving service iptables-persistent at depth 4
insserv:  loop involving service networking at depth 3
insserv:  loop involving service umountnfs at depth 2
insserv:  loop involving service rpcbind at depth 5
insserv: There is a loop between service networking and iptables-persistent if stopped
insserv:  loop involving service peerblock at depth 7
insserv:  loop involving service umountfs at depth 10
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
root:/etc/init.d# update-rc.d iptables-persistent defaults 
insserv: There is a loop between service networking and iptables-persistent if stopped
insserv:  loop involving service iptables-persistent at depth 4
insserv:  loop involving service networking at depth 3
insserv:  loop involving service umountnfs at depth 2
insserv:  loop involving service rpcbind at depth 5
insserv: There is a loop between service networking and iptables-persistent if stopped
insserv:  loop involving service peerblock at depth 7
insserv:  loop involving service umountfs at depth 11
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
root:/etc/init.d# update-rc.d peerblock defaults 
insserv: There is a loop between service networking and iptables-persistent if stopped
insserv:  loop involving service iptables-persistent at depth 5
insserv:  loop involving service peerblock at depth 4
insserv:  loop involving service umountfs at depth 7
insserv: There is a loop between service peerblock and networking if stopped
insserv:  loop involving service networking at depth 6
insserv: There is a loop between service networking and iptables-persistent if stopped
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header

Nie wiem czemu nie chce tego ustawienia przepuścić, nie ma tam w nagłówkach żadnych dodatkowych zależności. W każdym razie spróbowałem skasować networking w Should-Stop w skryptach peerblok i iptables-persistent. Zostawiając pozostałe zależności tak jak były. I skrypty się dodały

Tak wyglądają linki w katalogu /etc/rcS.d/ :

Kod:

root:/etc/init.d# ls -al /etc/rcS.d/
total 20K
drwxr-xr-x   2 root root 4.0K Dec 13 05:39 ./
drwxr-xr-x 144 root root  12K Dec 13 04:49 ../
-rw-r--r--   1 root root  447 Oct 15  2012 README
lrwxrwxrwx   1 root root   24 Nov 11 00:22 S01mountkernfs.sh -> ../init.d/mountkernfs.sh*
lrwxrwxrwx   1 root root   14 Nov 11 00:23 S02udev -> ../init.d/udev*
lrwxrwxrwx   1 root root   26 Dec 13 03:26 S03mountdevsubfs.sh -> ../init.d/mountdevsubfs.sh*
lrwxrwxrwx   1 root root   18 Dec 13 03:26 S04bootlogd -> ../init.d/bootlogd*
lrwxrwxrwx   1 root root   24 Dec 13 03:26 S05keyboard-setup -> ../init.d/keyboard-setup*
lrwxrwxrwx   1 root root   16 Dec 13 03:26 S06hdparm -> ../init.d/hdparm*
lrwxrwxrwx   1 root root   21 Dec 13 03:26 S06hostname.sh -> ../init.d/hostname.sh*
lrwxrwxrwx   1 root root   20 Dec 13 03:26 S06hwclock.sh -> ../init.d/hwclock.sh*
lrwxrwxrwx   1 root root   22 Dec 13 03:26 S07checkroot.sh -> ../init.d/checkroot.sh*
lrwxrwxrwx   1 root root   26 Dec 13 03:26 S08cryptdisks-early -> ../init.d/cryptdisks-early*
lrwxrwxrwx   1 root root   32 Dec 13 03:26 S09checkroot-bootclean.sh -> ../init.d/checkroot-bootclean.sh*
lrwxrwxrwx   1 root root   14 Dec 13 03:26 S09kmod -> ../init.d/kmod*
lrwxrwxrwx   1 root root   14 Dec 13 03:26 S09lvm2 -> ../init.d/lvm2*
lrwxrwxrwx   1 root root   20 Dec 13 03:26 S10cryptdisks -> ../init.d/cryptdisks*
lrwxrwxrwx   1 root root   20 Dec 13 03:26 S11checkfs.sh -> ../init.d/checkfs.sh*
lrwxrwxrwx   1 root root   21 Dec 13 03:26 S12mountall.sh -> ../init.d/mountall.sh*
lrwxrwxrwx   1 root root   31 Dec 13 03:26 S13mountall-bootclean.sh -> ../init.d/mountall-bootclean.sh*
lrwxrwxrwx   1 root root   19 Dec 13 05:39 S14peerblock -> ../init.d/peerblock*
lrwxrwxrwx   1 root root   16 Dec 13 03:26 S14procps -> ../init.d/procps*
lrwxrwxrwx   1 root root   17 Dec 13 03:26 S14urandom -> ../init.d/urandom*
lrwxrwxrwx   1 root root   29 Dec 13 05:39 S15iptables-persistent -> ../init.d/iptables-persistent*
lrwxrwxrwx   1 root root   20 Dec 13 05:39 S16networking -> ../init.d/networking*
lrwxrwxrwx   1 root root   17 Dec 13 03:40 S17rpcbind -> ../init.d/rpcbind*
lrwxrwxrwx   1 root root   20 Dec 13 03:40 S18nfs-common -> ../init.d/nfs-common*
lrwxrwxrwx   1 root root   21 Dec 13 03:40 S19mountnfs.sh -> ../init.d/mountnfs.sh*
lrwxrwxrwx   1 root root   31 Dec 13 03:40 S20mountnfs-bootclean.sh -> ../init.d/mountnfs-bootclean.sh*
lrwxrwxrwx   1 root root   13 Dec 13 03:40 S21kbd -> ../init.d/kbd*
lrwxrwxrwx   1 root root   23 Dec 13 03:40 S22console-setup -> ../init.d/console-setup*
lrwxrwxrwx   1 root root   20 Dec 13 03:40 S23alsa-utils -> ../init.d/alsa-utils*
lrwxrwxrwx   1 root root   21 Dec 13 03:40 S23bootmisc.sh -> ../init.d/bootmisc.sh*
lrwxrwxrwx   1 root root   20 Dec 13 03:40 S23lm-sensors -> ../init.d/lm-sensors*
lrwxrwxrwx   1 root root   20 Dec 13 03:40 S23x11-common -> ../init.d/x11-common*
lrwxrwxrwx   1 root root   30 Dec 13 03:40 S24stop-bootlogd-single -> ../init.d/stop-bootlogd-single*

S14peerblock > S15iptables-persistent > S16networking -- numery się zgadzają. Start systemu jest tak zakładany.

Problem jest przy zamykaniu pc -- ipset zgłasza błąd zniszczenia filtra, bo ten jest używany jeszcze przez iptables, czyli iptables jeszcze działa, a powinien się zakończyć.

Tak wyglądają linki w /etc/rc0.d/

Kod:

# ls -al /etc/rc0.d/
total 20K
drwxr-xr-x   2 root root 4.0K Dec 13 05:39 ./
drwxr-xr-x 144 root root  12K Dec 13 04:49 ../
lrwxrwxrwx   1 root root   17 Nov 11 07:36 K01apache2 -> ../init.d/apache2*
lrwxrwxrwx   1 root root   13 Nov 11 01:39 K01atd -> ../init.d/atd*
lrwxrwxrwx   1 root root   19 Nov 11 02:00 K01bluetooth -> ../init.d/bluetooth*
lrwxrwxrwx   1 root root   24 Nov 11 15:28 K01bootchart-done -> ../init.d/bootchart-done*
lrwxrwxrwx   1 root root   24 Nov 17 15:33 K01dnscrypt-proxy -> ../init.d/dnscrypt-proxy*
lrwxrwxrwx   1 root root   27 Nov 24 01:50 K01dropbox-container -> ../init.d/dropbox-container*
lrwxrwxrwx   1 root root   15 Nov 11 01:39 K01exim4 -> ../init.d/exim4*
lrwxrwxrwx   1 root root   13 Nov 11 00:46 K01gpm -> ../init.d/gpm*
lrwxrwxrwx   1 root root   17 Nov 11 02:00 K01hddtemp -> ../init.d/hddtemp*
lrwxrwxrwx   1 root root   17 Nov 11 01:54 K01lightdm -> ../init.d/lightdm*
lrwxrwxrwx   1 root root   13 Nov 11 03:21 K01mpd -> ../init.d/mpd*
lrwxrwxrwx   1 root root   17 Nov 11 03:20 K01openvpn -> ../init.d/openvpn*
lrwxrwxrwx   1 root root   17 Dec  5 01:13 K01privoxy -> ../init.d/privoxy*
lrwxrwxrwx   1 root root   25 Dec  3 13:45 K01qbittorrent-nox -> ../init.d/qbittorrent-nox*
lrwxrwxrwx   1 root root   15 Nov 11 01:40 K01saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   17 Nov 11 00:22 K01urandom -> ../init.d/urandom*
lrwxrwxrwx   1 root root   20 Nov 11 03:21 K02alsa-utils -> ../init.d/alsa-utils*
lrwxrwxrwx   1 root root   15 Nov 11 07:44 K02mysql -> ../init.d/mysql*
lrwxrwxrwx   1 root root   13 Dec  3 13:45 K02pgl -> ../init.d/pgl*
lrwxrwxrwx   1 root root   20 Nov 11 03:21 K02pulseaudio -> ../init.d/pulseaudio*
lrwxrwxrwx   1 root root   18 Nov 11 03:12 K03sendsigs -> ../init.d/sendsigs*
lrwxrwxrwx   1 root root   17 Nov 11 03:12 K04rsyslog -> ../init.d/rsyslog*
lrwxrwxrwx   1 root root   22 Nov 11 03:12 K05umountnfs.sh -> ../init.d/umountnfs.sh*
lrwxrwxrwx   1 root root   20 Nov 11 03:12 K06nfs-common -> ../init.d/nfs-common*
lrwxrwxrwx   1 root root   17 Nov 11 03:12 K06rpcbind -> ../init.d/rpcbind*
lrwxrwxrwx   1 root root   20 Nov 11 03:12 K07hwclock.sh -> ../init.d/hwclock.sh*
lrwxrwxrwx   1 root root   20 Dec 13 05:39 K07networking -> ../init.d/networking*
lrwxrwxrwx   1 root root   19 Dec 13 05:39 K08peerblock -> ../init.d/peerblock*
lrwxrwxrwx   1 root root   29 Dec 13 05:39 K09iptables-persistent -> ../init.d/iptables-persistent*
lrwxrwxrwx   1 root root   18 Dec  4 00:20 K10umountfs -> ../init.d/umountfs*
lrwxrwxrwx   1 root root   20 Dec  4 00:20 K11cryptdisks -> ../init.d/cryptdisks*
lrwxrwxrwx   1 root root   26 Dec  4 00:20 K12cryptdisks-early -> ../init.d/cryptdisks-early*
lrwxrwxrwx   1 root root   20 Dec  4 00:20 K13umountroot -> ../init.d/umountroot*
lrwxrwxrwx   1 root root   14 Dec  4 00:20 K14halt -> ../init.d/halt*
-rw-r--r--   1 root root  353 Oct 15  2012 README

K07networking > K08peerblock > K09iptables-persistent -- Czyli sieć zdycha pierwsza, potem peerblock i iptables? Ale przecie iptables ma w zależności by zakończył się przed peerblockiem. Czy coś mi umyka? xD

Ostatnio edytowany przez morfik (2013-12-13 07:28:53)

Offline

 

#2  2013-12-13 06:27:36

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: [SOLVED] Kolejność wykonywania się skryptów startowych

To co bruździło na początku to:

Kod:

# X-Start-Before:    
# X-Stop-After:

Wyczyściłem je i przepuściło skrypty z poniższymi nagłówkami:

Kod:

### BEGIN INIT INFO
# Provides:          peerblock
# Required-Start:    mountkernfs $local_fs
# Required-Stop:     $local_fs
# Should-Start:      
# Should-Stop:       networking iptables-persistent
# Default-Start:     S
# Default-Stop:      0 6
# X-Start-Before:    
# X-Stop-After:      
# Short-Description: ipset lists
# Description:       ipset lists
### END INIT INFO

Kod:

### BEGIN INIT INFO
# Provides:          iptables-persistent
# Required-Start:    mountkernfs $local_fs
# Required-Stop:     $local_fs
# Should-Start:      peerblock
# Should-Stop:       networking
# Default-Start:     S
# Default-Stop:      0 6
# X-Start-Before:    
# X-Stop-After:      
# Short-Description: Set up iptables rules
# Description:       Loads/saves current iptables rules from/to /etc/iptables
#  to provide a persistent rule set during boot time
### END INIT INFO

Kod:

### BEGIN INIT INFO
# Provides:          networking ifupdown
# Required-Start:    mountkernfs $local_fs urandom 
# Required-Stop:     $local_fs
# Should-Start:      peerblock iptables-persistent
# Should-Stop:       
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Raise network interfaces.
# Description:       Prepare /run/network directory, ifstate file and raise network interfaces, or take them down.
### END INIT INFO

Start jest ok ale sekwencja stopu nadal jest dziwna:

Kod:

# ls -al /etc/rc0.d/
total 20K
drwxr-xr-x   2 root root 4.0K Dec 13 06:18 ./
drwxr-xr-x 144 root root  12K Dec 13 06:20 ../
lrwxrwxrwx   1 root root   17 Nov 11 07:36 K01apache2 -> ../init.d/apache2*
lrwxrwxrwx   1 root root   13 Nov 11 01:39 K01atd -> ../init.d/atd*
lrwxrwxrwx   1 root root   19 Nov 11 02:00 K01bluetooth -> ../init.d/bluetooth*
lrwxrwxrwx   1 root root   24 Nov 11 15:28 K01bootchart-done -> ../init.d/bootchart-done*
lrwxrwxrwx   1 root root   24 Nov 17 15:33 K01dnscrypt-proxy -> ../init.d/dnscrypt-proxy*
lrwxrwxrwx   1 root root   27 Nov 24 01:50 K01dropbox-container -> ../init.d/dropbox-container*
lrwxrwxrwx   1 root root   15 Nov 11 01:39 K01exim4 -> ../init.d/exim4*
lrwxrwxrwx   1 root root   13 Nov 11 00:46 K01gpm -> ../init.d/gpm*
lrwxrwxrwx   1 root root   17 Nov 11 02:00 K01hddtemp -> ../init.d/hddtemp*
lrwxrwxrwx   1 root root   17 Nov 11 01:54 K01lightdm -> ../init.d/lightdm*
lrwxrwxrwx   1 root root   13 Nov 11 03:21 K01mpd -> ../init.d/mpd*
lrwxrwxrwx   1 root root   17 Nov 11 03:20 K01openvpn -> ../init.d/openvpn*
lrwxrwxrwx   1 root root   19 Dec 13 06:18 K01peerblock -> ../init.d/peerblock*
lrwxrwxrwx   1 root root   17 Dec  5 01:13 K01privoxy -> ../init.d/privoxy*
lrwxrwxrwx   1 root root   25 Dec  3 13:45 K01qbittorrent-nox -> ../init.d/qbittorrent-nox*
lrwxrwxrwx   1 root root   15 Nov 11 01:40 K01saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   17 Nov 11 00:22 K01urandom -> ../init.d/urandom*
lrwxrwxrwx   1 root root   20 Nov 11 03:21 K02alsa-utils -> ../init.d/alsa-utils*
lrwxrwxrwx   1 root root   15 Nov 11 07:44 K02mysql -> ../init.d/mysql*
lrwxrwxrwx   1 root root   13 Dec  3 13:45 K02pgl -> ../init.d/pgl*
lrwxrwxrwx   1 root root   20 Nov 11 03:21 K02pulseaudio -> ../init.d/pulseaudio*
lrwxrwxrwx   1 root root   29 Dec 13 06:18 K03iptables-persistent -> ../init.d/iptables-persistent*
lrwxrwxrwx   1 root root   18 Nov 11 03:12 K03sendsigs -> ../init.d/sendsigs*
lrwxrwxrwx   1 root root   17 Nov 11 03:12 K04rsyslog -> ../init.d/rsyslog*
lrwxrwxrwx   1 root root   22 Nov 11 03:12 K05umountnfs.sh -> ../init.d/umountnfs.sh*
lrwxrwxrwx   1 root root   20 Nov 11 03:12 K06nfs-common -> ../init.d/nfs-common*
lrwxrwxrwx   1 root root   17 Nov 11 03:12 K06rpcbind -> ../init.d/rpcbind*
lrwxrwxrwx   1 root root   20 Nov 11 03:12 K07hwclock.sh -> ../init.d/hwclock.sh*
lrwxrwxrwx   1 root root   20 Dec 13 06:18 K07networking -> ../init.d/networking*
lrwxrwxrwx   1 root root   18 Dec 13 06:08 K08umountfs -> ../init.d/umountfs*
lrwxrwxrwx   1 root root   20 Dec 13 06:08 K09cryptdisks -> ../init.d/cryptdisks*
lrwxrwxrwx   1 root root   26 Dec 13 06:08 K10cryptdisks-early -> ../init.d/cryptdisks-early*
lrwxrwxrwx   1 root root   20 Dec 13 06:08 K11umountroot -> ../init.d/umountroot*
lrwxrwxrwx   1 root root   14 Dec 13 06:08 K12halt -> ../init.d/halt*
-rw-r--r--   1 root root  353 Oct 15  2012 README

K01peerblock > K03iptables-persistent > K07networking

Offline

 

#3  2013-12-13 07:07:59

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: [SOLVED] Kolejność wykonywania się skryptów startowych

Po co pakujesz peerblocka jako osobną usługę systemową?
Jeśli to skrypt z mojego przepisu, to gdzieś z rc.local czy czegoś podobnego niech doda regułki i stworzy seta peerblock, a sam skrypt do aktualizacji adresów wrzucasz do crona, i ewentualnie do autostartu, żeby załadował adresy bezpośrednio po starcie kompa, jeśli jest taka konieczność.

Ostatnio edytowany przez Jacekalex (2013-12-13 07:16:59)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#4  2013-12-13 07:28:23

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: [SOLVED] Kolejność wykonywania się skryptów startowych

Już ogarnąłem, Trochę to poprzerabiałem i obecnie to działa w oparciu o crona. Problem z tym jest taki, że bez tego seta w ipsecie iptables nie wystartuje. No i trzeba pozmieniać parę rzeczy. W każdym razie już doczytałem co potrzeba było pozmieniać.

Pierwsza rzecz to w tych regułkach stop, to nie są usługi, które mają się zatrzymać przed wywołaniem skryptu, tylko to ten skrypt ma się zatrzymać przed ich wywołaniem. Trochę to skomplikowane. xD To jest przeciwieństwo do startu, bo tam to co się wpisze, to musi zostać wywołane przed startem tego skryptu w którym się to wywołuje, a tu przy stopie jest na odwrót. Czyli z grubsza to powinno wyglądać tak samo. Przykład :

Kod:

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          networking ifupdown
# Required-Start:    mountkernfs $local_fs urandom 
# Required-Stop:     $local_fs
# Should-Start:      peerblock iptables-persistent
# Should-Stop:       peerblock iptables-persistent
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Raise network interfaces.
# Description:       Prepare /run/network directory, ifstate file and raise network interfaces, or take them down.
### END INIT INFO

Czyli ten skrypt potrzebuje peerblocka i iptables przy starcie systemu, a przy zamykaniu się zakończy przed nimi.

A druga rzecz dotyczy wywoływania każdego skryptu z parametrem stop. Bo widać ten jeden skrypt nie posiadał stopu, ten od iptables, miał zamiast niego flush. Przerobiłem go troszkę tak by miał stop. i już wszystko ładnie się zamyka i czyści. A sekwencja stopu wygląda:

Kod:

morfik:~$ ls -al /etc/rc0.d/
total 20K
drwxr-xr-x   2 root root 4.0K Dec 13 07:07 ./
drwxr-xr-x 144 root root  12K Dec 13 07:15 ../
lrwxrwxrwx   1 root root   17 Nov 11 07:36 K01apache2 -> ../init.d/apache2*
lrwxrwxrwx   1 root root   13 Nov 11 01:39 K01atd -> ../init.d/atd*
lrwxrwxrwx   1 root root   19 Nov 11 02:00 K01bluetooth -> ../init.d/bluetooth*
lrwxrwxrwx   1 root root   24 Nov 11 15:28 K01bootchart-done -> ../init.d/bootchart-done*
lrwxrwxrwx   1 root root   24 Nov 17 15:33 K01dnscrypt-proxy -> ../init.d/dnscrypt-proxy*
lrwxrwxrwx   1 root root   27 Nov 24 01:50 K01dropbox-container -> ../init.d/dropbox-container*
lrwxrwxrwx   1 root root   15 Nov 11 01:39 K01exim4 -> ../init.d/exim4*
lrwxrwxrwx   1 root root   13 Nov 11 00:46 K01gpm -> ../init.d/gpm*
lrwxrwxrwx   1 root root   17 Nov 11 02:00 K01hddtemp -> ../init.d/hddtemp*
lrwxrwxrwx   1 root root   17 Nov 11 01:54 K01lightdm -> ../init.d/lightdm*
lrwxrwxrwx   1 root root   13 Nov 11 03:21 K01mpd -> ../init.d/mpd*
lrwxrwxrwx   1 root root   17 Nov 11 03:20 K01openvpn -> ../init.d/openvpn*
lrwxrwxrwx   1 root root   17 Dec  5 01:13 K01privoxy -> ../init.d/privoxy*
lrwxrwxrwx   1 root root   25 Dec  3 13:45 K01qbittorrent-nox -> ../init.d/qbittorrent-nox*
lrwxrwxrwx   1 root root   15 Nov 11 01:40 K01saned -> ../init.d/saned*
lrwxrwxrwx   1 root root   17 Nov 11 00:22 K01urandom -> ../init.d/urandom*
lrwxrwxrwx   1 root root   20 Nov 11 03:21 K02alsa-utils -> ../init.d/alsa-utils*
lrwxrwxrwx   1 root root   15 Nov 11 07:44 K02mysql -> ../init.d/mysql*
lrwxrwxrwx   1 root root   13 Dec  3 13:45 K02pgl -> ../init.d/pgl*
lrwxrwxrwx   1 root root   20 Nov 11 03:21 K02pulseaudio -> ../init.d/pulseaudio*
lrwxrwxrwx   1 root root   18 Dec 13 06:44 K03sendsigs -> ../init.d/sendsigs*
lrwxrwxrwx   1 root root   17 Dec 13 06:44 K04rsyslog -> ../init.d/rsyslog*
lrwxrwxrwx   1 root root   22 Dec 13 06:44 K05umountnfs.sh -> ../init.d/umountnfs.sh*
lrwxrwxrwx   1 root root   20 Dec 13 06:44 K06nfs-common -> ../init.d/nfs-common*
lrwxrwxrwx   1 root root   17 Dec 13 06:44 K06rpcbind -> ../init.d/rpcbind*
lrwxrwxrwx   1 root root   20 Dec 13 06:44 K07hwclock.sh -> ../init.d/hwclock.sh*
lrwxrwxrwx   1 root root   20 Dec 13 07:07 K07networking -> ../init.d/networking*
lrwxrwxrwx   1 root root   29 Dec 13 07:07 K08iptables-persistent -> ../init.d/iptables-persistent*
lrwxrwxrwx   1 root root   19 Dec 13 07:07 K09peerblock -> ../init.d/peerblock*
lrwxrwxrwx   1 root root   18 Dec 13 07:06 K10umountfs -> ../init.d/umountfs*
lrwxrwxrwx   1 root root   20 Dec 13 07:06 K11cryptdisks -> ../init.d/cryptdisks*
lrwxrwxrwx   1 root root   26 Dec 13 07:06 K12cryptdisks-early -> ../init.d/cryptdisks-early*
lrwxrwxrwx   1 root root   20 Dec 13 07:06 K13umountroot -> ../init.d/umountroot*
lrwxrwxrwx   1 root root   14 Dec 13 07:06 K14halt -> ../init.d/halt*
-rw-r--r--   1 root root  353 Oct 15  2012 README

K07networking > K08iptables-persistent  > K09peerblock i to wszystko na chwilę przed K10umountfs czyli jest tak jak być powinno.

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.008 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00104 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.144.252.204' WHERE u.id=1
0.00092 UPDATE punbb_online SET logged=1728271486 WHERE ident='3.144.252.204'
0.00048 SELECT * FROM punbb_online WHERE logged<1728271186
0.00055 SELECT topic_id FROM punbb_posts WHERE id=248285
0.00052 SELECT id FROM punbb_posts WHERE topic_id=24805 ORDER BY posted
0.00060 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=24805 AND t.moved_to IS NULL
0.00010 SELECT search_for, replace_with FROM punbb_censoring
0.00145 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=24805 ORDER BY p.id LIMIT 0,25
0.00085 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=24805
Total query time: 0.00664 s