chiark / gitweb /
elogind.git
7 years agolocalectl: always print error message when an operation fails
Lennart Poettering [Thu, 31 Oct 2013 02:12:37 +0000 (03:12 +0100)]
localectl: always print error message when an operation fails

7 years agotimedatectl: do not print the time zone for the rtc time
Kay Sievers [Thu, 31 Oct 2013 02:04:07 +0000 (03:04 +0100)]
timedatectl: do not print the time zone for the rtc time

7 years agotimedatectl: assorted simplifications
Lennart Poettering [Thu, 31 Oct 2013 02:02:49 +0000 (03:02 +0100)]
timedatectl: assorted simplifications

7 years agotimedatectl: get time values from the service instead of the client
Kay Sievers [Thu, 31 Oct 2013 01:26:07 +0000 (02:26 +0100)]
timedatectl: get time values from the service instead of the client

This allow querying the RTC time from the unprivileged timedatectl.

7 years agomachinectl: add new command to spawn a getty inside a container
Lennart Poettering [Thu, 31 Oct 2013 00:25:44 +0000 (01:25 +0100)]
machinectl: add new command to spawn a getty inside a container

7 years agogetty-generator: modernizations
Lennart Poettering [Wed, 30 Oct 2013 19:19:22 +0000 (20:19 +0100)]
getty-generator: modernizations

7 years agonspawn: split out pty forwaring logic into ptyfwd.c
Lennart Poettering [Wed, 30 Oct 2013 17:58:59 +0000 (18:58 +0100)]
nspawn: split out pty forwaring logic into ptyfwd.c

7 years agobus-util: avoid infinite loop
Tom Gundersen [Wed, 30 Oct 2013 22:21:46 +0000 (23:21 +0100)]
bus-util: avoid infinite loop

7 years agolocalectl: remove unused 'P' arg
Thomas Hindoe Paaboel Andersen [Wed, 30 Oct 2013 22:13:25 +0000 (23:13 +0100)]
localectl: remove unused 'P' arg

7 years agolocalectl: port to libsystemd-bus
Kay Sievers [Wed, 30 Oct 2013 21:50:09 +0000 (22:50 +0100)]
localectl: port to libsystemd-bus

7 years agotimedatectl: port to sd-bus
Thomas Hindoe Paaboel Andersen [Wed, 30 Oct 2013 20:13:46 +0000 (21:13 +0100)]
timedatectl: port to sd-bus

7 years agonspawn: only pass in slice setting if it is set
Lennart Poettering [Wed, 30 Oct 2013 17:40:21 +0000 (18:40 +0100)]
nspawn: only pass in slice setting if it is set

7 years agoutil: when we use path_strv_canonicalize() we must allocate the strv from the heap
Lennart Poettering [Wed, 30 Oct 2013 17:15:38 +0000 (18:15 +0100)]
util: when we use path_strv_canonicalize() we must allocate the strv from the heap

7 years agorun: add support for executing commands remotely via SSH or in a container
Lennart Poettering [Wed, 30 Oct 2013 15:44:55 +0000 (16:44 +0100)]
run: add support for executing commands remotely via SSH or in a container

Also, unify the transport logic a bit, since we reuse the same scheme in
many of our client tools.

7 years agogeneral: various cleanups
Lennart Poettering [Wed, 30 Oct 2013 15:13:21 +0000 (16:13 +0100)]
general: various cleanups

7 years agotimedated: support --enable-split-usr
Dave Reisner [Wed, 30 Oct 2013 15:06:43 +0000 (11:06 -0400)]
timedated: support --enable-split-usr

7 years agolink-config: support --enable-split-usr
Dave Reisner [Wed, 30 Oct 2013 15:00:46 +0000 (11:00 -0400)]
link-config: support --enable-split-usr

7 years agoudev: rules - move parsing error to log_error()
Kay Sievers [Wed, 30 Oct 2013 14:49:46 +0000 (15:49 +0100)]
udev: rules - move parsing error to log_error()

7 years agoudev: config-link - one less log_info
Tom Gundersen [Wed, 30 Oct 2013 14:46:22 +0000 (15:46 +0100)]
udev: config-link - one less log_info

7 years agomachinectl: we don't really just show information, we execute operations
Lennart Poettering [Wed, 30 Oct 2013 14:42:06 +0000 (15:42 +0100)]
machinectl: we don't really just show information, we execute operations

