platform/upstream/systemd.git
10 years agojournal: simplify pre-allocation logic
Lennart Poettering [Wed, 27 Nov 2013 00:44:52 +0000 (01:44 +0100)]
journal: simplify pre-allocation logic

let's just do a single fallocate() as far as possible, and don't
distuingish between allocated space and file size.

This way we can save a syscall for each append, which makes quite some
benefits.

10 years agojournal: add a test case for flushing messages out of a series of journal files into...
Lennart Poettering [Wed, 27 Nov 2013 00:01:53 +0000 (01:01 +0100)]
journal: add a test case for flushing messages out of a series of journal files into a single new one

10 years agojournal: allow journal_file_copy_entry() to work on non-local files
Lennart Poettering [Tue, 26 Nov 2013 23:59:07 +0000 (00:59 +0100)]
journal: allow journal_file_copy_entry() to work on non-local files

10 years agojournal: fix iteration when we go backwards from the beginning of an array chain...
Lennart Poettering [Tue, 26 Nov 2013 23:58:39 +0000 (00:58 +0100)]
journal: fix iteration when we go backwards from the beginning of an array chain element

10 years agojournal: optimize bisection logic a bit by caching the last position
Lennart Poettering [Tue, 26 Nov 2013 19:37:53 +0000 (20:37 +0100)]
journal: optimize bisection logic a bit by caching the last position

This way we can do a quick restart limiting a bit how wildly we need to
jump around during the bisection process.

10 years agojournald: keep statistics on how of we hit/miss the mmap cache
Lennart Poettering [Tue, 26 Nov 2013 17:58:44 +0000 (18:58 +0100)]
journald: keep statistics on how of we hit/miss the mmap cache

10 years agojournal: make table const
Lennart Poettering [Tue, 26 Nov 2013 17:40:23 +0000 (18:40 +0100)]
journal: make table const

10 years agojournal: when appending to journal file, allocate larger blocks at once
Lennart Poettering [Tue, 26 Nov 2013 17:39:42 +0000 (18:39 +0100)]
journal: when appending to journal file, allocate larger blocks at once

10 years agotree-wide usage of %m specifier instead of strerror(errno)
Daniel Buch [Tue, 26 Nov 2013 08:38:02 +0000 (09:38 +0100)]
tree-wide usage of %m specifier instead of strerror(errno)

Also for log_error() except where a specific error is specified

e.g. errno ? strerror(errno) : "Some user specified message"

10 years agoman: networkd - document bridging
Tom Gundersen [Tue, 26 Nov 2013 10:52:38 +0000 (11:52 +0100)]
man: networkd - document bridging

10 years agosystemctl: fix enable/disable reply handling
Kay Sievers [Tue, 26 Nov 2013 04:19:04 +0000 (05:19 +0100)]
systemctl: fix enable/disable reply handling

10 years agopam_systemd: do not set XDG_RUNTIME_DIR if the session's original user is not the...
Lennart Poettering [Tue, 26 Nov 2013 04:05:00 +0000 (05:05 +0100)]
pam_systemd: do not set XDG_RUNTIME_DIR if the session's original user is not the same as the newly logged in one

It's better not to set any XDG_RUNTIME_DIR at all rather than one of a
different user. So let's do this.

This changes the bus call parameters of CreateSession(), but that is
explicitly an internal API hence should be fine. Note however, that a
logind restart (the way the RPM postinst scriptlets do it) is necessary
to make things work again.

10 years agonspawn: improve error message when we cannot resolve the root directory argument
Lennart Poettering [Tue, 26 Nov 2013 02:50:32 +0000 (03:50 +0100)]
nspawn: improve error message when we cannot resolve the root directory argument

10 years agoman: explain the precise syntax and feature set of unit names at the end of the man...
Lennart Poettering [Tue, 26 Nov 2013 01:25:34 +0000 (02:25 +0100)]
man: explain the precise syntax and feature set of unit names at the end of the man page, given that it is detail information

