Autor |
Nachricht |
|
Titel: Can't get apts to boot in right sequence
Verfasst am: 08.09.2006, 11:41 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
I am trying to get a firehol-tinyproxy-dansguardian setup to boot in the right sequence. Firehol and tinyproxy are fine, but dansguardian must boot after those two have loaded. Dansguardian seems to always be loading before tinyproxy, therefore failing. In /etc/group I have done this
firehol:x:16:
tinyproxy:x:18:
dansguardian:x:90:
but it still has changed nothing. Should I try different numbers? Or, are there other commands I could use to ensure that the sequence is right? |
|
|
|
|
 |
|
Titel:
Verfasst am: 09.09.2006, 12:59 Uhr
|
|

Anmeldung: 16. Apr 2006
Beiträge: 207
Wohnort: England
|
|
It's a while since I used them but I think I did something like this to get them to boot correctly -
Code:
unfreeze-rc.d
update-rc.d -f firehol remove
update-rc.d -f tinyproxy remove
update-rc.d -f dansguardian remove
Then re -add them -
Code:
update-rc.d firehol defaults 16
update-rd.c tinyproxy defaults 18
update-rc.d dansguardian defaults 90
freeze-rc.d
|
_________________ sidux 32 & 64 | PCLinuxOS | PC-BSD
repository of shame - compiz fusion & beryl repo for debian Sid/Lenny/Etch | 32-bit | 64-bit
|
|
|
|
 |
|
Titel:
Verfasst am: 09.09.2006, 15:02 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
Thankyou. Worked like a gem. Very hard to find this kind of info anywhere. Small typo with update-rd.c tinyproxy defaults 18, but after cut and paste failed, found it. Now if only I could find a way to get samba working right. I'm a noobie and iptables are alien to me, and by the amount of responses I'm getting, to everyone else too. |
|
|
|
|
 |
|
Titel:
Verfasst am: 09.09.2006, 15:40 Uhr
|
|
Anmeldung: 26. Jun 2005
Beiträge: 389
|
|
BTW, /etc/groups are for "workgroups", like user, cdrom, audio and so on. And the numbers refer to their priority over other groups, and so root for example is 0. Nothing to do with boot sequence. You might want to return that file to it's original state, if you haven't. The boot sequence that you updated/changed are the symlinks found in /etc/rcS.d. |
|
|
|
|
 |
|
Titel:
Verfasst am: 09.09.2006, 19:19 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
Got it. Still a noobie. Just remember months ago trying to set up squid (gave up too complicated and I don't need it, not using a server) and in the directions given instructed assigning numbers to squid and danguardian in groups, ergo thought that is what you did. Saw something about rcS.d, but it really didn't give any clear directions as to how one was to use or manage it, therefore dropped as another of those advice columns that led to no good if one did try to follow. (Been there too many times hjanging off of cliff trying to correct the mess I got myself into.) |
|
|
|
|
 |
|