7 years agobus: add API call to create bus connection to the system bus of local containers
Lennart Poettering [Wed, 30 Oct 2013 14:34:50 +0000 (15:34 +0100)]
bus: add API call to create bus connection to the system bus of local containers

Also, add support for this to machinectl, so that we can enumerate the
machines that run inside a container. We must go deeper!

7 years agobus: move ssh support into public API of libsystem-bus
Lennart Poettering [Wed, 30 Oct 2013 12:52:40 +0000 (13:52 +0100)]
bus: move ssh support into public API of libsystem-bus

7 years agolibudev: default log_priority to INFO
Tom Gundersen [Wed, 30 Oct 2013 14:09:01 +0000 (15:09 +0100)]
libudev: default log_priority to INFO

This brings it in sync with the default config file.

7 years agoudev: link-config - less verbose logging
Tom Gundersen [Wed, 30 Oct 2013 13:40:10 +0000 (14:40 +0100)]
udev: link-config - less verbose logging

Also reinstate print to kmsg when renaming netif.

7 years agoudev: link-config - let udevd set the ifname
Tom Gundersen [Wed, 30 Oct 2013 03:10:19 +0000 (04:10 +0100)]
udev: link-config - let udevd set the ifname

7 years agomachinectl: privileged option is gone
Marc-Antoine Perennou [Wed, 30 Oct 2013 03:33:11 +0000 (12:33 +0900)]
machinectl: privileged option is gone

7 years agoudev: ata_id: log faling ioctls as "debug"
Kay Sievers [Wed, 30 Oct 2013 13:34:58 +0000 (14:34 +0100)]
udev: ata_id: log faling ioctls as "debug"

7 years agomachinectl: port to sd-bus
Tom Gundersen [Mon, 12 Aug 2013 12:19:22 +0000 (14:19 +0200)]
machinectl: port to sd-bus

7 years agobuild-sys: remove default CFLAGS assignment
Kay Sievers [Wed, 30 Oct 2013 01:26:29 +0000 (02:26 +0100)]
build-sys: remove default CFLAGS assignment

7 years agobus: fix build
Lennart Poettering [Wed, 30 Oct 2013 01:38:52 +0000 (02:38 +0100)]
bus: fix build

7 years agogit: indicate that tabs are never OK in the systemd tree
Lennart Poettering [Wed, 30 Oct 2013 01:25:38 +0000 (02:25 +0100)]
git: indicate that tabs are never OK in the systemd tree

7 years agomachined: port over to libsystemd-bus
Lennart Poettering [Wed, 30 Oct 2013 01:06:55 +0000 (02:06 +0100)]
machined: port over to libsystemd-bus

7 years agoupdate TODO
Lennart Poettering [Wed, 30 Oct 2013 01:05:49 +0000 (02:05 +0100)]
update TODO

7 years agobus: make sure we can match well-known names
Lennart Poettering [Wed, 30 Oct 2013 01:05:38 +0000 (02:05 +0100)]
bus: make sure we can match well-known names

7 years agoautogen: use -O0 for "autogen.sh c" after all
Lennart Poettering [Wed, 30 Oct 2013 01:04:17 +0000 (02:04 +0100)]
autogen: use -O0 for "autogen.sh c" after all

-Og actually breaks gdb still, so let's stick to -O0 for now, but
introduce "autogen.sh g" for those who don't need gdb.

7 years agobus: it is OK to have signals with multiple parameters
Lennart Poettering [Tue, 29 Oct 2013 20:38:47 +0000 (21:38 +0100)]
bus: it is OK to have signals with multiple parameters

7 years agobus: don't fail if GetAll() is used to get properties of the built-in interfaces
Lennart Poettering [Tue, 29 Oct 2013 20:38:31 +0000 (21:38 +0100)]
bus: don't fail if GetAll() is used to get properties of the built-in interfaces

7 years agobus: make bus message dump output a bit smaller
Lennart Poettering [Tue, 29 Oct 2013 20:37:32 +0000 (21:37 +0100)]
bus: make bus message dump output a bit smaller

7 years agobus: don't include the introspected object in list of subobjects
Lennart Poettering [Tue, 29 Oct 2013 20:37:07 +0000 (21:37 +0100)]
bus: don't include the introspected object in list of subobjects

7 years agoudev: do not allow to change the DEVPATH of a device
Kay Sievers [Wed, 30 Oct 2013 00:57:47 +0000 (01:57 +0100)]
udev: do not allow to change the DEVPATH of a device

