[EMAIL PROTECTED] (Oden Eriksson) writes: > Well, I thought it would be nice to have a new "/etc/sysconfig/snort" file, > instead of making the softlinks in "/usr/sbin/*". Very much like the other > config files in "/etc/sysconfig/*" for the daemons. > > A bad idea?
The snort conf file does not deal with the binary ... but the intitscript does. The /etc/snort/conf file will be the same for all cases. Of course, one could use an /etc/sysconfig/snort file with a contents like: BINARY="snort-bloat" and then use that in the initscript with daemon /usr/sbin/$BINARY -u snort -g snort -s -d -D \ ... or, we could extend that even for the snort config file used and use a different conf file in /etc/sysconfig/snort ... so, in the post section of every package one should parse and update the /etc/sysconfig/snort file ... I thing it's more complicated than the actual case when one uses only one config file and we only replace actual links in post section ... just my thoughts ... -- Florin http://www.mandrakesoft.com
