-------- Original message -------- From: Andrey Smetanin <Andrey.Smetanin@commerx.ca> Date:12/30/2014 10:07 AM (GMT-05:00) To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] syslog-ng always using default permissions
SOLVED!!
I was editing " /etc/syslog-ng/syslog-ng.conf",
while my compiled version was using:
" /usr/local/etc/syslog-ng.conf"
Apparently, I had two packages installed, one from yum and another one compiled manually.
When I made changes to "/usr/local/etc/syslog-ng.conf" files were created with the right permissions.
Andrey Smetanin | Technical Consultant | Commerx Computer Systems Inc. 2880 Argentia Road, Unit 1, Mississauga, ON L5N 7X8 O: 905.542.9400 x201 | M: 647.894.6096 | F: 905.542.9410 andrey.smetanin@commerx.ca
YOUR I.T. SOLUTIONS PARTNER
-----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Andrey Smetanin Sent: December-30-14 9:51 AM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] syslog-ng always using default permissions
[root@logmonitor ~]# syslog-ng -V syslog-ng 3.6.1 Installer-Version: 3.6.1 Revision: Compile-Date: Dec 12 2014 15:08:34 Available-Modules: afsocket,syslogformat,afsocket-notls,affile,afprog,afuser,afamqp,afmongodb,csvparser,confgen,system-source,linux-kmsg-format,basicfuncs,cryptofuncs,dbparser,afstomp,pseudofile,graphite Enable-Debug: off Enable-GProf: off Enable-Memtrace: off Enable-IPv6: on Enable-Spoof-Source: off Enable-TCP-Wrapper: off Enable-Linux-Caps: off
Sorry, didn’t understand the last question about “later release”.
Is there any way to see in the logs, debug messages...whatever...in which syslog-ng is making the decision what permissions to use? When I run debug mode all I can see is the messages about compiling config file.. You can see below, where I started syslog-ng in debug verbose mode, waited for a first log message and shut it down with CTL+C :