Hi.

I've picked this bug up for deian...@tokyo, and have several comments on how
to fix.

So the requests are:

1. Allow syslog-ng to run on different user/group.
2. Allow syslog-ng to create log file/dir with different user/group,
preferrably same as #1.
3. Change log file location so logrotate configuration would be simpler.

For above requests, I propose following fix/nonfix-es:

- For 1 and 2, introduce EXTRAOPT= parameter in /etc/defaults/syslog-ng and
let
  /etc/init.d/syslog-ng pick it up. This will also allow other future tweaks
as well.

- But, since running syslog in non-root and/or chroot-ed mode is
nonstandard,
  making it "possible" should be enough. Introducing too much
auto-configuration
  and other complexity should be avoided.

- I'm against moving log files to /var/log/syslog-ng/*.log.
  Making it specific to syslog-ng will break compatibility with other
"syslog" implementations,
  and probably many user-scripts expecting "/var/log/syslog" to be exact
that location.

I'll be submitting patch, but I got a suggestion this bug isn't grave from
the first. So

1. I'll first re-rate severity of this bug to "wishlist" (so this won't be a
blocker RC-bug).
2. Then submit a patch.

Best Regards,

Reply via email to