syslog-ng2 conf path default changed; pkg-plist out of date
Okay...who broke this: The path in the binary to the default config file has changed but the pkg-list hasn't and aside from the 2.0.2 patch level bump I dont see where else it came from: [seklecki@web05 ~]$ strings /usr/local/sbin/syslog-ng |egrep "\.conf" -f <fname>, --cfgfile=<fname> Set config file name, default=/usr/local/etc/syslog-ng.conf /usr/local/etc/syslog-ng.conf [seklecki@web05 /usr/local/cf]$ sudo bash -x /usr/local/etc/rc.d/syslog-ng restart [...snip...] ++ /usr/local/sbin/syslog-ng -p /var/run/syslog.pid Error opening configuration file; filename='/usr/local/etc/syslog-ng.conf', error='No such file or directory (2)' The work-around for the mean time is: syslog_ng_flags="-f /usr/local/etc/syslog-ng/syslog-ng.conf" I need to see a CVS changelog of certain files, but Balavid doesn't have a cvsweb, viewvc, etc. or public CVS archive? l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "...from back in the heady days when "helpdesk" meant nothing, "diskquota" meant everything, and lives could be bought and sold for a couple of pages of laser printout - and frequently were."
On Tue, 2007-04-10 at 14:01 -0400, Brian A. Seklecki wrote:
Okay...who broke this: The path in the binary to the default config file has changed but the pkg-list hasn't and aside from the 2.0.2 patch level bump I dont see where else it came from:
This was changed between 1.6.x and 2.0.x, as it is not 'nice' to hardwire configure subdirectories into the configure script. Instead packagers need to override --sysconfdir configure option. So it is not broken, it was an intended change. A lot of other differences were also introduced in from 1.6.x->2.0.0, so I thought it would be ok to change it. and 2.0.3 introduces the use of "localstatedir" too. This defaults to $prefix/var which should be redefined to /var/lib/syslog-ng. Software do change, packaging/compile scripts need to be adapted from time to time. And one minor note about your message: because of the tone I played with the idea of _not replying_, but at the end I decided to respond. I might be sensitive a bit, but starting a question with "who broke this?" and mistyping the name of the developer as "Balavid" sounds a bit rude to me. -- Bazsi
participants (2)
-
Balazs Scheidler
-
Brian A. Seklecki