7 years agoudev: link-config - reset ctx on exit
Tom Gundersen [Tue, 29 Oct 2013 22:32:00 +0000 (23:32 +0100)]
udev: link-config - reset ctx on exit

7 years agortnl-util: add missing files
Tom Gundersen [Tue, 29 Oct 2013 20:52:22 +0000 (21:52 +0100)]
rtnl-util: add missing files

7 years agoudev-event: use rtnl to set ifname
Tom Gundersen [Tue, 29 Oct 2013 19:03:26 +0000 (20:03 +0100)]
udev-event: use rtnl to set ifname

7 years agortnl: move set_link_properties to rtnl-utils
Tom Gundersen [Tue, 29 Oct 2013 18:55:54 +0000 (19:55 +0100)]
rtnl: move set_link_properties to rtnl-utils

7 years agortnl: fix sockaddr confusion
Tom Gundersen [Tue, 29 Oct 2013 20:20:25 +0000 (21:20 +0100)]
rtnl: fix sockaddr confusion

7 years agostrv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string arrays...
Lennart Poettering [Tue, 29 Oct 2013 19:09:16 +0000 (20:09 +0100)]
strv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string arrays nicely on the fly

7 years agobus: add extra validity checks
Lennart Poettering [Tue, 29 Oct 2013 18:55:37 +0000 (19:55 +0100)]
bus: add extra validity checks

7 years agostrv: introduce new strv_from_stdarg_alloca() macro to generate a string array from...
Lennart Poettering [Tue, 29 Oct 2013 18:53:43 +0000 (19:53 +0100)]
strv: introduce new strv_from_stdarg_alloca() macro to generate a string array from stdarg function parameters

This allows us to turn lists of strings passed in easily into string
arrays without having to allocate memory.

7 years agorc-local: use access(X_OK) to check if files are executable
Lennart Poettering [Tue, 29 Oct 2013 18:34:11 +0000 (19:34 +0100)]
rc-local: use access(X_OK) to check if files are executable

... and other modernizations.

7 years agotimedate: handle more nicely if something or somebody keeps open /dev/rtc and thus...
Lennart Poettering [Tue, 29 Oct 2013 18:31:41 +0000 (19:31 +0100)]
timedate: handle more nicely if something or somebody keeps open /dev/rtc and thus blocks out everybody else

chrony is appears to keep the RTC open continuously these days which is
a bad idea, and /dev/rtc is a single-user device, which is a bad idea
too. Together both bad ideas mean that nobody else can access the RTC
anymore. That's something to fix, but in the meantime we should handle
this more gracefully.

7 years agobus: add a macro to simplify reading of UUIDs
Lennart Poettering [Tue, 29 Oct 2013 18:31:25 +0000 (19:31 +0100)]
bus: add a macro to simplify reading of UUIDs

7 years agobus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API calls
Lennart Poettering [Tue, 29 Oct 2013 18:30:55 +0000 (19:30 +0100)]
bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API calls

7 years agortnl: cleanup socket_read_message
Tom Gundersen [Tue, 29 Oct 2013 16:52:25 +0000 (17:52 +0100)]
rtnl: cleanup socket_read_message

7 years agoudev: link-config - split connection to sockets from loading of configs
Tom Gundersen [Tue, 29 Oct 2013 16:48:58 +0000 (17:48 +0100)]
udev: link-config - split connection to sockets from loading of configs

We want to load the config in _init, but not connect to the sockets before we are forked.

7 years agortnl: complain if used after fork
Tom Gundersen [Tue, 29 Oct 2013 16:38:31 +0000 (17:38 +0100)]
rtnl: complain if used after fork

7 years agortnl: introduce default timeout
Tom Gundersen [Tue, 29 Oct 2013 15:35:37 +0000 (16:35 +0100)]
rtnl: introduce default timeout

We set it to 10 secs (as we are only communicating with the kernel,
it seems we should be able to bail out sooner than sd-bus, which
uses 25).

When passing timout 0, the default is used, use this in link-config.

7 years agoudev: link-config - use safe_atou instead of strtoul
Tom Gundersen [Tue, 29 Oct 2013 15:20:22 +0000 (16:20 +0100)]
udev: link-config - use safe_atou instead of strtoul

7 years agoudev: link-config - use zero instead of memset
Tom Gundersen [Tue, 29 Oct 2013 15:10:54 +0000 (16:10 +0100)]
udev: link-config - use zero instead of memset

