Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
LRC
Post subject: Can't get apts to boot in right sequence  PostPosted: Sep 08, 2006 - 11:41 AM



Joined: Apr 21, 2006
Posts: 152
Location: 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?
 
 View user's profile Send private message  
Reply with quote Back to top
shame
Post subject:   PostPosted: Sep 09, 2006 - 12:59 PM



Joined: Apr 16, 2006
Posts: 207
Location: 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
 
 View user's profile Send private message  
Reply with quote Back to top
LRC
Post subject:   PostPosted: Sep 09, 2006 - 03:02 PM



Joined: Apr 21, 2006
Posts: 152
Location: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
stryder
Post subject:   PostPosted: Sep 09, 2006 - 03:40 PM



Joined: Jun 26, 2005
Posts: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
LRC
Post subject:   PostPosted: Sep 09, 2006 - 07:19 PM



Joined: Apr 21, 2006
Posts: 152
Location: 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.)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits