[Syslog-ng-maintainers] Bug#729991: syslog-ng-core uninstallable

Martin Bagge / brother brother at bsnet.se
Wed Nov 20 16:03:24 GMT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2013-11-20 15:57, Gergely Nagy wrote:
> The file() thing here comes from the system() source. system() is 
> expanded at run-time, depending on the OS/platform/whatever
> syslog-ng is running on.
> 
> You can run "syslog-ng --preprocess-into=/dev/stdout -s" to see
> what it does with the config file. You'll find the
> file("/dev/kmsg") thing there.

root at drake~# syslog-ng --preprocess-into=/dev/stdout -s
root at drake~# echo $?
0

> Can you tell me the kernel version you have? And does this happen
> in a container, VM, or on bare metal?

root at drake~# uname -a
Linux drake 3.2.0-4-686-pae #1 SMP Debian 3.2.51-1 i686 GNU/Linux

VM on top of VMware ESXI 4.1

> As a quick workaround, you can remove the system() line from the
> config, and replacing it with whatever it expands to (see the
> command above), without the /dev/kmsg part.

Removed the line and the service seems to start indeed. Thanks.

root at drake~# grep -B1 system\( /etc/syslog-ng/syslog-ng.conf
source s_src {
       #system();
root at drake~# service syslog-ng start
[ ok ] Starting system logging: syslog-ng.


(and a new aptitude update && aptitude safe-upgrade worked flawlessly)
- -- 
brother
http://sis.bthstudent.se
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBCAAGBQJSjN1MAAoJEJbdSEaj0jV7uNwH/3aTX640VtIBF9uGheUDDMMc
UzxwHfxn/kzrqb6TVkD7sd++hy+h+s9gKIIlVmCIB6Ie3zUspyZ/AhgAQjQmNrI8
PgHhYJj3sSbkc7TlbnollicGeN/mKERMUPmVSj3ocRN6/cdBeKv1AJPP1TbeVK8n
RdSVjWCaj97xVY4WP5Mje9aoHspWfOf/TQVI9cdnGUgiGMpJ+uOOEn+vWZ/pANMp
ufM5LLAhBAfwzSx+duoHJfv/jPKhdjgoecYLfDezrc7VCmwfCv6OWJgYdPh39siB
zYcqNfv9zpAYCMkdivU7WFq0vVUJQ4zK/kSEcfuLddzgNNR74DfJL2luZLaJ8EA=
=PIUV
-----END PGP SIGNATURE-----




More information about the Syslog-ng-maintainers mailing list