On Fri, 2013-02-22 at 09:33 +0000, Rainer Gerhards wrote:
> On Fri, 2013-02-22 at 00:24 -0800, David Lang wrote:
> > On Wed, 20 Feb 2013, Nathan Stratton Treadway wrote:
> > 
> > > I'm trying out the rsyslog 7.3.6-0adiscon1 package installed from the
> > > http://ubuntu.adiscon.com/v7-devel/ repository, and I seem to be running
> > > into strange behavior in the processing order for actions and filters
> > > defined in "included" configuration files.
> > >
> > > After some investigation (including switching from ~ to STOP, and
> > > from a property-based filter to a ReinerScript filter, etc.), I
> > > discovered that the issue seems to be that the rules from each
> > > newly-parsed config file are added to the top of the ruleset list,
> > > rather than the bottom.  (So the rules show up in the expected order
> > > within each config file, but the "blocks" of rules appear in the wrong
> > > order.)
> > >
> > 
> > >
> > > Has anyone else noticed this problem?   (I did search around for any
> > > previous discussion of the topic, but wasn't able to find anything....)
> > >
> > 
> > My understanding is that the order of multiple include files has always 
> > been 
> > undefined. you should not rely on interaction between different files that 
> > are 
> > included to always be in a particular order, either amoung the files or in 
> > relation to entries in the main file.
> > 
> actualy, it is using glob() using shell expansion order. So they should
> be sorted. Unfortunately I did not manage to look into the case
> yesterday and on my way to the conference today. In any case, I'll try
> to look into this. There is a -I think- related bug tracker:
> 
> http://bugzilla.adiscon.com/show_bug.cgi?id=411

I tried to reproduce the issue, but could not. Please see

http://bugzilla.adiscon.com/show_bug.cgi?id=411

debug log would be appreciated. As I am off to the conference, I may not
be able to look at it before Tuesday (but would try to if I find time).

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to