Re: [Cooker] snort update error

2002-02-18 Thread RA

On Monday, 18. February 2002 16:56, you wrote:
 [root@cooker bor]# urpmi snort
 installing
 /home/bor/dist/cooker/i586/Mandrake/RPMS/snort-1.8.3-1mdk.i586.rpm
 Preparing...
 ##
 snort
 ##
 ln: `/usr/sbin/snort': File exists

 -andrej

and another one: Could the init script changed to recognize the PID file 
correctly,
i.e.: daemon --check=snort_$INTERFACE ...

And what about %config(noreplace) for init.d/snortd, because you have to 
modify it e.g. for snort-mysql





Re: [Cooker] snort update error

2002-02-18 Thread Florin

[EMAIL PROTECTED] (RA) writes:

 On Monday, 18. February 2002 16:56, you wrote:
  [root@cooker bor]# urpmi snort
  installing
  /home/bor/dist/cooker/i586/Mandrake/RPMS/snort-1.8.3-1mdk.i586.rpm
  Preparing...
  ##
  snort
  ##
  ln: `/usr/sbin/snort': File exists
 
  -andrej
 
 and another one: Could the init script changed to recognize the PID file 
 correctly,
 i.e.: daemon --check=snort_$INTERFACE ...

I don't get it here ... what do you mean by that ?
snort is the name of the initscript ... what will do INTERFACE here ?

 
 And what about  modify it e.g. for snort-mysql
 

ok for this one, fair enough

-- 
Florin  http://www.mandrakesoft.com




Re: [Cooker] snort update error

2002-02-18 Thread RA

On Monday, 18. February 2002 16:37, you wrote:
 [EMAIL PROTECTED] (RA) writes:
  On Monday, 18. February 2002 16:56, you wrote:
   [root@cooker bor]# urpmi snort
   installing
   /home/bor/dist/cooker/i586/Mandrake/RPMS/snort-1.8.3-1mdk.i586.rpm
   Preparing...
   ##
   snort
   ##
   ln: `/usr/sbin/snort': File exists
  
   -andrej
 
  and another one: Could the init script changed to recognize the PID file
  correctly,
  i.e.: daemon --check=snort_$INTERFACE ...

In my snortd (and in original one too):
INTERFACE=eth0

and PID file is 
/var/run/snort_eth0.pid

and not snort.pid. So snortd is started in multiple instances when changing 
runlevel e.g. from 3 to 5.


 I don't get it here ... what do you mean by that ?
 snort is the name of the initscript ... what will do INTERFACE here ?

  And what about  modify it e.g. for snort-mysql

 ok for this one, fair enough




Re: [Cooker] snort update error

2002-02-18 Thread RA

On Monday, 18. February 2002 17:26, you wrote:
 [EMAIL PROTECTED] (RA) writes:
  In my snortd (and in original one too):
  INTERFACE=eth0
 
  and PID file is
  /var/run/snort_eth0.pid

 you're right and this is teh actual case for mandrake snort packages.

  and not snort.pid. So snortd is started in multiple instances when
  changing runlevel e.g. from 3 to 5.

 my mistake, I was thinking about the snort lock file in
 /var/lock/subsys/snort

 so, without running snort twice, only by changing levels from say 3 to 5
 one will find two instances of snort ?

Indeed!

   I don't get it here ... what do you mean by that ?
   snort is the name of the initscript ... what will do INTERFACE here ?
  
And what about  modify it e.g. for snort-mysql
  
   ok for this one, fair enough




Re: [Cooker] snort update error

2002-02-18 Thread Florin

[EMAIL PROTECTED] (RA) writes:

 In my snortd (and in original one too):
 INTERFACE=eth0

 and PID file is 
 /var/run/snort_eth0.pid
 


you're right and this is teh actual case for mandrake snort packages.

 and not snort.pid. So snortd is started in multiple instances when changing 
 runlevel e.g. from 3 to 5.

my mistake, I was thinking about the snort lock file in /var/lock/subsys/snort

so, without running snort twice, only by changing levels from say 3 to 5
one will find two instances of snort ?


 
  I don't get it here ... what do you mean by that ?
  snort is the name of the initscript ... what will do INTERFACE here ?
 
   And what about  modify it e.g. for snort-mysql
 
  ok for this one, fair enough
 

-- 
Florin  http://www.mandrakesoft.com