chiark / gitweb /
elogind.git
6 years agocore: Forgot to dereference pointer when checking for NULL
Stefan Beller [Sun, 29 Dec 2013 23:18:39 +0000 (00:18 +0100)]
core: Forgot to dereference pointer when checking for NULL

Actually we already checked for !rt before, now we'd like to examine
the return value of the memory allocation.

6 years agoman: expand on some more subtle points in systemd.socket(5)
Zbigniew Jędrzejewski-Szmek [Mon, 30 Dec 2013 05:11:30 +0000 (00:11 -0500)]
man: expand on some more subtle points in systemd.socket(5)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727708#1694

6 years agosystemd-python: fix listen_fds under Python 2
Zbigniew Jędrzejewski-Szmek [Mon, 30 Dec 2013 05:01:00 +0000 (00:01 -0500)]
systemd-python: fix listen_fds under Python 2

6 years agosystemd-python: fix setting of exception codes
Zbigniew Jędrzejewski-Szmek [Mon, 30 Dec 2013 04:39:28 +0000 (23:39 -0500)]
systemd-python: fix setting of exception codes

The return value of 0 would be treated as failure by mistake,
resulting in " SystemError: error return without exception set".
The way that set_error() is used is changed to be the same
everywhere.

6 years agoacticate: rename --environment to --setenv
Zbigniew Jędrzejewski-Szmek [Sun, 29 Dec 2013 19:56:09 +0000 (14:56 -0500)]
acticate: rename --environment to --setenv

Nspawn has --setenv, and systemd itself accepts systemd.setenv.
It is nice to have the same parameter name everywhere.

Old name is accepted, but not advertised.

6 years agoudev: LOG_PRIORITY -> LOG_LEVEL
Kay Sievers [Sun, 29 Dec 2013 17:05:25 +0000 (18:05 +0100)]
udev: LOG_PRIORITY -> LOG_LEVEL

6 years agoautogen: add shortcut for running scan-build
Thomas Hindoe Paaboel Andersen [Fri, 27 Dec 2013 20:57:12 +0000 (21:57 +0100)]
autogen: add shortcut for running scan-build

scan-build is a static analyzer in llvm. As ususal static analyzers
tend to mostly find theoretical bugs in software that has been in
production for a while. For in-development code it can be useful to
check if new issues is added as there is a chance to spot real problems
before release. For systemd we are now down to 297 issues - the vast
majority are false positives because the tool does not understand the
cleanup attribute.

Running clang's static analyzer scan-build is a bit messy. You have to
run both configure and make "inside" the build-scan tool. To have an
easy shortcut from autogen.sh I thus call both directly from it. This
makes it different from the other options in autogen.sh. I chose 's'
for static analysis.

scan-build is in the package clang-analyzer on fedora.

6 years agoautogen: add shortcut for building with clang
Thomas Hindoe Paaboel Andersen [Fri, 27 Dec 2013 20:54:48 +0000 (21:54 +0100)]
autogen: add shortcut for building with clang

For a while I have been cleaning up warnings when building with clang.
There are currently only two sources of warnings left: Wcast-align and Wgnu.
I am not convinced that fixing up those up is feasible so I run with them
disabled to spot regressions. E.g. clang is a bit more strict wrt to unused
variables with the cleanup attribute and I have fixed a number of those since.

Like the other options in autogen.sh I have a shortcut for clang as well. I use
'l' for llvm.

6 years agogitignore: add back user@.service
Marc-Antoine Perennou [Sat, 28 Dec 2013 04:54:19 +0000 (13:54 +0900)]
gitignore: add back user@.service

6 years agobus: fix a couple of format string mistakes
Lennart Poettering [Sat, 28 Dec 2013 14:05:45 +0000 (15:05 +0100)]
bus: fix a couple of format string mistakes

6 years agobus: driverd; add missing format string parameter
Marc-Antoine Perennou [Sat, 28 Dec 2013 04:54:16 +0000 (13:54 +0900)]
bus: driverd; add missing format string parameter

This was causing a nasty coredump

6 years agobus: correct a number of gcc format string attribute usages
Lennart Poettering [Sat, 28 Dec 2013 13:39:12 +0000 (14:39 +0100)]
bus: correct a number of gcc format string attribute usages

6 years agoman: include autoconf snippet in daemon(7)
Michał Górny [Sat, 28 Dec 2013 04:44:27 +0000 (23:44 -0500)]
man: include autoconf snippet in daemon(7)

