summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-01New upstream releasedebian/1.7.8-1Simon McVittie2-1/+5
- add new dependency on libsystemd-journal-dev for linux-any
2013-11-01Merge tag 'upstream/1.7.8' into experimentalSimon McVittie28-2901/+2007
Upstream version 1.7.8
2013-11-01Imported Upstream version 1.7.8upstream/1.7.8Simon McVittie28-2901/+2007
2013-11-01Enable libaudit support so messages that violate SELinux policy go to the ↵Simon McVittie3-1/+7
audit log (Closes: #727771)
2013-11-011.7.8Simon McVittie2-3/+27
2013-11-01bus/selinux: Fix previous commit for CAP_AUDIT_WRITE retentionColin Walters1-1/+7
As soon as capng_clear() is called, we won't appear to have CAP_AUDIT_WRITE. Fix this by checking for it before resetting the libcap state. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49062 Tested-by: Laurent Bigonville <bigon@debian.org> Reviewed-by: Laurent Bigonville <bigon@debian.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Lennart Poettering <lennart@poettering.net>
2013-11-01Standards-Version: 3.9.5 (no changes needed)Simon McVittie2-1/+4
2013-11-01Revert "start dbus-specification 0.23"Simon McVittie1-10/+2
This reverts commit c8bc5f24b721bc03679c44669cf5e655c1e99b5f. Nothing changed since 0.22.
2013-11-01Merge branch 'dbus-1.6'Simon McVittie1-1/+4
Conflicts: NEWS configure.ac
2013-11-01Start on 1.6.20Simon McVittie2-1/+4
2013-11-01New upstream release 1.6.18debian/1.6.18-1Simon McVittie2-3/+5
* Standards-Version: 3.9.5 (no changes needed)
2013-11-01Merge tag 'upstream/1.6.18'Simon McVittie4-16/+54
Upstream version 1.6.18
2013-11-01Imported Upstream version 1.6.18upstream/1.6.18Simon McVittie4-16/+54
2013-11-011.6.18Simon McVittie2-3/+10
2013-11-01Close unused inherited file descriptorChengwei Yang1-0/+2
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68559 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01Add comments describing how "compile with journald, run without" worksSimon McVittie1-2/+5
2013-11-01Handle activated child stdout/stderr correctly in systemd environmentChengwei Yang2-2/+36
In systemd environment, dbus-daemon will run as no-fork mode since this is the recommended practice of systemd. In that scenario, child activated by dbus-daemon will inherit dbus-daemon standard streams, includes stdin/stdout/stderr. stdin will be redirected to /dev/null by systemd and stdout/stderr will be catched by systemd log subsystem. Since the child inherit stdout/stderr from dbus-daemon, so from systemd journal log, the child log output will be identified with dbus-daemon identifier. So it's a little confusing. This patch redirects the child stdout/stderr to systemd journal stream, and with its owned service name as identifier. However, thing not fixed perfectly due to the socket ucred of the child is owned by dbus-daemon, so the pid isn't the real pid of the chile. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68559 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01DBusBabysitter: change executable to log_nameChengwei Yang5-31/+57
DBusBabysitter->executable is defined as executable name to use in error messages. However, if servicehelper used, then the executable name is servicehelper. It's not much help because we couldn't figure out which service we're trying to activated if error happens. In the following patch, we'll use service name to be activated as the child log identifier and add a parameter to _dbus_spawn_async_with_babysitter() to pass the log identifier. Since this is not the case in test, so executable changed to log_name. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68559 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01Update configurable elements for dbus-daemon manualChengwei Yang1-0/+31
Update three configurable elements for dbus-daemon manual, <syslog>, <pidfile> and <allow_anonymous>, all of them are undocumented so far. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69125 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01Remove unnecessary dbus_setenv()Chengwei Yang1-6/+0
DBUS_ACTIVATION_ADDRESS changed to DBUS_STARTER_ADDRESS and DBUS_ACTIVATION_BUS_TYPE changed to DBUS_STARTER_BUS_TYPE since 2005 by this commit - 8873c90 So the dbus_setenv() which used to unset the above two wrong environment variables has no effect in fact. And giving that setenv(3) and putenv(3) are not threadsafe, so it's better to remove them. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68308 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Acked-by: Colin Walters <walters@verbum.org>
2013-11-01transaction_free: factor outSimon McVittie1-10/+12
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=60859 Reviewed-by: Chengwei Yang [removed unused variable based on review -smcv]
2013-11-01dbus-spawn: draw a diagramSimon McVittie1-0/+42
There are enough pipes, fds and processes here that it's important to keep track of them. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=60859
2013-11-01Use SIGHUP without check in UNIX environmentChengwei Yang1-4/+0
As Simon's comment https://bugs.freedesktop.org/show_bug.cgi?id=66068#c8 we can do this in UNIX environment. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01Test: add test cases for message parsingChengwei Yang1-0/+205
Add test cases for testing: * If more arguments than requested are present, the requested arguments are returned and the extra arguments are ignored. * If arguments parse failed, ensure we didn't leak any memory or unix fd Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21259 [added a check for fd leaks around verify_test_message_args_ignored() -smcv] Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01Fix memory or unix fd may leak in dbus_message_iter_get_args_valistChengwei Yang1-4/+67
This is an aged bug since 2009, so let's fix it. Say if a previous parsing for unix fd or array of string successfully but then a later element parsing fail, then the unix fd or array of string leaked. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21259 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-11-01Correctly set number of arguments already handledChengwei Yang1-3/+4
At privous, which increments the number of arguments already handled in the last of loop, however, if there is any invalid argument, then it will "goto out" and the number of arguments already handled is now incorrect. A following patch will use the number of arguments already handled as a loop terminate condition, so it's good to fix it before. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21259 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-10-29changelog for bigon's changesSimon McVittie1-0/+8
2013-10-29debian/copyright: list copyright holders and minor licenses (Closes: #726000)Simon McVittie2-214/+397
2013-10-29debian/rules: FTBFS if new symbols or libraries are added without updating ↵Simon McVittie2-1/+3
the symbols file
2013-10-28Use tabs instead of white spaceLaurent Bigonville1-12/+12
Use tabs instead of white space to be coherent with the rest of the file
2013-10-28debian/rules: Re-add udeb_configure_flags that was lost during mergeLaurent Bigonville1-0/+14
2013-10-23dbus-spawn: correct a comment that falsely claimed thread-safetySimon McVittie1-3/+8
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=60859 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
2013-10-23_dbus_spawn_async_with_babysitter: correct documentationSimon McVittie1-1/+1
env is used as you'd expect now. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=60859 Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
2013-10-23Merge branch 'dbus-1.6'Simon McVittie1-1/+29
2013-10-23path_namespace='/' should match everythingSimon McVittie1-1/+29
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70799 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Reviewed-by: Ryan Lortie <desrt@desrt.ca>
2013-10-12releasedebian/1.7.6-2Simon McVittie1-2/+2
2013-10-12Merge branch 'master' into experimentalSimon McVittie7-2/+66
Conflicts: Makefile.in bus/Makefile.in configure dbus/Makefile.in debian/changelog debian/gbp.conf debian/rules doc/Makefile.in test/Makefile.in test/name-test/Makefile.in tools/Makefile.in
2013-10-12debian/copyright: list copyright holders and minor licenses (Closes: #726000)Simon McVittie2-214/+397
2013-10-10$(in_data) is meant to contain the .in filesSimon McVittie1-1/+1
Reviewed-by: Colin Walters
2013-10-10test: Update build for previous commitColin Walters1-1/+1
It should now be in in_data so we find it in $(srcdir).
2013-10-10Use TEST_LISTEN in incoming-listen.conf.in instead of unix only hardcoded ↵Ralf Habacker2-1/+2
address Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68506 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-10-10start dbus-specification 0.23Simon McVittie1-2/+10
2013-10-10Run `update-rc.d dbus defaults` instead of deprecated `update-rc.d dbus ↵Simon McVittie2-1/+8
start ...` (Closes: #725923)
2013-10-09start 1.7.8Simon McVittie2-1/+6
2013-10-09debian/rules: FTBFS if new symbols or libraries are added without updating ↵Simon McVittie2-1/+8
the symbols file
2013-10-09update symbolsdebian/1.7.6-1Simon McVittie2-1/+3
2013-10-09New upstream development releaseSimon McVittie1-1/+2
2013-10-09Merge tag 'upstream/1.7.6' into experimentalSimon McVittie159-3310/+4966
Upstream version 1.7.6
2013-10-09Imported Upstream version 1.7.6upstream/1.7.6Simon McVittie159-3310/+4966
2013-10-09Standards-Version: 3.9.4 (no changes needed)Simon McVittie2-1/+7