10 years agosystemctl: replace the three job mode options by a single --job-mode= option
Lennart Poettering [Tue, 26 Nov 2013 01:14:27 +0000 (02:14 +0100)]
systemctl: replace the three job mode options by a single --job-mode= option

Also, expose the new "flush" job mode this way.

10 years agocore: add new "flush" job mode to cancel all other jobs when queuing a new job
Lennart Poettering [Tue, 26 Nov 2013 01:13:41 +0000 (02:13 +0100)]
core: add new "flush" job mode to cancel all other jobs when queuing a new job

10 years agocore: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= setting...
Lennart Poettering [Tue, 26 Nov 2013 00:39:53 +0000 (01:39 +0100)]
core: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= setting and make use of it where applicable

10 years agonetworkd: add bridge support
Tom Gundersen [Sun, 24 Nov 2013 22:37:56 +0000 (23:37 +0100)]
networkd: add bridge support

A bridge is specified in a .netdev file with a section [Bridge]
and at least the entry Name=.

A link may be joined to a bridge if the .network applied to it has
a Bridge= entry giving the name of the bridge in its [Network] section.

We eagerly create all bridges on startup, and links are added to
bridges as soon as they both appear.

10 years agonetworkd: minor fixes
Tom Gundersen [Sun, 24 Nov 2013 22:36:58 +0000 (23:36 +0100)]
networkd: minor fixes

In particular, store the ifname, though we should only use it carefully, as
it is not guaranteed to be stable. Using it for logging is fine though.

10 years agortnl: add support for IFLA_MASTER
Tom Gundersen [Sun, 24 Nov 2013 21:08:30 +0000 (22:08 +0100)]
rtnl: add support for IFLA_MASTER

10 years agortnl: add preliminary support for containers
Tom Gundersen [Thu, 21 Nov 2013 19:44:29 +0000 (20:44 +0100)]
rtnl: add preliminary support for containers

For now, we only support one container type IFLA_LINKINFO, and we
still lack support for parsing the containers again.

10 years agonetworkd: use correct printf formatter
Dave Reisner [Mon, 25 Nov 2013 23:19:10 +0000 (18:19 -0500)]
networkd: use correct printf formatter

uint64_t can be formatted correctly with %ju, rather than casting to
unsigned and potentially losing accuracy.

10 years agoconf-parser: fix memory realloc error
Yin Kangkai [Mon, 25 Nov 2013 15:14:46 +0000 (23:14 +0800)]
conf-parser: fix memory realloc error

Otherwise there is some memory corruption and undefined behavior,
e.g., in my case systemd-udev was always aborted at the
_cleanup_freep_ around that code blocks.

10 years agocore: fix order of parameters in broadcast_signal()
Lennart Poettering [Mon, 25 Nov 2013 22:03:03 +0000 (23:03 +0100)]
core: fix order of parameters in broadcast_signal()

10 years agobus: properly return errors to client if invalid parameters are passed to built-in...
Lennart Poettering [Mon, 25 Nov 2013 21:32:18 +0000 (22:32 +0100)]
bus: properly return errors to client if invalid parameters are passed to built-in methods

10 years agoservice: fix handling of PID file inotify events
Lennart Poettering [Mon, 25 Nov 2013 21:20:57 +0000 (22:20 +0100)]
service: fix handling of PID file inotify events

10 years agocore: include following set data in dump
Lennart Poettering [Mon, 25 Nov 2013 20:16:37 +0000 (21:16 +0100)]
core: include following set data in dump

10 years agoswap: always track the current real device node of all swap devices, even when not...
Lennart Poettering [Mon, 25 Nov 2013 20:08:39 +0000 (21:08 +0100)]
swap: always track the current real device node of all swap devices, even when not active

This way, we can avoid executing two /bin/swapon jobs to be dispatched
for the same swap device if it is configured for two different paths.

Previously we were just tracking the device nodes of active swap
devices, which would not allow us to recognize the identity of two swap
devices before they are active.

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

10 years agoshutdown: during final killing spree also send SIGHUP in addition to SIGTERM to deal...
Lennart Poettering [Mon, 25 Nov 2013 17:08:02 +0000 (18:08 +0100)]
shutdown: during final killing spree also send SIGHUP in addition to SIGTERM to deal with shells

This makes shutdown a bit faster if debug-shell.service is enabled.

10 years agodelete unused variables
Thomas Hindoe Paaboel Andersen [Mon, 25 Nov 2013 20:16:26 +0000 (21:16 +0100)]
delete unused variables

10 years agonetworkd: add support for [Address] sections
Tom Gundersen [Tue, 19 Nov 2013 15:54:42 +0000 (16:54 +0100)]
networkd: add support for [Address] sections

This will allow specifying more options per address than the
simple Address= entry in the [Network] section.

Preliminary support for the same functionality for [Route] sections
are added, but not yet hooked up, as more testing is needed.

10 years agoconf-parser: distinguish between multiple sections with the same name
Tom Gundersen [Tue, 19 Nov 2013 15:17:55 +0000 (16:17 +0100)]
conf-parser: distinguish between multiple sections with the same name

Pass on the line on which a section was decleared to the parsers, so they
can distinguish between multiple sections (if they chose to). Currently
no parsers take advantage of this, but a follow-up patch will do that
to distinguish

[Address]
Address=192.168.0.1/24
Label=one

[Address]
Address=192.168.0.2/24
Label=two

from

[Address]
Address=192.168.0.1/24
Label=one
Address=192.168.0.2/24
Label=two

10 years agodevice: fix typo
Lennart Poettering [Mon, 25 Nov 2013 16:46:21 +0000 (17:46 +0100)]
device: fix typo

10 years agoudev-builtin-keyboard: More useful error message
Martin Pitt [Mon, 25 Nov 2013 16:44:57 +0000 (17:44 +0100)]
udev-builtin-keyboard: More useful error message

Make the "Error calling EVIOCSKEYCODE" error message more useful by mentioning
which scan/key code it tried to set.

10 years agosystemctl: remove debug log message
Lennart Poettering [Mon, 25 Nov 2013 16:34:57 +0000 (17:34 +0100)]
systemctl: remove debug log message

10 years agosystemctl: when status is called without arguments show pager
Lennart Poettering [Mon, 25 Nov 2013 16:28:42 +0000 (17:28 +0100)]
systemctl: when status is called without arguments show pager

10 years agocore: fix bus serialization of conditions
Lennart Poettering [Mon, 25 Nov 2013 16:18:38 +0000 (17:18 +0100)]
core: fix bus serialization of conditions

10 years agocore: fix serialization of exec command structs
Lennart Poettering [Mon, 25 Nov 2013 15:59:51 +0000 (16:59 +0100)]
core: fix serialization of exec command structs

10 years agocore: set some event source priorities to enforce dispatching order
Lennart Poettering [Mon, 25 Nov 2013 14:35:10 +0000 (15:35 +0100)]
core: set some event source priorities to enforce dispatching order

10 years agoswap: split state machine state ACTIVATING into two
Lennart Poettering [Mon, 25 Nov 2013 14:26:30 +0000 (15:26 +0100)]
swap: split state machine state ACTIVATING into two

We expect the event on /proc/swaps before we expect the SIGCHILD,
reflect this in the state machine.

10 years agodevice: modernizations
Lennart Poettering [Mon, 25 Nov 2013 14:25:01 +0000 (15:25 +0100)]
device: modernizations

10 years agocore: dispatch run queue only if there's nothing else to do
Lennart Poettering [Mon, 25 Nov 2013 14:22:41 +0000 (15:22 +0100)]
core: dispatch run queue only if there's nothing else to do

Always read all external events before we decide what we do next.

10 years agocgroups-agent: down-grade log level
Lennart Poettering [Mon, 25 Nov 2013 14:20:59 +0000 (15:20 +0100)]
cgroups-agent: down-grade log level

