[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] global option dir_group() didn't take effect
From:       Balazs Scheidler <bazsi () balabit ! hu>
Date:       2006-06-23 14:11:44
Message-ID: 1151071905.6918.0.camel () bzorp ! balabit
[Download RAW message or body]

On Wed, 2006-06-21 at 14:23 +0200, Wolfram Schlich wrote:
> * Balazs Scheidler <bazsi@balabit.hu> [2006-06-21 13:08]:
> > On Wed, 2006-06-21 at 00:01 +0200, Wolfram Schlich wrote:
> > > Syslog-NG (1.9.11) was configured with the global option dir_group(adm),
> > > but directories it created were root:root.
> > > Anyone else experiencing this?
> > 
> > There was a typo in the initialization code caused this. Here's the
> > patch:
> > 
> > --- orig/src/affile.c
> > +++ mod/src/affile.c
> > @@ -592,7 +592,7 @@ affile_dd_new(gchar *filename, guint32 f
> >    self->flags = flags;
> >    self->file_uid = self->file_gid = -1;
> >    self->file_perm = -1;
> > -  self->dir_uid = self->dir_uid = -1;
> > +  self->dir_uid = self->dir_gid = -1;
> >    self->dir_perm = -1;
> >    log_writer_options_defaults(&self->writer_options);
> >    if (strchr(filename, '$') == NULL)
> 
> Great, thanks :-)
> 
> Should I try syslog-ng-2.0rc1+20060621.tar.gz?

No, the fix could not be committed because of my lousy internet
connection. I've just committed it, so you should try tomorrow's
snapshot or apply the patch yourself.

-- 
Bazsi

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic