Lennart Poettering
d1fcdcd87a
sysctl: use %P instead of %p in core pattern
...
That way we'll get the PID on the host, rather than the one in a PID
namespace. Which should make the coredump handler less confusing.
Fixes #1930 .
2015-11-17 17:32:49 +01:00
Martin Pitt
92939fc4c0
Merge pull request #1920 from teg/networkd-fixes
...
networkd fixes
2015-11-17 17:01:32 +01:00
Martin Pitt
0b3209b531
Merge pull request #1932 from teg/networkd-ndisc-timeout
...
networkd: ndisc timeout
2015-11-17 15:59:46 +01:00
Tom Gundersen
962b064729
networkd: ndisc - consider configured on timeout
...
Don't block indefinitely, when control has been passed on from NDisc to DHCPv6.
In this case there is likely no IPv6 support on the local link, so otherwise
this would block indefinitely.
2015-11-17 15:39:27 +01:00
Tom Gundersen
c601ebf79f
sd-dhcp6-client: bind to link-local address
...
This ensures that several DHCPv6 clients can run on separate interfaces
simultaneously.
2015-11-17 14:17:41 +01:00
Tom Gundersen
fb84d8966e
networkd: ndisc - fix token support
...
Fixes CID#1338680. Thanks to Thomas Andersen.
2015-11-17 13:26:51 +01:00
Tom Gundersen
6506063f8f
sd-dhcp6-client: allow multiple clients on host
...
We need to enable SO_REUSEADDR in order for several sockets to be allowed
to bind to the same port (even on different links).
2015-11-17 13:26:51 +01:00
Tom Gundersen
62379e884e
networkd: ndisc - always configure dhcp6 client
...
The ndisc client may trigger the dhcpv6 client to be started (this is the common case),
so we should allocate the dhcpv6 client whenever we allocate the ndisc one.
2015-11-17 13:26:46 +01:00
Lennart Poettering
233f353a22
Merge pull request #1909 from keszybz/filetriggers-v2
...
Move daemon-reload from package %post scripts to file triggers
2015-11-17 12:30:44 +01:00
Lennart Poettering
e492fa402c
Merge pull request #1925 from evverx/fix-pam-systemd-user
...
tests: copy /etc/pam.d/systemd-user from the host on Debian, Ubuntu
2015-11-17 12:16:57 +01:00
Daniel Mack
a57246551a
Merge pull request #1926 from phomes/include-order-libudev
...
tree-wide: group include of libudev.h with sd-*
2015-11-17 09:36:25 +01:00
Daniel Mack
f21bb7537a
Merge pull request #1927 from evverx/no-entries-in-quiet-mode
...
journalctl: don't print -- No entries -- in quiet mode
2015-11-17 09:34:58 +01:00
Daniel Mack
bf7e619b3b
Merge pull request #1924 from poettering/some-fixes-2
...
casting fixes, another siphash24 alignment fix, and more
2015-11-17 09:33:59 +01:00
Evgeny Vereshchagin
bfcb7c5f53
journalctl: don't print -- No entries -- in quiet mode
2015-11-17 06:07:18 +00:00
Thomas Hindoe Paaboel Andersen
b4bbcaa9c4
tree-wide: group include of libudev.h with sd-*
2015-11-17 07:06:08 +01:00
Lennart Poettering
f1f8a5a5e1
Some additions to NEWS
2015-11-17 01:31:42 +01:00
Evgeny Vereshchagin
417491f122
tests: copy /etc/pam.d/systemd-user from the host on Debian, Ubuntu
...
Fixes:
systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth
systemd-testsuite systemd[34]: user@0.service: Failed at step PAM spawning /lib/systemd/systemd: Operation not permitted
...
on Debian, Ubuntu
2015-11-17 00:09:28 +00:00
Lennart Poettering
6059dab889
siphash: minor coding style fixes and modernizations
...
Only cosmetics really, doesn't change any actual logic.
2015-11-17 01:08:44 +01:00
Lennart Poettering
4de91d7eaf
siphash: fix another alignment issue
2015-11-17 00:56:05 +01:00
Lennart Poettering
23e096cc60
tree-wide: make macros for converting fds to pointers and back generic and use them everywhere
2015-11-17 00:52:10 +01:00
Lennart Poettering
b16fee15ff
remount-fs: modernize coding style a bit
...
a) Use _cleanup_ where it makes sense
b) Uniformly use negative errno-style errors internally, convert to
EXIT_FAILURE/EXIT_SUCCESS only when actually exiting.
c) Use log_oom() where appropriate
d) Fix minor memory leak in hashmap addition error path.
e) Don't pretend we could continue sensibly on OOM or fork() failure
f) Use PR_SET_PDEATHSIG to make sure clients we don't kill on error are
cleaned up.
g) Make use of STRV_MAKE() where it's pretty to do so.
h) Simplify error paths.
2015-11-17 00:52:10 +01:00
Lennart Poettering
0c28d28834
sd-ipv4ll: fix error path if sd-ipv4acd allocation fails
...
Let's make sure the destructor cannot hit the n_ref == 0 case.
2015-11-17 00:52:10 +01:00
Lennart Poettering
65c1d46b09
journald: trivial simplification
2015-11-17 00:52:10 +01:00
Lennart Poettering
c292d9e953
coredump: modernize error logging a bit
2015-11-17 00:52:10 +01:00
Lennart Poettering
077ba06eaa
core: don't generate warnings when write access to the cgroup fs fails in --user due to EACCES
...
After all, in the classic hierarchy that's pretty much the default case.
2015-11-17 00:52:10 +01:00