kanotix.com
General Support - Can't get apts to boot in right sequence
LRC - 08.09.2006, 11:41 Uhr
Titel: Can't get apts to boot in right sequence
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?
shame - 09.09.2006, 12:59 Uhr
Titel:
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
LRC - 09.09.2006, 15:02 Uhr
Titel:
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.
stryder - 09.09.2006, 15:40 Uhr
Titel:
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.
LRC - 09.09.2006, 19:19 Uhr
Titel:
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.)
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007