7 years agoudev: link-config - use proper return values
Tom Gundersen [Tue, 29 Oct 2013 15:05:27 +0000 (16:05 +0100)]
udev: link-config - use proper return values

Not sure if -ENOENT is the correct return value for when no persistent network
name is set, but couldn't think of anything better.

7 years agoudev: link-config - use new0 instead of calloc
Tom Gundersen [Tue, 29 Oct 2013 14:59:45 +0000 (15:59 +0100)]
udev: link-config - use new0 instead of calloc

7 years agortnl: use malloc0 instead of calloc
Tom Gundersen [Tue, 29 Oct 2013 14:57:54 +0000 (15:57 +0100)]
rtnl: use malloc0 instead of calloc

7 years agortnl: use _cleanup_ macro more
Tom Gundersen [Tue, 29 Oct 2013 14:56:28 +0000 (15:56 +0100)]
rtnl: use _cleanup_ macro more

7 years agoudev: link-config - use _cleanup_ macro locally
Tom Gundersen [Tue, 29 Oct 2013 14:36:26 +0000 (15:36 +0100)]
udev: link-config - use _cleanup_ macro locally

7 years agopath_check_timestamp: only keep the most recent timestamp
Tom Gundersen [Tue, 29 Oct 2013 14:15:53 +0000 (15:15 +0100)]
path_check_timestamp: only keep the most recent timestamp

There is no point in keeping one timestamp for each directory, as we only
ever care about the most recent one.

7 years agosd-rtnl: minor fixes
Tom Gundersen [Tue, 29 Oct 2013 14:03:27 +0000 (15:03 +0100)]
sd-rtnl: minor fixes

7 years agoudev: link-config - add proper parsing
Tom Gundersen [Mon, 28 Oct 2013 19:59:56 +0000 (20:59 +0100)]
udev: link-config - add proper parsing

7 years agoconf-parser: add macro for ENUMV
Tom Gundersen [Tue, 29 Oct 2013 12:03:13 +0000 (13:03 +0100)]
conf-parser: add macro for ENUMV

Parses a whitespace separated list of strings into a vector of enums.

7 years agoudev: builtin - rename net_link to net_setup_link
Tom Gundersen [Mon, 28 Oct 2013 19:20:59 +0000 (20:20 +0100)]
udev: builtin - rename net_link to net_setup_link

Also add shell completions.

7 years agonetwork: move configuration to /etc/systemd/network
Tom Gundersen [Mon, 28 Oct 2013 19:11:10 +0000 (20:11 +0100)]
network: move configuration to /etc/systemd/network

This is private configuraiton, so let's not pollute the namespace (and hence make Debian happy :) ).

7 years agojournalctl: add --list-boots to show boot IDs and times
Zbigniew Jędrzejewski-Szmek [Tue, 29 Oct 2013 03:43:57 +0000 (23:43 -0400)]
journalctl: add --list-boots to show boot IDs and times

Suggested by David Wilkins <dwilkins@maths.tcd.ie> in
https://bugzilla.redhat.com/show_bug.cgi?id=967521:

> [Specific boot ID is a] bit of a palaver to obtain.  I consulted the
> verbose dump of the journal to discover the _BOOT_ID for the
> timestamp, and then generated the journal dump for that boot using
> journalctl _BOOT_ID=foo -o short-monotonic.

7 years agoupdate TODO
Lennart Poettering [Mon, 28 Oct 2013 20:11:51 +0000 (21:11 +0100)]
update TODO

7 years agoUpdate socket proxy name in TODO. Reformat to list.
David Strauss [Mon, 28 Oct 2013 19:48:39 +0000 (12:48 -0700)]
Update socket proxy name in TODO. Reformat to list.

7 years agoudev: don't mix static and dynamic libs
Tom Gundersen [Mon, 28 Oct 2013 17:54:41 +0000 (18:54 +0100)]
udev: don't mix static and dynamic libs

7 years agoudev: link-config - add mac address policy
Tom Gundersen [Sun, 27 Oct 2013 23:19:59 +0000 (00:19 +0100)]
udev: link-config - add mac address policy

This introduces a new key MACAddressPolicy.

The possible policies are 'persistent' and 'random'.

'persistent' will do nothing if the current address is the hardware address,
but if the hardware does not have an address (or another address is set for
whatever reason), we will generate an address which will be random, but
persistent between boots (based on machineid and persistent netif name).