https://bugs.freedesktop.org/show_bug.cgi?id=40446

6 years agoselinux: Check access vector for enable/disable perm for each unit file
Lubomir Rintel [Fri, 6 Dec 2013 13:05:49 +0000 (14:05 +0100)]
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

6 years agoshared: add simplistic XML parser for usage in the D-Bus policy language compat parser
Lennart Poettering [Sat, 28 Dec 2013 02:03:50 +0000 (03:03 +0100)]
shared: add simplistic XML parser for usage in the D-Bus policy language compat parser

6 years agobus: fix running tests in parallel
Zbigniew Jędrzejewski-Szmek [Fri, 27 Dec 2013 20:48:07 +0000 (15:48 -0500)]
bus: fix running tests in parallel

6 years agoman: add a note about propagating signals
Zbigniew Jędrzejewski-Szmek [Fri, 27 Dec 2013 20:27:24 +0000 (15:27 -0500)]
man: add a note about propagating signals

6 years agohwdb: Update database of Bluetooth company identifiers
Marcel Holtmann [Fri, 27 Dec 2013 17:35:20 +0000 (09:35 -0800)]
hwdb: Update database of Bluetooth company identifiers

6 years agobuild-sys: fix generation of user@.service
Zbigniew Jędrzejewski-Szmek [Fri, 27 Dec 2013 17:08:04 +0000 (12:08 -0500)]
build-sys: fix generation of user@.service

6 years agounits: user@.service: fix user bus path
Mantas Mikulėnas [Fri, 27 Dec 2013 15:10:36 +0000 (17:10 +0200)]
units: user@.service: fix user bus path

6 years agobus: PORTING-DBUS1: fix user bus path
Mantas Mikulėnas [Fri, 27 Dec 2013 08:30:53 +0000 (10:30 +0200)]
bus: PORTING-DBUS1: fix user bus path

6 years agosystemctl: remove unused variable
Thomas Hindoe Paaboel Andersen [Fri, 27 Dec 2013 11:04:00 +0000 (12:04 +0100)]
systemctl: remove unused variable

6 years agobus: PORTING-DBUS1 typo fixes
Thomas Hindoe Paaboel Andersen [Fri, 27 Dec 2013 09:58:35 +0000 (10:58 +0100)]
bus: PORTING-DBUS1 typo fixes

6 years agoman: fix Type= reference v2
Zbigniew Jędrzejewski-Szmek [Fri, 27 Dec 2013 06:18:39 +0000 (01:18 -0500)]
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"

6 years agobus: PORTING-DBUS1 clarify pool size value
Kay Sievers [Fri, 27 Dec 2013 03:08:53 +0000 (04:08 +0100)]
bus: PORTING-DBUS1 clarify pool size value

6 years agobus: PORTING-DBUS1 update
Kay Sievers [Fri, 27 Dec 2013 02:38:38 +0000 (03:38 +0100)]
bus: PORTING-DBUS1 update

6 years agobus: update PORTING-DBUS1
Kay Sievers [Fri, 27 Dec 2013 00:27:43 +0000 (01:27 +0100)]
bus: update PORTING-DBUS1

6 years agobus: actually, the kernel does enforce validity of bus names...
Lennart Poettering [Fri, 27 Dec 2013 00:20:21 +0000 (01:20 +0100)]
bus: actually, the kernel does enforce validity of bus names...

6 years agobus: explain obsoletion of dbus1 .service files
Lennart Poettering [Fri, 27 Dec 2013 00:00:51 +0000 (01:00 +0100)]
bus: explain obsoletion of dbus1 .service files

6 years agobus: refuse invalid names from kbus meta data
Lennart Poettering [Thu, 26 Dec 2013 23:27:43 +0000 (00:27 +0100)]
bus: refuse invalid names from kbus meta data

6 years agobus: add some preliminary docs for porting existing dbus1 client libraries to kdbus
Lennart Poettering [Thu, 26 Dec 2013 23:26:05 +0000 (00:26 +0100)]
bus: add some preliminary docs for porting existing dbus1 client libraries to kdbus

6 years agobus: update kdbus.h
Kay Sievers [Thu, 26 Dec 2013 21:03:18 +0000 (22:03 +0100)]
bus: update kdbus.h

6 years agoman: fix Type= reference
Marcos Felipe Rasia de Mello [Thu, 26 Dec 2013 19:47:57 +0000 (17:47 -0200)]
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

