Michael Biebl wrote:
> the current IncludeConfig implementation has some issues, especially
> for distributers:
> All files in the directory as specified by $IncludeConfig are included.
> This means, temp files like *~ *.bak etc that are left behind by
> editors, or stuff like *.rpmsave or *.dpkg-old/*.dpkg-new.
> This is obviously unfortunate.
> 
> How shall we solve this?
> 1.) I patched the Debian package to only include files ending with
> *.conf. If we document that properly this is imho an acceptable
> solution.
> 2.) Implement an internal blacklist of endings that are ignored (see above)
> 3.) Instead of hardcoding the file ending to *.conf (as in 1.), use
> the same syntax as e.g. apache, which allows to specify shell globs:
> example:
> Include /etc/apache2/conf.d/*.conf

i would opt for the third option - thou i'm not sure how much work
this creates ;)

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          [EMAIL PROTECTED]
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            [EMAIL PROTECTED]
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog

Reply via email to