10 years agoudev: net_setup_link - don't use Description as Alias
Tom Gundersen [Mon, 25 Nov 2013 00:33:04 +0000 (01:33 +0100)]
udev: net_setup_link - don't use Description as Alias

Use Description only internally, and allow Alias to be set
as a separate option. For instance SNMP uses ifalias for
a specific purpose, so let's not write to it by default.

10 years agoRevert "man: suggest using hash= atribut for swap in example"
Lukas Nykryn [Mon, 25 Nov 2013 08:31:09 +0000 (09:31 +0100)]
Revert "man: suggest using hash= atribut for swap in example"

This reverts commit fa7abba2328eb2d23a7e27708f86f5013059ddcf.

10 years agosocket-proxyd: Fix man page because --listener takes an argument.
David Strauss [Mon, 25 Nov 2013 00:58:13 +0000 (10:58 +1000)]
socket-proxyd: Fix man page because --listener takes an argument.

10 years agosocket-proxyd: Add --listener option for listener/destination pairs.
David Strauss [Mon, 25 Nov 2013 00:44:48 +0000 (10:44 +1000)]
socket-proxyd: Add --listener option for listener/destination pairs.

10 years agocore: set finish_timestamp only after all jobs have finished
Kay Sievers [Sun, 24 Nov 2013 18:18:36 +0000 (19:18 +0100)]
core: set finish_timestamp only after all jobs have finished

10 years agonetworkd: fix build
Tom Gundersen [Sat, 23 Nov 2013 01:47:12 +0000 (02:47 +0100)]
networkd: fix build

Forgot to 'git add'...

10 years agonetworkd: use Type=notify
Tom Gundersen [Sat, 23 Nov 2013 01:07:08 +0000 (02:07 +0100)]
networkd: use Type=notify

Also start earlier during boot.

10 years agoUpdate TODO
David Strauss [Fri, 22 Nov 2013 21:55:37 +0000 (07:55 +1000)]
Update TODO

10 years agobus: protected dual timestamp property macro for misusage
Lennart Poettering [Fri, 22 Nov 2013 19:19:54 +0000 (20:19 +0100)]
bus: protected dual timestamp property macro for misusage

10 years agocore: don't warn loudly if we cannot send a bus signal to a disconnected client
Lennart Poettering [Fri, 22 Nov 2013 19:19:27 +0000 (20:19 +0100)]
core: don't warn loudly if we cannot send a bus signal to a disconnected client

10 years agosystemctl: indicate in list-dependencies whether a unit is already running
Lennart Poettering [Fri, 22 Nov 2013 18:18:52 +0000 (19:18 +0100)]
systemctl: indicate in list-dependencies whether a unit is already running

10 years agoservice: honour that for services RestartSec=0 means immediate restarts but TimeoutSe...
Lennart Poettering [Fri, 22 Nov 2013 18:17:52 +0000 (19:17 +0100)]
service: honour that for services RestartSec=0 means immediate restarts but TimeoutSec= means no timing out at all

10 years agojob: fix serialization
Lennart Poettering [Fri, 22 Nov 2013 18:14:11 +0000 (19:14 +0100)]
job: fix serialization

10 years agocgroups: Fix test service inclusion in Makefile
David Strauss [Fri, 22 Nov 2013 16:36:14 +0000 (02:36 +1000)]
cgroups: Fix test service inclusion in Makefile

10 years agobus: when closing a bus, drop all refs to queued messages, so that the bus can be...
Lennart Poettering [Fri, 22 Nov 2013 14:35:23 +0000 (15:35 +0100)]
bus: when closing a bus, drop all refs to queued messages, so that the bus can be freed

10 years agoman: simplify socket-proxyd examples
Lennart Poettering [Fri, 22 Nov 2013 13:31:31 +0000 (14:31 +0100)]
man: simplify socket-proxyd examples

10 years agobuild-sys: move more files from core/ to share/ that are generic enough
Lennart Poettering [Fri, 22 Nov 2013 13:30:52 +0000 (14:30 +0100)]
build-sys: move more files from core/ to share/ that are generic enough