6 years agoUse enums to make it obvious what boolean params mean
Zbigniew Jędrzejewski-Szmek [Thu, 26 Dec 2013 20:30:22 +0000 (15:30 -0500)]
Use enums to make it obvious what boolean params mean

Suggested-by: Russ Allbery <rra@debian.org>
6 years agosystemctl: allow globbing in commands which take multiple unit names
Zbigniew Jędrzejewski-Szmek [Wed, 25 Dec 2013 23:10:18 +0000 (18:10 -0500)]
systemctl: allow globbing in commands which take multiple unit names

6 years agosystemctl: drop uninteresting units immediately
Zbigniew Jędrzejewski-Szmek [Wed, 25 Dec 2013 05:11:51 +0000 (00:11 -0500)]
systemctl: drop uninteresting units immediately

Also properly free memory if list-unit-files --root=... is used.

6 years agosystemctl: simplify start_unit
Zbigniew Jędrzejewski-Szmek [Wed, 25 Dec 2013 04:55:43 +0000 (23:55 -0500)]
systemctl: simplify start_unit

6 years agoman: fix description of is-enabled returned value
Zbigniew Jędrzejewski-Szmek [Wed, 25 Dec 2013 03:57:15 +0000 (22:57 -0500)]
man: fix description of is-enabled returned value

6 years agobus: add a temporary hard-coded policy to proxyd to make gdm work
Lennart Poettering [Thu, 26 Dec 2013 15:07:38 +0000 (16:07 +0100)]
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.

6 years agobus: always show messages we send
Lennart Poettering [Thu, 26 Dec 2013 14:24:58 +0000 (15:24 +0100)]
bus: always show messages we send

6 years agoman: document fail/nofail, auto/noauto
Zbigniew Jędrzejewski-Szmek [Thu, 26 Dec 2013 04:20:57 +0000 (23:20 -0500)]
man: document fail/nofail, auto/noauto

Also s/filesystem/file system/ in a few places.

6 years agoTrim TODO
Zbigniew Jędrzejewski-Szmek [Thu, 26 Dec 2013 03:53:09 +0000 (22:53 -0500)]
Trim TODO

6 years agoman: grammar and wording improvements
Jan Engelhardt [Thu, 26 Dec 2013 01:47:45 +0000 (02:47 +0100)]
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.

6 years agoman: improvements to comma placement
Jan Engelhardt [Thu, 26 Dec 2013 01:47:44 +0000 (02:47 +0100)]
man: improvements to comma placement

This is a recurring submission and includes corrections to:
comma placement.

6 years agoman: resolve word omissions
Jan Engelhardt [Thu, 26 Dec 2013 01:47:43 +0000 (02:47 +0100)]
man: resolve word omissions

This is a recurring submission and includes corrections to:
word omissions and word class choice.

6 years agobus: don't process Peer interface messages in the proxy
Lennart Poettering [Thu, 26 Dec 2013 02:08:52 +0000 (03:08 +0100)]
bus: don't process Peer interface messages in the proxy

6 years agoupdate TODO
Lennart Poettering [Thu, 26 Dec 2013 02:08:35 +0000 (03:08 +0100)]
update TODO

6 years agobus: make system bus kdbus node world-accessible
Lennart Poettering [Thu, 26 Dec 2013 02:08:15 +0000 (03:08 +0100)]
bus: make system bus kdbus node world-accessible

6 years agojournalctl: make sure -b --foobar cannot be misunderstood as --boot=--foobar
Lennart Poettering [Thu, 26 Dec 2013 00:52:01 +0000 (01:52 +0100)]
journalctl: make sure -b --foobar cannot be misunderstood as --boot=--foobar

6 years agoRevert "completion: don't offer completions for journalctl -b"
Lennart Poettering [Wed, 25 Dec 2013 18:17:14 +0000 (19:17 +0100)]
Revert "completion: don't offer completions for journalctl -b"

This reverts commit c756a6d57cdb678b702c68913dae3e11ff0427ae.

6 years agoRevert "journalctl: remove unexpected behavior of journalctl -b"
Lennart Poettering [Wed, 25 Dec 2013 18:17:10 +0000 (19:17 +0100)]
Revert "journalctl: remove unexpected behavior of journalctl -b"

This reverts commit cf5bccc2bb9569030cb04debbc4208aaca0fe5b4.

We should fix thinks properly if they aren't perfect, not just break
other things...

