syslog-ng: some packaging glitches

Julio Emanuel
Thu Mar 19 16:36:00 GMT 2009

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 @@
   echo "Creating default ${SYSCONFDIR}/syslog-ng.conf file"
   cat > ${SYSCONFDIR}/syslog-ng.conf << EOF
-@version: 3.0
+@version 3.0
 options {
   owner("system"); 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
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

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

More information about the Cygwin-apps mailing list