Commit graph

13848 commits

Author SHA1 Message Date
Marc-Antoine Perennou 63b575175e bus: driverd; add missing format string parameter
This was causing a nasty coredump
2013-12-28 15:09:26 +01:00
Lennart Poettering 62ae757009 bus: correct a number of gcc format string attribute usages 2013-12-28 15:09:26 +01:00
Michał Górny 5486855f7d man: include autoconf snippet in daemon(7)
https://bugs.freedesktop.org/show_bug.cgi?id=40446
2013-12-27 23:45:24 -05:00
Lubomir Rintel 4f7385fa49 selinux: Check access vector for enable/disable perm for each unit file
SELinux check will be done using the context of the unit file as as a
target instead of the default init_t context, allowing selinux control
on the level of individual units.

https://bugzilla.redhat.com/show_bug.cgi?id=1022762
2013-12-27 22:40:43 -05:00
Lennart Poettering 08bcebf36e shared: add simplistic XML parser for usage in the D-Bus policy language compat parser 2013-12-28 03:04:29 +01:00
Zbigniew Jędrzejewski-Szmek 79ccff06c1 bus: fix running tests in parallel 2013-12-27 15:48:15 -05:00
Zbigniew Jędrzejewski-Szmek a9a305332b man: add a note about propagating signals 2013-12-27 15:28:26 -05:00
Marcel Holtmann c4a3a17ee9 hwdb: Update database of Bluetooth company identifiers 2013-12-27 09:35:20 -08:00
Zbigniew Jędrzejewski-Szmek 4acbce7979 build-sys: fix generation of user@.service 2013-12-27 12:12:41 -05:00
Mantas Mikulėnas 3dc9f55d6e units: user@.service: fix user bus path 2013-12-27 12:12:41 -05:00
Mantas Mikulėnas e9b1d28de3 bus: PORTING-DBUS1: fix user bus path 2013-12-27 17:42:15 +01:00
Thomas Hindoe Paaboel Andersen 984af580b3 systemctl: remove unused variable 2013-12-27 12:04:00 +01:00
Thomas Hindoe Paaboel Andersen f000939e3b bus: PORTING-DBUS1 typo fixes 2013-12-27 11:04:47 +01:00
Zbigniew Jędrzejewski-Szmek 12b25f3001 man: fix Type= reference v2
grawity:

  It looks like the old version _was_ correct – the default value will
  be "Type=dbus" if the service has a BusName set.

  Suggested change: "if neither Type= nor BusName= is specified"
2013-12-27 01:20:33 -05:00
Kay Sievers 0a6de11527 bus: PORTING-DBUS1 clarify pool size value 2013-12-27 04:08:53 +01:00
Kay Sievers 061eab675e bus: PORTING-DBUS1 update 2013-12-27 03:38:38 +01:00
Kay Sievers 6206f4b49d bus: update PORTING-DBUS1 2013-12-27 01:28:34 +01:00
Lennart Poettering 3e8ba0b815 bus: actually, the kernel does enforce validity of bus names... 2013-12-27 01:20:21 +01:00
Lennart Poettering 9129246ba5 bus: explain obsoletion of dbus1 .service files 2013-12-27 01:00:51 +01:00
Lennart Poettering 2e2ec0eaa6 bus: refuse invalid names from kbus meta data 2013-12-27 00:28:22 +01:00
Lennart Poettering 0058679911 bus: add some preliminary docs for porting existing dbus1 client libraries to kdbus 2013-12-27 00:28:22 +01:00
Kay Sievers 81efa1da64 bus: update kdbus.h 2013-12-26 22:06:14 +01:00
Marcos Felipe Rasia de Mello 3d2df82d61 man: fix Type= reference
Simple man page fix attached.

--
Marcos

From 268d10a2f8769fd1dcb9440670af15ac02c5df89 Mon Sep 17 00:00:00 2001
From: Marcos Mello <marcosfrm@gmail.com>
Date: Thu, 26 Dec 2013 17:19:04 -0200
Subject: [PATCH 1/1] man: fix Type= reference
2013-12-26 16:01:28 -05:00
Zbigniew Jędrzejewski-Szmek f78e6385dc Use enums to make it obvious what boolean params mean
Suggested-by: Russ Allbery <rra@debian.org>
2013-12-26 15:49:54 -05:00
Zbigniew Jędrzejewski-Szmek e3e0314b56 systemctl: allow globbing in commands which take multiple unit names 2013-12-26 13:24:36 -05:00
Zbigniew Jędrzejewski-Szmek 8d5ba5a946 systemctl: drop uninteresting units immediately
Also properly free memory if list-unit-files --root=... is used.
2013-12-26 11:24:42 -05:00
Zbigniew Jędrzejewski-Szmek b652054662 systemctl: simplify start_unit 2013-12-26 11:24:42 -05:00
Zbigniew Jędrzejewski-Szmek 91f0ac7d40 man: fix description of is-enabled returned value 2013-12-26 11:24:42 -05:00
Lennart Poettering c2595875c6 bus: add a temporary hard-coded policy to proxyd to make gdm work
gdm relies on the policy to deny its own requests to not deadlock. Given
that we currently do not enforce any policy in the dbus1 compat proxy
service this means that gdm will necessarily deadlock on our systems.

To work around this, enforce a fixed policy teomporarily, until we
interpret the legacy XML policy in full.

Booh, gdm, booh, for requring this and making me waste two days on
tracking this brokenness down.
2013-12-26 17:16:56 +01:00
Lennart Poettering 90911bb63e bus: always show messages we send 2013-12-26 17:16:56 +01:00
Zbigniew Jędrzejewski-Szmek 72ebbf3450 man: document fail/nofail, auto/noauto
Also s/filesystem/file system/ in a few places.
2013-12-25 23:22:05 -05:00
Zbigniew Jędrzejewski-Szmek 8b8f259170 Trim TODO 2013-12-25 22:53:46 -05:00
Jan Engelhardt e0e009c067 man: grammar and wording improvements
This is a recurring submission and includes corrections to:
- missing words, preposition choice.
- change of /lib to /usr/lib, because that is what most distros are
  using as the system-wide location for systemd/udev files.
2013-12-25 22:53:46 -05:00
Jan Engelhardt b040723ea4 man: improvements to comma placement
This is a recurring submission and includes corrections to:
comma placement.
2013-12-25 22:53:46 -05:00
Jan Engelhardt 494a668218 man: resolve word omissions
This is a recurring submission and includes corrections to:
word omissions and word class choice.
2013-12-25 22:53:45 -05:00
Lennart Poettering 758bf0c755 bus: don't process Peer interface messages in the proxy 2013-12-26 03:08:52 +01:00
Lennart Poettering 452de75e5b update TODO 2013-12-26 03:08:35 +01:00
Lennart Poettering f2769777c8 bus: make system bus kdbus node world-accessible 2013-12-26 03:08:15 +01:00
Lennart Poettering 442e2def79 journalctl: make sure -b --foobar cannot be misunderstood as --boot=--foobar 2013-12-26 01:53:07 +01:00
Lennart Poettering b68b76897a Revert "completion: don't offer completions for journalctl -b"
This reverts commit c756a6d57c.
2013-12-26 01:53:07 +01:00
Lennart Poettering 6cebe83cfa Revert "journalctl: remove unexpected behavior of journalctl -b"
This reverts commit cf5bccc2bb.

We should fix thinks properly if they aren't perfect, not just break
other things...
2013-12-26 01:52:45 +01:00
Lennart Poettering 43a99a7afe build-sys: minor fixes found with cppcheck 2013-12-25 19:00:38 +01:00
Lennart Poettering 25ad866460 build-sys: the pure/const warning options are probably too much as default, but let's make it available via "autogen.sh a" 2013-12-25 19:00:38 +01:00
Dave Reisner c756a6d57c completion: don't offer completions for journalctl -b
Since this is a shortopt with an optional argument, assume the user
knows what they're doing. The longopts --boot and --this-boot will
continue to offer boot IDs as completions.
2013-12-25 12:58:37 -05:00
Dave Reisner cf5bccc2bb journalctl: remove unexpected behavior of journalctl -b
This flag shouldn't try and consume the following argument. It should
behave like every other flag which takes an optional argument when
parsed by getopt_long.
2013-12-25 12:39:47 -05:00
Lennart Poettering 0ce036ce7f bus: add a bit of pure/const decorators 2013-12-25 18:26:51 +01:00
Lennart Poettering 99e0f83e0b man: add missing sd_bus_message_get_cookie man page fie 2013-12-25 18:05:48 +01:00
Lennart Poettering d9416f8a82 man: document sd_bus_message_get_cookie() 2013-12-25 18:04:04 +01:00
Lennart Poettering 693eb9a2d4 bus: rename message "serial" to "cookie"
Even if the lower-leveld dbus1 protocol calls it "serial", let's expose
the word "cookie" for this instead, as this is what kdbus uses and since
it doesn't imply monotonicity the same way "serial" does.
2013-12-25 18:04:04 +01:00
Kay Sievers 80a33f113b bus: conditionally set cookie_reply/timeout and update kdbus.h 2013-12-25 16:42:50 +01:00