6 years agobuild-sys: minor fixes found with cppcheck
Lennart Poettering [Wed, 25 Dec 2013 18:00:12 +0000 (19:00 +0100)]
build-sys: minor fixes found with cppcheck

6 years agobuild-sys: the pure/const warning options are probably too much as default, but let...
Lennart Poettering [Wed, 25 Dec 2013 17:34:44 +0000 (18:34 +0100)]
build-sys: the pure/const warning options are probably too much as default, but let's make it available via "autogen.sh a"

6 years agocompletion: don't offer completions for journalctl -b
Dave Reisner [Wed, 25 Dec 2013 17:58:37 +0000 (12:58 -0500)]
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.

6 years agojournalctl: remove unexpected behavior of journalctl -b
Dave Reisner [Wed, 25 Dec 2013 17:24:19 +0000 (12:24 -0500)]
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.

6 years agobus: add a bit of pure/const decorators
Lennart Poettering [Wed, 25 Dec 2013 17:26:51 +0000 (18:26 +0100)]
bus: add a bit of pure/const decorators

6 years agoman: add missing sd_bus_message_get_cookie man page fie
Lennart Poettering [Wed, 25 Dec 2013 17:05:48 +0000 (18:05 +0100)]
man: add missing sd_bus_message_get_cookie man page fie

6 years agoman: document sd_bus_message_get_cookie()
Lennart Poettering [Wed, 25 Dec 2013 17:03:05 +0000 (18:03 +0100)]
man: document sd_bus_message_get_cookie()

6 years agobus: rename message "serial" to "cookie"
Lennart Poettering [Wed, 25 Dec 2013 16:46:45 +0000 (17:46 +0100)]
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.

6 years agobus: conditionally set cookie_reply/timeout and update kdbus.h
Kay Sievers [Wed, 25 Dec 2013 15:42:50 +0000 (16:42 +0100)]
bus: conditionally set cookie_reply/timeout and update kdbus.h

6 years agobus: update kdbus.h
Kay Sievers [Wed, 25 Dec 2013 04:45:43 +0000 (05:45 +0100)]
bus: update kdbus.h

6 years agobus: set cookie_reply and update kdbus.h
Kay Sievers [Wed, 25 Dec 2013 04:02:58 +0000 (05:02 +0100)]
bus: set cookie_reply and update kdbus.h

6 years agobus: also write debug logs about messages we send
Lennart Poettering [Wed, 25 Dec 2013 02:09:09 +0000 (03:09 +0100)]
bus: also write debug logs about messages we send

6 years agobus: be a bit more verbose when debug mode is on
Lennart Poettering [Wed, 25 Dec 2013 01:13:50 +0000 (02:13 +0100)]
bus: be a bit more verbose when debug mode is on

6 years agoshared: fix getpeername_pretty() for AF_UNIX sockets
Lennart Poettering [Tue, 24 Dec 2013 20:24:06 +0000 (21:24 +0100)]
shared: fix getpeername_pretty() for AF_UNIX sockets

6 years agounit: include peer identity in description of per-connection socket-activated services
Lennart Poettering [Tue, 24 Dec 2013 20:18:21 +0000 (21:18 +0100)]
unit: include peer identity in description of per-connection socket-activated services

6 years agosleep-config: fix useless check for swapfile type
Dave Reisner [Tue, 24 Dec 2013 21:42:06 +0000 (16:42 -0500)]
sleep-config: fix useless check for swapfile type

Since 0c6f1f4ea49 the check was useless, because the kernel will
ever only write "partition" or "file" there.

OTOH, it is possible that "\\040(deleted)" (escaped " (deleted)")
will be added for removed files. This should not happen, so add
a warning to detect those cases.

6 years agotmpfiles: introduce the concept of unsafe operations
Zbigniew Jędrzejewski-Szmek [Sat, 21 Dec 2013 01:25:39 +0000 (20:25 -0500)]
tmpfiles: introduce the concept of unsafe operations

Various operations done by systemd-tmpfiles may only be safely done at
boot (e.g. removal of X lockfiles in /tmp, creation of /run/nologin).
Other operations may be done at any point in time (e.g. setting the
ownership on /{run,var}/log/journal). This distinction is largely
orthogonal to the type of operation.

A new switch --unsafe is added, and operations which should only be
executed during bootup are marked with an exclamation mark in the
configuration files. systemd-tmpfiles.service is modified to use this
switch, and guards are added so it is hard to re-start it by mistake.

