Tom Gundersen
1a941ac4b6
networkd: link - ignore missing MAC address
...
Currently DHCP/IPv4LL only works on ethernet devices, but no reason not to otherwise
manage them.
2014-07-01 12:55:05 +02:00
Kay Sievers
afc3f9cb24
base-filesystem: avoid all searching if the link already exists
2014-07-01 12:25:38 +02:00
Kay Sievers
3fd165e53a
base-filesystem: explicitely check existence of the platform's ABI dynamic loader
2014-07-01 12:12:40 +02:00
Kay Sievers
e1ae9755ab
base-filesystem: create /lib64 symlink to libdir /usr directory
2014-07-01 11:46:12 +02:00
Susant Sahani
0099bc15f1
networkd: address_acquire use cleanup macro
...
use cleanup macro for Address na
[tomegun: dropped unneccessary braces]
2014-07-01 10:38:07 +02:00
Susant Sahani
8469c1d329
networkd: netdev add one separate line
2014-07-01 10:35:42 +02:00
Tom Gundersen
28aeb07f55
networkd: link - drop assert from _free()
...
_free() should always succeed, even if object is not fully allocated.
2014-07-01 10:30:37 +02:00
Tom Gundersen
54d61deb7b
sd-dhcp6-client: fix free before use
2014-07-01 10:21:18 +02:00
Tom Gundersen
5da8149fd3
networkd: link - improve refcounting
...
We failed to take a ref when waiting for udev synchronization. Fix that and also
make unreffing in callbacks simpler throughout by using _cleanup_ macros.
Fixes <https://bugs.freedesktop.org/show_bug.cgi?id=80556 >.
2014-07-01 10:21:18 +02:00
Lennart Poettering
3a53fdaa34
update TODO
2014-07-01 02:39:08 +02:00
Lennart Poettering
24a2bf4c9b
TODO: start documenting changes for 215
2014-07-01 02:38:41 +02:00
Lennart Poettering
cdf0c7abf8
man: document ConditionNeedsUpdate=
2014-07-01 01:33:56 +02:00
Lennart Poettering
82a30aae48
man: extend a bit what to expect from the various places apps can store data
2014-07-01 01:14:22 +02:00
Lennart Poettering
c65b503d01
man: add sections about file node types and write access to file-hierarchy(7)
2014-07-01 01:14:22 +02:00
Zbigniew Jędrzejewski-Szmek
ee43f49b78
man: mention x-initrd.mount option in fstab options list
2014-06-30 18:41:17 -04:00
Zbigniew Jędrzejewski-Szmek
63b03c0b28
man: mention that x-systemd.device-timeout is only for fstab
...
Reformat fstab options description. Now they are easier to read and
show up in systemd.directives(7).
Use a single sublist for both /etc/fstab and /etc/crypttab options.
Many of them can be used in both places. crypttab(5) is updated to use
the same docbook elements, so formatting is uniform.
2014-06-30 18:41:17 -04:00
Zbigniew Jędrzejewski-Szmek
a17f2dc15b
man: beef up systemd-fsck description
2014-06-30 18:41:17 -04:00
Zbigniew Jędrzejewski-Szmek
8eea868708
cryptsetup: allow x-systemd.device-timeout
...
https://bugs.freedesktop.org/show_bug.cgi?id=54210
2014-06-30 18:41:17 -04:00
Zbigniew Jędrzejewski-Szmek
b3208b6629
fstab-generator: allow x-systemd.device-timeout for swap units
2014-06-30 18:39:45 -04:00
Zbigniew Jędrzejewski-Szmek
2968644080
Move x-systemd-device.timeout handling from core to fstab-generator
...
Instead of adjusting job timeouts in the core, let fstab-generator
write out a dropin snippet with the appropriate JobTimeout.
x-systemd-device.timeout option is removed from Options= line
in the generated unit.
The functions to write dropins are moved from core/unit.c to
shared/dropin.c, to make them available outside of core.
generator.c is moved to libsystemd-label, because it now uses
functions defined in dropin.c, which are in libsystemd-label.
2014-06-30 18:39:45 -04:00
Lennart Poettering
6e81b5b9dc
man: reference $TMPDIR, not $TMP in file-hierarchy(7)
...
This what environ(7) and POSIX define, so that's what we should
reference.
2014-07-01 00:29:38 +02:00
Lennart Poettering
48fda3987f
update TODO
2014-07-01 00:16:48 +02:00
Lennart Poettering
7caa86ac4d
man: document systemd-update-done.service
2014-07-01 00:16:48 +02:00
Tom Gundersen
dc7f577501
man: file-hierarchy - minor fixes
...
Leave non-specified top-level dirs out of the spec, and minor cleanups.
2014-07-01 00:06:16 +02:00
Lennart Poettering
cd48031bcf
man: document how to query $libdir for the primary architecture using pkg-config
2014-06-30 23:30:00 +02:00
Lennart Poettering
ded21b6de3
pc: no longer expose exec_prefix in .pc file
...
There's little reason to export this, so let's drop it to minimize the
file a bit.
2014-06-30 23:19:00 +02:00
Lennart Poettering
d4e85aac0b
pc: expose more drop-in dirs in the .pc file
2014-06-30 23:19:00 +02:00
Lennart Poettering
eb39a6239c
pc: export $libdir in the .pc file
...
This is useful for code that tries to figure out the primary arch's
$libdir on the local system, given that is different on the various
Linuxes.
2014-06-30 23:19:00 +02:00
Thomas Hindoe Paaboel Andersen
fcba63a846
man: file-hierarchy - typo fixes
2014-06-30 22:54:21 +02:00
Lennart Poettering
2f3d398a05
man: deemphesize Fedora-specific "lib64", only mention the more generic $libdir
2014-06-30 22:49:10 +02:00
Lennart Poettering
0b30586904
update TODO
2014-06-30 22:49:10 +02:00
Lennart Poettering
8ebf02d6f3
units: skip mounting /tmp if it is a symlink
...
We shouldn't get confused if people have symlinked /tmp somewhere, so
let's simply skip the mount then.
2014-06-30 22:49:10 +02:00
Thomas Hindoe Paaboel Andersen
908c32e0f3
man: daemon - typo fix
2014-06-30 22:38:17 +02:00
Lennart Poettering
13ba92e046
tmpfiles: explicitly set mode for /run/log
2014-06-30 19:53:10 +02:00
Lennart Poettering
9fc25924be
man: a couple of additions to file-hierarchy(7)
2014-06-30 19:52:44 +02:00
Lennart Poettering
6fc2766795
tmpfiles: don't do automatic cleanup in $XDG_RUNTIME_DIR
...
Now that logind will clean up all IPC resources of a user we should
really consider $XDG_RUNTIME_DIR as just another kind of IPC with the
same life-cycle logic as the other IPC resources. This should be safe
now to do since every user gets his own $XDG_RUNTIME_DIR tmpfs instance
with a fixed size limit, so that flooding of it will more effectively be
averted.
2014-06-30 19:06:18 +02:00
Lennart Poettering
8c63bf4ab0
man: drop references to manual StandardError=syslog from daemon(7), we do this implicitly since ages
2014-06-30 19:06:11 +02:00
Lennart Poettering
9546c6ed67
man: add a minimized, modernized description of the file system hierarchy systemd suggests
2014-06-30 19:05:17 +02:00
Lennart Poettering
28650077f3
nspawn: block open_by_handle_at() and others via seccomp
...
Let's protect ourselves against the recently reported docker security
issue. Our man page makes clear that we do not make any security
promises anyway, but well, this one is easy to mitigate, so let's do it.
While we are at it block a couple of more syscalls that are no good in
containers, too.
2014-06-30 16:22:12 +02:00
Lennart Poettering
840295fc1e
nspawn: let's avoid using goto to wildly for non-cleanup purposes
2014-06-30 15:20:59 +02:00
Lennart Poettering
ce9f1527b6
nspawn: simplify exit condition check
2014-06-30 15:19:00 +02:00
Luke Shumaker
8baaf7a3d8
nspawn: log a warning on failure from wait_for_terminate()
...
This is at the suggestion of Djalal Harouni on the mailing list, and
reflects the behavior of shared/util.c:wait_for_terminate_and_warn().
2014-06-30 15:13:53 +02:00
Luke Shumaker
6d416b9cc8
nspawn: Fix regression with exit status
...
Commit 113cea8
introduced a bug that caused the exit code of systemd-nspawn
to not reflect the exit code of the program executed in the container.
2014-06-30 15:13:47 +02:00
Luke Shumaker
0659e8baf2
shared/util.c:wait_for_terminate_and_warn(): Add a comment on the return values
2014-06-30 15:13:34 +02:00
Tom Gundersen
3005a221f1
units: networkd - don't order wait-online.service before network.target
...
Reported by Michael Olbrich.
2014-06-30 13:06:33 +02:00
Tom Gundersen
3e53303ea6
networkd: dhcp - use same metric for all DHCP-related routes
2014-06-30 13:06:33 +02:00
Lennart Poettering
6afeb1cfe4
util: fix comment
2014-06-30 12:41:26 +02:00
Ronny Chevalier
6dbfd10471
tests: add missing XDG_RUNTIME_DIR env variable
...
Otherwise the test fails because specifier_runtime() returns -ENOTSUP
when XDG_RUNTIME_DIR is not set.
2014-06-30 12:40:47 +02:00
Lennart Poettering
94655a1670
sysusers: split up default sysusers snippet
...
This ways, distributions have an easier way to replace the OS specific
generic groups/users while keeping systemd's own.
2014-06-29 22:27:07 +02:00
Lennart Poettering
306a55c863
util: refuse considering UID 0xFFFF and 0xFFFFFFFF valid
2014-06-29 22:27:07 +02:00