10 years agotest: test-sched-prio - skip if XDG_RUNTIME_DIR is not set
Kay Sievers [Fri, 22 Nov 2013 14:58:39 +0000 (15:58 +0100)]
test: test-sched-prio - skip if XDG_RUNTIME_DIR is not set

=================================
No control group support available, not creating root group.

Failed to determine XDG_RUNTIME_DIR

Assertion 'r >= 0' failed at src/test/test-sched-prio.c:42, function main(). Aborting.
=================================

10 years agomacro: fix problem with __LINE__ macro expansion
Lukasz Skalski [Fri, 22 Nov 2013 13:44:45 +0000 (14:44 +0100)]
macro: fix problem with __LINE__ macro expansion

David:
I already applied a fix for that, but this patch definitely looks nicer. I
changed CONCATENATE_HELPER() -> XCONCATENATE() similar to XSTRINGIFY and
added the UNIQUE() helper.

10 years agocore: fix timestamp assignment
Kay Sievers [Fri, 22 Nov 2013 12:54:50 +0000 (13:54 +0100)]
core: fix timestamp assignment

10 years agomacro: fix assert_cc() fallback
David Herrmann [Fri, 22 Nov 2013 08:19:00 +0000 (09:19 +0100)]
macro: fix assert_cc() fallback

We need two-level macro-expansion, otherwise __LINE__ will not get
evaluated.

11 years agohwdb: Update database of Bluetooth company identifiers
Marcel Holtmann [Sat, 21 Sep 2013 18:45:05 +0000 (11:45 -0700)]
hwdb: Update database of Bluetooth company identifiers

11 years agobus: rework sd_bus_error APIs
Lennart Poettering [Fri, 22 Nov 2013 03:01:46 +0000 (04:01 +0100)]
bus: rework sd_bus_error APIs

All calls that set a sd_bus_error structure will now return the same
error converted to a negative errno. This may be used as syntactic sugar
to return from a function and setting a bus_error structure in one go.

Also, translate all Linux Exyz (EIO, EINVAL, EUCLEAN, EPIPE, ...)
automatically into counterparts in the (new) "Posix.Error." namespace.

If we fail to allocate memory for the components of a sd_bus_error
automatically reset it to an OOM error which we always can write.

11 years agocgroups: Cache controller masks and optimize queues.
David Strauss [Mon, 11 Nov 2013 09:03:31 +0000 (19:03 +1000)]
cgroups: Cache controller masks and optimize queues.

11 years agobus: deal with duplicate values from enumerators
Lennart Poettering [Fri, 22 Nov 2013 00:51:19 +0000 (01:51 +0100)]
bus: deal with duplicate values from enumerators

11 years agoevent: rename sd_event_get() to sd_event_source_get_event()
Lennart Poettering [Fri, 22 Nov 2013 00:28:45 +0000 (01:28 +0100)]
event: rename sd_event_get() to sd_event_source_get_event()

11 years agobus: add calls to query attached objects
Lennart Poettering [Fri, 22 Nov 2013 00:21:59 +0000 (01:21 +0100)]
bus: add calls to query attached objects

11 years agobus: also add error parameter to object find and enumerator callbacks
Lennart Poettering [Fri, 22 Nov 2013 00:14:57 +0000 (01:14 +0100)]
bus: also add error parameter to object find and enumerator callbacks

Just in order to bring things inline with the method and property
callbacks.

11 years agobus: restore selinux access control to PID 1 for properties
Lennart Poettering [Thu, 21 Nov 2013 22:36:51 +0000 (23:36 +0100)]
bus: restore selinux access control to PID 1 for properties

11 years agotimer: make timer accuracy configurable
Lennart Poettering [Thu, 21 Nov 2013 21:07:51 +0000 (22:07 +0100)]
timer: make timer accuracy configurable

And make it default to 1min