If we install a new version of systemd, we actually want to enforce
some changes to tmpfiles configuration immediately. This should now be
possible to do safely, so distribution packages can be modified to
execute the "safe" subset at package installation time.

/run/nologin creation is split out into a separate service, to make it
easy to override.

https://bugzilla.redhat.com/show_bug.cgi?id=1043212
https://bugzilla.redhat.com/show_bug.cgi?id=1045849

6 years agoman,units: tmpfiles.d(5) cleanup
Zbigniew Jędrzejewski-Szmek [Tue, 24 Dec 2013 15:21:45 +0000 (10:21 -0500)]
man,units: tmpfiles.d(5) cleanup

Condition for /lib (necessary for split /usr) was missing from the unit.

Some changes which were done in tmpfiles.d(5) were not carried over to
systemd-tmpfiles(1).

Also use markup where possible.

6 years agobus: properly shift cgroup data returned from kdbus by the container's root before...
Lennart Poettering [Tue, 24 Dec 2013 18:31:44 +0000 (19:31 +0100)]
bus: properly shift cgroup data returned from kdbus by the container's root before parsing

6 years agobus: fix return message if StartServiceByName() in the driver fails due
Lennart Poettering [Tue, 24 Dec 2013 17:42:38 +0000 (18:42 +0100)]
bus: fix return message if StartServiceByName() in the driver fails due
to non-existing service

6 years agobusctl: show service/session a name belongs to in the list of names
Lennart Poettering [Tue, 24 Dec 2013 17:15:38 +0000 (18:15 +0100)]
busctl: show service/session a name belongs to in the list of names

Also, don't show machine name by default as this might cause timeouts on
non-responding peers.

6 years agolog: log_error() and friends add a newline after each line anyway, so avoid including...
Lennart Poettering [Tue, 24 Dec 2013 15:39:37 +0000 (16:39 +0100)]
log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings

6 years agoutil: don't accept an empty peer label as valid
Lennart Poettering [Tue, 24 Dec 2013 15:21:59 +0000 (16:21 +0100)]
util: don't accept an empty peer label as valid

6 years agobus: only accept kdbus creds if they are valid
Lennart Poettering [Tue, 24 Dec 2013 15:20:47 +0000 (16:20 +0100)]
bus: only accept kdbus creds if they are valid

This allows userspace to fake kdbus creds via struct ucred in the proxy,
without making the recieving side choke on the missing fields of the
kdbus struct, more precisel pid_starttime and tid

6 years agoutil: unify SO_PEERCRED/SO_PEERSEC invocations
Lennart Poettering [Tue, 24 Dec 2013 14:53:04 +0000 (15:53 +0100)]
util: unify SO_PEERCRED/SO_PEERSEC invocations

Introduce new call getpeercred() which internally just uses SO_PEERCRED
but checks if the returned data is actually useful due to namespace
quirks.

6 years agobus: fix hello ioctl buffer size calculation
Lennart Poettering [Tue, 24 Dec 2013 14:38:30 +0000 (15:38 +0100)]
bus: fix hello ioctl buffer size calculation

6 years agobus: make gcc shut up
Lennart Poettering [Tue, 24 Dec 2013 14:33:02 +0000 (15:33 +0100)]
bus: make gcc shut up

6 years agobus: fake client side creds in the proxy to the caller's creds
Lennart Poettering [Tue, 24 Dec 2013 14:03:32 +0000 (15:03 +0100)]
bus: fake client side creds in the proxy to the caller's creds

6 years agohwdb: Add SDIO product ID for Marvell SD8897 WLAN function
Marcel Holtmann [Tue, 24 Dec 2013 03:04:19 +0000 (19:04 -0800)]
hwdb: Add SDIO product ID for Marvell SD8897 WLAN function

6 years agobus: allow peeking signatures recusively inside of containers
Lennart Poettering [Tue, 24 Dec 2013 02:02:49 +0000 (03:02 +0100)]
bus: allow peeking signatures recusively inside of containers

Previously we invalidated the peeked signature as soon as the caller
would recurse into a container, making stack based handling difficult.
With this change we will keep the peeked signature around until the user
advances to the next field.

6 years agoupdate TODO
Lennart Poettering [Tue, 24 Dec 2013 01:57:17 +0000 (02:57 +0100)]
update TODO

6 years agobus: fix assert when serializing fixed size struct to gvariant
Lennart Poettering [Mon, 23 Dec 2013 22:48:30 +0000 (23:48 +0100)]
bus: fix assert when serializing fixed size struct to gvariant