'random' will do nothing if the kernel already set a random address, otherwise
it will generate a random one and use that instead.

This patch sets MACAddressPolicy=persistent in the default .link file.

7 years agokeymap: Fix stuck keys on Lenovo IdeaPad Z370
Martin Pitt [Mon, 28 Oct 2013 11:32:12 +0000 (12:32 +0100)]
keymap: Fix stuck keys on Lenovo IdeaPad Z370

https://launchpad.net/bugs/1245189

7 years agokeymap: Reorder IdeaPad rules
Martin Pitt [Mon, 28 Oct 2013 11:30:47 +0000 (12:30 +0100)]
keymap: Reorder IdeaPad rules

So that they are together in the file.

7 years agoudev: link-config - move naming policy from udev rules
Tom Gundersen [Sun, 27 Oct 2013 23:19:59 +0000 (00:19 +0100)]
udev: link-config - move naming policy from udev rules

This introduces a new key NamePolicy, which takes an ordered list of naming
policies. The first successful one is applide. If all fail the value of Name
(if any) is used.

The possible policies are 'onboard', 'slot', 'path' and 'mac'.

This patch introduces a default link file, which replaces the equivalent udev
rule.

7 years agoudev: link-config - sanity check the ifname and mac address
Tom Gundersen [Sun, 27 Oct 2013 22:09:05 +0000 (23:09 +0100)]
udev: link-config - sanity check the ifname and mac address

7 years agortnl: relax the tests a bit
Tom Gundersen [Sun, 27 Oct 2013 21:45:14 +0000 (22:45 +0100)]
rtnl: relax the tests a bit

It is a bit too optimisitc that this stuff is the same on different hosts.

7 years agoudev: link-config: add rtnl support
Tom Gundersen [Sat, 26 Oct 2013 16:54:16 +0000 (18:54 +0200)]
udev: link-config: add rtnl support

This adds support for setting the mac address, name and mtu.

Example:

[Link]
MTU=1450
MACAddress=98:76:54:32:10:ab
Name=wireless0

7 years agolibsystemd-rtnl: add a rtnetlink library
Tom Gundersen [Mon, 21 Oct 2013 18:12:52 +0000 (19:12 +0100)]
libsystemd-rtnl: add a rtnetlink library

This is intentionally as similar to sd-bus as possible. While it
would be simple to export it, the intentions is to keep this
internal (at least for the forseeable future).

Currently only synchronous communication is implemented

7 years agotest-strv.c: added STRV_FOREACH and STRV_FOREACH_BACKWARDS
Daniel Buch [Sun, 27 Oct 2013 11:45:53 +0000 (12:45 +0100)]
test-strv.c: added STRV_FOREACH and STRV_FOREACH_BACKWARDS

7 years agopath_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h
Daniel Buch [Sun, 27 Oct 2013 11:45:52 +0000 (12:45 +0100)]
path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h

7 years agoudev: link-config: add ethtool support
Tom Gundersen [Sat, 26 Oct 2013 16:54:16 +0000 (18:54 +0200)]
udev: link-config: add ethtool support

This adds support for setting the link speed, duplex and WakeOnLan
settings.

Example:

[Link]
SpeedMBytes=100
Duplex=half
WakeOnLan=magic

7 years agoudev: add network link configuration tool
Tom Gundersen [Fri, 25 Oct 2013 22:34:01 +0000 (00:34 +0200)]
udev: add network link configuration tool

This tool applies hardware specific settings to network devices before they
are announced via libudev.

Settings that will probably eventually be supported are MTU, Speed,
DuplexMode, WakeOnLan, MACAddress, MACAddressPolicy (e.g., 'hardware',
'synthetic' or 'random'), Name and NamePolicy (replacing our current
interface naming logic). This patch only introduces support for
Description, as a proof of concept.

Some of these settings may later be overriden by a network management
daemon/script. However, these tools should always listen and wait on libudev
before touching a device (listening on netlink is not enough). This is no
different from how things used to be, as we always supported changing the
network interface name from udev rules, which does not work if someone
has already started using it.

The tool is configured by .link files in /etc/net/links/ (with the usual
overriding logic in /run and /lib). The first (in lexicographical order)
matching .link file is applied to a given device, and all others are ignored.

The .link files contain a [Match] section with (currently) the keys
MACAddress, Driver, Type (see DEVTYPE in udevadm info) and Path (this
matches on the stable device path as exposed as ID_PATH, and not the
unstable DEVPATH). A .link file matches a given device if all of the
specified keys do. Currently the keys are treated as plain strings,
but some limited globbing may later be added to the keys where it
makes sense.

