If a file included via <includedir/> is invalid, syslog and skip it
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 31 Jan 2011 18:06:09 +0000 (18:06 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 31 Jan 2011 19:16:00 +0000 (19:16 +0000)
commit7480dfdb2a8f58279aab77edab85e1165a2d9120
treed9da4e7875460b0dfd02b085dc82446be12fde0b
parent4d93cc858c3ecc70ae6704fb6e4b68dc9af5420a
If a file included via <includedir/> is invalid, syslog and skip it

This is more graceful than failing entirely (our previous behaviour),
but more visible than ignoring it completely (the previous behaviour
patched in by Debian and derivatives).

Based on a patch from Daniel Silverstone back in 2004, which was meant
to be temporary; I think it makes sense to change this permanently,
since files in *.d are typically supplied by other packages, whose bugs
shouldn't be able to bring down dbus-daemon.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19186
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230231
Reviewed-by: Colin Walters <walters@verbum.org>
bus/config-parser.c