Hi Corinna (I think this is with you),

I've been struggling with a small (but deadly) problem in the current
syslog-ng package:
~ $ cygcheck -c syslog-ng
Cygwin Package Information
Package              Version        Status
syslog-ng            3.0.1-1        OK

The service could not be started after running syslog-ng-config,
complaining like this: "Improperly formatted configuration pragma,
colon expected; line='@version 3.0\x0a'".
Fortunately, it all boils down to this tiny patch:
~ $ diff -u /usr/bin/syslog-ng-config /usr/bin/syslog-ng-config.old
--- /usr/bin/syslog-ng-config   2009-03-19 16:21:32.555352800 +0000
+++ /usr/bin/syslog-ng-config.old       2009-03-19 16:20:51.052696800 +0000
@@ -205,7 +205,7 @@
 then
   echo "Creating default ${SYSCONFDIR}/syslog-ng.conf file"
   cat > ${SYSCONFDIR}/syslog-ng.conf << EOF
-...@version: 3.0
+...@version 3.0
 options {
   keep_hostname(yes);
   owner("system");

...to put the 'lost colon' back in place in the first line written to
the syslog-ng.conf :)

Now, for the part I didn't manage to solve yet: the syslog-ng service
also spits this warning (error?) when starting: "Error resolving user;
user='system'", but I have the 'vanilla' system entry in /etc/passwd:
~ $ grep system /etc/passwd
system:*:18:544:,S-1-5-18::
and indeed all does seem well:
~ $ id system
uid=18(system) gid=544(Administrators) groups=544(Administrators)

Is it any misleading message, maybe?

And finally, the most wanted (at the moment): The man page refers
'NOTE: This file is not up to date. Please refer to the html
documentation'. Looking at
~ $ cygcheck -l syslog-ng
/usr/sbin/syslog-ng.exe
/usr/bin/loggen.exe
/usr/bin/syslog-ng-config
/usr/share/man/man5/syslog-ng.conf.5
/usr/share/man/man8/syslog-ng.8
/usr/share/doc/syslog-ng/syslog-ng.conf.sample
/usr/share/doc/syslog-ng/syslog-ng.conf.solaris
/usr/share/doc/Cygwin/syslog-ng.README

Hrmmm... where is it?

And that's all, folks! Hope you can help me with this.

Keep on this cygwin superb work, people!
___________
Julio Costa

Reply via email to