-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: syslog-ng
Version: 3.1.1-3~bpo50+1

When you invoke "/etc/init.d/syslog-ng reload", the contents of the
variable "$SYSLOGNG_OPTS" is not taken in account when the syntax check
is done via the "-s" option.

That results in custom settings (eg. a different location for the
configuration file) not being taken in account when the syntax checks
"syslog-ng -s" is done.

The fix is simple:
- --- syslog-ng.orig      2010-07-14 15:18:37.000000000 -0400
+++ syslog-ng   2010-07-14 15:05:39.000000000 -0400
@@ -88,7 +88,7 @@

 syslogng_reload() {
     log_daemon_msg "Reload system logging" "$NAME"
- -    if $SYSLOGNG -s
+    if $SYSLOGNG -s $SYSLOGNG_OPTS
     then
       start-stop-daemon --stop --signal 1 --quiet --exec "$SYSLOGNG" \
                         --pidfile "$PIDFILE"

- --
WARNING:       Electronic mail sent through the Internet is not
secure and could be intercepted by a third party.  For your own
protection, do not send any identifying information,  including
account, Social Security, card numbers, or passwords via email.
_______________________________________________________________
Thomas Bullinger, Director Security Operations, CISSP #41151
Synergy, Inc., xDefenders division
1100 Pittsford-Victor Rd., Pittsford, NY 14534
Ph: (585) 385-2770 x7450   Fax: (585) 385-3511

God gave man two ears and one tongue so that we listen twice as
much as we speak.  -- Arab proverb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw+DekACgkQ0+BkZyVPhqa32wCfXAXs8VLx6ij+Qb6rk6L0Ir9R
Tn4An20FfmmnJsALs2W4i1mweNcH+ToH
=0fyp
-----END PGP SIGNATURE-----

<<attachment: tbulli.vcf>>

Reply via email to