11 years agobuild-sys: enable gcc Link Time Optimization when optimization is enabled
Kay Sievers [Thu, 21 Nov 2013 20:56:18 +0000 (21:56 +0100)]
build-sys: enable gcc Link Time Optimization when optimization is enabled

11 years agocore: actually make SwitchRoot() bus call do the deed
Lennart Poettering [Thu, 21 Nov 2013 20:36:04 +0000 (21:36 +0100)]
core: actually make SwitchRoot() bus call do the deed

11 years agocore: fix serilization of ListJobs() response
Lennart Poettering [Thu, 21 Nov 2013 20:32:23 +0000 (21:32 +0100)]
core: fix serilization of ListJobs() response

11 years agocore: fix serialization of client tracker
Lennart Poettering [Thu, 21 Nov 2013 20:17:34 +0000 (21:17 +0100)]
core: fix serialization of client tracker

11 years agocore: fix deserialization of StartTransientUnit() parameters
Lennart Poettering [Thu, 21 Nov 2013 19:49:04 +0000 (20:49 +0100)]
core: fix deserialization of StartTransientUnit() parameters

11 years agobus: properly serialize unit file change list
Lennart Poettering [Thu, 21 Nov 2013 19:18:59 +0000 (20:18 +0100)]
bus: properly serialize unit file change list

11 years agologind,machined,run: properly invoke StartTransientUnit() bus call
Lennart Poettering [Thu, 21 Nov 2013 19:05:49 +0000 (20:05 +0100)]
logind,machined,run: properly invoke StartTransientUnit() bus call

11 years agobus: rework message handlers to always take an error argument
Lennart Poettering [Thu, 21 Nov 2013 18:34:37 +0000 (19:34 +0100)]
bus: rework message handlers to always take an error argument

Message handler callbacks can be simplified drastically if the
dispatcher automatically replies to method calls if errors are returned.

Thus: add an sd_bus_error argument to all message handlers. When we
dispatch a message handler and it returns negative or a set sd_bus_error
we send this as message error back to the client. This means errors
returned by handlers by default are given back to clients instead of
rippling all the way up to the event loop, which is desirable to make
things robust.

As a side-effect we can now easily turn the SELinux checks into normal
function calls, since the method call dispatcher will generate the right
error replies automatically now.

Also, make sure we always pass the error structure to all property and
method handlers as last argument to follow the usual style of passing
variables for return values as last argument.

11 years agohostnamed: modernizations
Lennart Poettering [Thu, 21 Nov 2013 18:32:33 +0000 (19:32 +0100)]
hostnamed: modernizations

11 years agomanager: always sort environment block, it's prettier
Lennart Poettering [Thu, 21 Nov 2013 18:31:46 +0000 (19:31 +0100)]
manager: always sort environment block, it's prettier

11 years agobus: the :no-sender hack is now unnecessary, since the new library doesn't require...
Lennart Poettering [Thu, 21 Nov 2013 01:17:24 +0000 (02:17 +0100)]
bus: the :no-sender hack is now unnecessary, since the new library doesn't require this anymore

11 years agonetworkd: make sure Network and Link can always be freed
Tom Gundersen [Thu, 21 Nov 2013 20:04:04 +0000 (21:04 +0100)]
networkd: make sure Network and Link can always be freed

Also, don't fail a link just because we can't find its MAC address.

11 years agonetworkd: avoid segfault
Tom Gundersen [Thu, 21 Nov 2013 19:47:34 +0000 (20:47 +0100)]
networkd: avoid segfault

11 years agosrc/core/selinux-access: #include <sys/socket.h>
Daniel Mack [Thu, 21 Nov 2013 19:26:10 +0000 (20:26 +0100)]
src/core/selinux-access: #include <sys/socket.h>

Fixes the following build errors on Fedora 20:

  CC       src/core/libsystemd_core_la-selinux-access.lo
src/core/selinux-access.c: In function 'get_audit_data':
src/core/selinux-access.c:245:22: error: storage size of 'ucred' isn't known
         struct ucred ucred;
                      ^