6 years agobus: don't attach KDBUS_ITEM_ID to match ioctl() if we don't need it
Lennart Poettering [Mon, 23 Dec 2013 21:32:33 +0000 (22:32 +0100)]
bus: don't attach KDBUS_ITEM_ID to match ioctl() if we don't need it

6 years agobus: fix sender match creation on kdbus
Lennart Poettering [Mon, 23 Dec 2013 20:55:27 +0000 (21:55 +0100)]
bus: fix sender match creation on kdbus

6 years agosd-event: make sd_event_add_signal() fail with EBUSY if signal is not blocked
Lennart Poettering [Mon, 23 Dec 2013 20:44:20 +0000 (21:44 +0100)]
sd-event: make sd_event_add_signal() fail with EBUSY if signal is not blocked

6 years agocore: when we close the notify fd, we also need to free its event source
Lennart Poettering [Mon, 23 Dec 2013 20:01:32 +0000 (21:01 +0100)]
core: when we close the notify fd, we also need to free its event source

6 years agounits: systemd-machined now exits on idle and we shouldn't try to restart it then
Lennart Poettering [Mon, 23 Dec 2013 19:37:03 +0000 (20:37 +0100)]
units: systemd-machined now exits on idle and we shouldn't try to restart it then

6 years agounits: limit caps for bus proxyd and driverd services
Lennart Poettering [Mon, 23 Dec 2013 19:37:00 +0000 (20:37 +0100)]
units: limit caps for bus proxyd and driverd services

6 years agosd-event: fix return code of sd_event_run()
Lennart Poettering [Mon, 23 Dec 2013 19:22:33 +0000 (20:22 +0100)]
sd-event: fix return code of sd_event_run()

6 years agomachinectl: fix success check when getting pty from within container
Lennart Poettering [Mon, 23 Dec 2013 18:15:43 +0000 (19:15 +0100)]
machinectl: fix success check when getting pty from within container

6 years agobus-proxyd: init cleanup variable
Kay Sievers [Mon, 23 Dec 2013 18:16:49 +0000 (19:16 +0100)]
bus-proxyd: init cleanup variable

6 years agobus: update kdbus.h
Kay Sievers [Mon, 23 Dec 2013 18:14:24 +0000 (19:14 +0100)]
bus: update kdbus.h

6 years agobus: when getting a kdbus connection into a container wait first for child, then...
Lennart Poettering [Mon, 23 Dec 2013 18:10:11 +0000 (19:10 +0100)]
bus: when getting a kdbus connection into a container wait first for child, then read message

There's no EOF generated for AF_UNIX/SOCK_DGRAM sockets, hence let's
wait for the child first to see if it succeeded, only then read the socket.

6 years agobus: when we are connected to a bus, then do not assume peer creds are useful as...
Lennart Poettering [Mon, 23 Dec 2013 17:56:37 +0000 (18:56 +0100)]
bus: when we are connected to a bus, then do not assume peer creds are useful as message creds

6 years agoutil: when we try to read /proc/cmdline in a container, read /proc/1/cmdline instead
Lennart Poettering [Mon, 23 Dec 2013 17:10:57 +0000 (18:10 +0100)]
util: when we try to read /proc/cmdline in a container, read /proc/1/cmdline instead

6 years agolog: als turn on debug logging in non-PID1 if /proc/cmdline contains "debug"
Lennart Poettering [Mon, 23 Dec 2013 16:56:44 +0000 (17:56 +0100)]
log: als turn on debug logging in non-PID1 if /proc/cmdline contains "debug"

6 years agobus: make sure sd_bus_emit_properties_changed_strv() doesn't return ENOENT if no...
Lennart Poettering [Mon, 23 Dec 2013 16:30:21 +0000 (17:30 +0100)]
bus: make sure sd_bus_emit_properties_changed_strv() doesn't return ENOENT if no properties with a change flag are in the interface

6 years agobus: write debug message when we get a method call we cannot handle
Lennart Poettering [Mon, 23 Dec 2013 16:18:30 +0000 (17:18 +0100)]
bus: write debug message when we get a method call we cannot handle

6 years agodelta: if prefix is specified, only show overrides there
Zbigniew Jędrzejewski-Szmek [Mon, 23 Dec 2013 03:53:23 +0000 (22:53 -0500)]
delta: if prefix is specified, only show overrides there

systemd-delta /run/systemd/system will show all unit overrides
in /run, etc.