Example:

/etc/net/links/50-wireless.link
[Match]
MACAddress=98:f2:e4:42:c6:92
Path=pci-0000:02:00.0-bcma-0
Type=wlan

[Link]
Description=The wireless link

7 years agoSTRV_FOREACH_BACKWARDS: improve readability a bit
Tom Gundersen [Sat, 26 Oct 2013 14:41:22 +0000 (16:41 +0200)]
STRV_FOREACH_BACKWARDS: improve readability a bit

The indentation was wrong, also put the semicolon on a separate line to make it clear it is a for-loop
with an epmyt body.

7 years agoupdate gitignore
Dave Reisner [Wed, 23 Oct 2013 18:10:02 +0000 (14:10 -0400)]
update gitignore

7 years agoudev-builtin: path_id - add support for bcma bus
Tom Gundersen [Sat, 26 Oct 2013 10:22:04 +0000 (12:22 +0200)]
udev-builtin: path_id - add support for bcma bus

This matches the bcma support in the network device naming.

Eventually wa want to make sure ID_PATH is equivalent to ID_NET_NAME_PATH,
so we never need to match on the latter.

7 years agoudev: move udev_rules_check_timestamp to shared
Tom Gundersen [Fri, 25 Oct 2013 22:36:49 +0000 (00:36 +0200)]
udev: move udev_rules_check_timestamp to shared

I want to use this from a bulitin in a subsequent patch.

7 years agoSTRV_FOREACH_BACWARDS: start at the tail of the list
Tom Gundersen [Sat, 26 Oct 2013 11:41:31 +0000 (13:41 +0200)]
STRV_FOREACH_BACWARDS: start at the tail of the list

Otherwise, the user would have to manually initialize the pointer. Nobody currently uses this code,
so the change in behaviour sohuld be fine.

7 years agotypo fix in comment
Thomas Hindoe Paaboel Andersen [Sat, 26 Oct 2013 20:38:41 +0000 (22:38 +0200)]
typo fix in comment

7 years agoanalyze: port to sd-bus
Thomas Hindoe Paaboel Andersen [Fri, 25 Oct 2013 20:56:19 +0000 (22:56 +0200)]
analyze: port to sd-bus

7 years agobus: disable debug output in test-bus-kernel-benchmark
Kay Sievers [Fri, 25 Oct 2013 05:27:18 +0000 (07:27 +0200)]
bus: disable debug output in test-bus-kernel-benchmark

7 years agocatalog: remove links to non-existent wiki pages
Zbigniew Jędrzejewski-Szmek [Thu, 24 Oct 2013 04:45:10 +0000 (00:45 -0400)]
catalog: remove links to non-existent wiki pages

AFAIK, we don't have even one page with message explanations.
If/when we add them, we can add links.

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

7 years agosystemd: use unit name in PrivateTmp directories
Zbigniew Jędrzejewski-Szmek [Wed, 23 Oct 2013 00:39:18 +0000 (20:39 -0400)]
systemd: use unit name in PrivateTmp directories

Unit name is used whole in the directory name, so that the unit name
can be easily extracted from it, e.g. "/tmp/systemd-abcd.service-DEDBIF1".

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

7 years agoinhibit: port to sd-bus
Tom Gundersen [Wed, 14 Aug 2013 00:54:25 +0000 (02:54 +0200)]
inhibit: port to sd-bus

7 years agoanalyze: systemd-analyze.c -> analyze.c
Kay Sievers [Tue, 22 Oct 2013 11:50:23 +0000 (13:50 +0200)]
analyze: systemd-analyze.c -> analyze.c

7 years agobus: NULL signatures are OK too
Lennart Poettering [Tue, 22 Oct 2013 11:40:54 +0000 (12:40 +0100)]
bus: NULL signatures are OK too

7 years agobus: only if the user tries to read over the end of an array we should handle this...
Lennart Poettering [Tue, 22 Oct 2013 11:40:39 +0000 (12:40 +0100)]
bus: only if the user tries to read over the end of an array we should handle this as EOF

7 years agolocaled: port from libdbus to libsystemd-bus
Kay Sievers [Tue, 22 Oct 2013 11:19:56 +0000 (13:19 +0200)]
localed: port from libdbus to libsystemd-bus