src/core/selinux-access.c:259:9: warning: implicit declaration of function 'getsockopt' [-Wimplicit-function-declaration]
         r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len);
         ^
src/core/selinux-access.c:259:28: error: 'SOL_SOCKET' undeclared (first use in this function)
         r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len);
                            ^
src/core/selinux-access.c:259:28: note: each undeclared identifier is reported only once for each function it appears in
src/core/selinux-access.c:259:40: error: 'SO_PEERCRED' undeclared (first use in this function)
         r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len);
                                        ^
src/core/selinux-access.c:245:22: warning: unused variable 'ucred' [-Wunused-variable]
         struct ucred ucred;
                      ^
make[2]: *** [src/core/libsystemd_core_la-selinux-access.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

11 years agobus: update kdbus.h
Kay Sievers [Thu, 21 Nov 2013 19:16:56 +0000 (20:16 +0100)]
bus: update kdbus.h

11 years agoman: suggest using hash= atribut for swap in example
Václav Pavlín [Thu, 21 Nov 2013 14:28:02 +0000 (15:28 +0100)]
man: suggest using hash= atribut for swap in example

(#883941)

11 years agonetworkd: don't filter on udev tags
Tom Gundersen [Thu, 21 Nov 2013 14:30:08 +0000 (15:30 +0100)]
networkd: don't filter on udev tags

This removed the requirement for devices to be tagged with
'systemd-networkd' before they will be visible to networkd.

Still, as by default we don't ship any .network files, network
devices will simply be tracked, but not touched, unless the
admin configures things explicitly.

11 years agoefi-boot-generator: don't mount /boot eagerly
Tom Gundersen [Thu, 21 Nov 2013 11:35:46 +0000 (12:35 +0100)]
efi-boot-generator: don't mount /boot eagerly

11 years agobus: fix seriliazation of activation errors
Lennart Poettering [Thu, 21 Nov 2013 01:14:05 +0000 (02:14 +0100)]
bus: fix seriliazation of activation errors

11 years agobus: rename SD_BUS_ERROR_MAKE to SD_BUS_ERROR_MAKE_CONST to indicate it only works...
Lennart Poettering [Thu, 21 Nov 2013 01:11:06 +0000 (02:11 +0100)]
bus: rename SD_BUS_ERROR_MAKE to SD_BUS_ERROR_MAKE_CONST to indicate it only works for const strings

11 years agobus: let's simplify things by getting rid of unnecessary bus parameters
Lennart Poettering [Thu, 21 Nov 2013 00:51:16 +0000 (01:51 +0100)]
bus: let's simplify things by getting rid of unnecessary bus parameters

11 years agobus: add API calls to escape string components of objects paths
Lennart Poettering [Thu, 21 Nov 2013 00:03:26 +0000 (01:03 +0100)]
bus: add API calls to escape string components of objects paths

11 years agosd-event: try to move timer wakeups to the same spot within each minute
Lennart Poettering [Wed, 20 Nov 2013 23:46:13 +0000 (00:46 +0100)]
sd-event: try to move timer wakeups to the same spot within each minute

11 years agosocket: fix segfault
Lennart Poettering [Wed, 20 Nov 2013 23:06:11 +0000 (00:06 +0100)]
socket: fix segfault

11 years agovalgrind: make running PID 1 in valgrind useful
Lennart Poettering [Wed, 20 Nov 2013 21:11:10 +0000 (22:11 +0100)]
valgrind: make running PID 1 in valgrind useful

Since valgrind only generates useful output on exit() (rather than
exec()) we need to explicitly exit when valgrind is detected.

11 years agonspawn: add new --drop-capability= switch
Lennart Poettering [Wed, 20 Nov 2013 21:10:42 +0000 (22:10 +0100)]
nspawn: add new --drop-capability= switch

11 years agoevent: make sure to possibly disarm the timerfds before we reenter epoll_wait
Lennart Poettering [Wed, 20 Nov 2013 17:20:23 +0000 (18:20 +0100)]
event: make sure to possibly disarm the timerfds before we reenter epoll_wait