Tom Gundersen
b4b5212d31
libsystemd: rename LIBSYSTEMD_BUS to LIBSYSTEMD
2014-01-17 13:53:05 +01:00
Kay Sievers
9ff1897bb5
bus: update kdbus.h (ABI break)
2014-01-17 01:42:35 +01:00
Tom Gundersen
5d8364b3c5
networkd: resolv.conf - extend the comment a bit
2014-01-16 20:32:09 +01:00
Tom Gundersen
5ee482dfd3
sd-dhcp-client: minor style fixes
...
Also introduce a cleanup macro for DHCPLease
2014-01-16 20:32:09 +01:00
Tom Gundersen
7ae4ef6d23
sd-dhcp-client: refactor DNS support
...
Rather than keeping an array of pointers to addresses, just keep an array of addresses.
2014-01-16 20:32:08 +01:00
Tom Gundersen
1346b1f038
sd-dhcp-client/networkd: add transient hostname support
2014-01-16 20:32:08 +01:00
Tom Gundersen
6fc7349894
networkd: dhcp - only set the MTU option once
...
Only set MTU request when creating the dhcp client, not every time it is restarted.
2014-01-16 20:32:08 +01:00
Tom Gundersen
396945dc1f
networkd: link - only save original MTU when necessary
2014-01-16 20:32:08 +01:00
Tom Gundersen
1f6d9bc9ee
networkd: improve logging
2014-01-16 20:32:08 +01:00
Zbigniew Jędrzejewski-Szmek
c4e6e24255
bus: fix issue with reference counting
...
b7fc42e03
introduced a regression.
2014-01-16 01:15:17 -05:00
Zbigniew Jędrzejewski-Szmek
235ee2134f
build-sys: increase valgrind stack limit so all tests pass again
2014-01-16 00:16:02 -05:00
Zbigniew Jędrzejewski-Szmek
b7fc42e03a
bus: break reference cycle between bus and messages
...
Previously (6ee4f99
bus: break reference cycle between bus and
messages) I committed the test code, but not the actual fix :)
2014-01-16 00:16:02 -05:00
Chengwei Yang
8114dedc59
build-sys: fix --enable-dbus
...
The incorrect shell code of AS_IF always get false value, so it always
build without dbus though build with "--enable-dbus" explicitely.
2014-01-16 00:16:02 -05:00
Tom Gundersen
4f882b2a50
sd-dhcp-client/networkd: add interface MTU support
2014-01-16 01:44:19 +01:00
Tom Gundersen
eb2f9b1802
sd-rtnl: only alter link flags when reqeusted to
2014-01-16 01:41:12 +01:00
Tom Gundersen
b087416f97
sd-dhcp-client: fix memory corruption
2014-01-16 01:41:12 +01:00
Lennart Poettering
31927c16de
event: extend priority raneg to 64bit
...
The kdbus prioq logic will use 64bit prios too, so let's keep this
similar in style. Using 64bit here has the advantage, that pointers and
pretty much anything else can be mapped naturally to priorities if so
desired.
2014-01-15 20:16:20 +01:00
Lennart Poettering
ac3efa8ac6
systemctl: introduce new "import-environment" command
...
This may be used in graphical session start-up scripts to upload
environment variables such as $DISPLAY into the systemd manager easily.
2014-01-15 20:16:20 +01:00
Lennart Poettering
6a38d04a03
logind: get rid of X11 display socket symlink
...
X11 never made use of it anyway and it's probably better to just push
$DISPLAY into the systemd daemon from gnome-session (or equivalent
program) than to change libX11 to look for this socket. In particular
since we won't need this for Wayland anyway and we shouldn't add
infrastructure for stuff that's on its way out anyway.
2014-01-15 20:16:20 +01:00
Lukas Nykryn
f89a4474e0
shell-completion: remove load from systemctl
2014-01-15 15:31:07 +01:00
Lukas Nykryn
1b2457e16d
Revert "Revert "coredumpctl: in case of error free pattern after print""
...
In the case of the error set_consume will free the pointer 'pattern'
which is later used in log_error. Either we should stop priniting that
or use simple set_put and free pattern manually.
This reverts commit ece6b8fd5b
.
2014-01-15 12:46:44 +01:00
Tom Gundersen
3bedba4ae1
sd-resolv: rename to sd-resolve
...
Lennart pointed out that we were misspelling 'resolve'. Let's not repeat the mistakes of 'umount'
and 'resolv.conf'.
2014-01-14 18:25:16 +01:00
Kay Sievers
c2cb7cbbd5
README: list CONFIG_FHANDLE in main section
2014-01-14 22:59:07 +08:00
Umut Tezduyar Lindskog
0018092829
readme: CONFIG_FHANDLE is a requirement
2014-01-14 22:59:07 +08:00
Zbigniew Jędrzejewski-Szmek
ece6b8fd5b
Revert "coredumpctl: in case of error free pattern after print"
...
This reverts commit cf50a55277
.
set_consume frees on error.
2014-01-14 09:49:30 -05:00
Lukas Nykryn
cf50a55277
coredumpctl: in case of error free pattern after print
2014-01-14 15:40:16 +01:00
Tom Gundersen
8c56c8bd31
sd-resolv: remove left-over comment
...
We are anyway breaking the API by renaming everything, so that is not a concern.
2014-01-14 14:09:01 +01:00
Tom Gundersen
8a6233fb65
sd-resolv: require SOCK_CLOEXEC
2014-01-14 14:09:01 +01:00
Daniel Buch
12f404c4d1
sd-resolv: rename old asyncns variables
2014-01-14 13:32:13 +01:00
Daniel Buch
2a4be8ad98
sd_resolv: Rename structs- and function names to sd_resolv
2014-01-14 13:31:33 +01:00
Kay Sievers
135a4eb434
bus: update kdbus.h (ABI break)
2014-01-14 20:17:24 +08:00
Kay Sievers
9597086027
bus: update kdbus.h (ABI break)
2014-01-14 16:10:08 +08:00
Tom Gundersen
5be4d38e31
networkd: DHCPv4 - allow opting out of using DNS servers
...
Setting UseDNS=no will ignore any received DNS servers.
2014-01-13 21:54:57 +01:00
Tom Gundersen
5681d7fb8b
libsystemd-dns: merge into libsystemd
...
Also rename sd-dns -> sd-resolv.
2014-01-13 21:06:13 +01:00
Tom Gundersen
0b54473e9b
libsystemd-rtnl: merge into libsystemd
2014-01-13 21:06:13 +01:00
Tom Gundersen
c813ca40c8
libsystemd-dhcp: merge into libsystemd
2014-01-13 21:06:08 +01:00
Tom Gundersen
6bb648a16a
libsystemd-bus: rename to libsystemd
...
Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place
of libsystemd-bus.
2014-01-13 18:54:19 +01:00
Kay Sievers
883b369087
TODO: update
2014-01-13 10:51:26 +08:00
Daniel Buch
8e50b5a77c
sd-dns: coding style cleanup
2014-01-13 00:08:42 +01:00
Tom Gundersen
f3621dec52
networkd: fix wording
2014-01-12 15:44:40 +01:00
Tom Gundersen
c74ecd7182
TODO: update rtnl/network sections
2014-01-12 15:37:21 +01:00
Tom Gundersen
3bef724f7e
networkd: generate resolv.conf
...
This adds support to generate a basic resolv.conf in /run/systemd/network.
This file will not take any effect unless a symlink is created from
/etc/resolv.conf.
Nameservers received over DHCP takes precedence over statically configured ones.
Note: /etc/resolv.conf is severely limited, so in the future we will likely
rather provide a much more powerfull nss plugin (or something to that effect),
but this should allow current users to function without any loss of
functionality.
2014-01-12 15:37:21 +01:00
Tom Gundersen
924fe4304a
networkd: bridge - remove redundant state
...
We will not insist on getting the reply from rtnl that the bridge
was created before considering the bridge ready, as we will be
notified about that via udev. We will listen for the rtnl response
however, in case the creation of the bridge failed.
2014-01-12 15:37:21 +01:00
Tom Gundersen
f46685a4c0
networkd: don't automatically reload config at runtime
...
We don't know if the config will be consistent, so do as systemd itself and only
load config when the daemon starts (and possibly, in the future, when explicitly requested).
2014-01-12 15:37:21 +01:00
Tom Gundersen
ab47d620b4
networkd: improve logging a bit
2014-01-12 15:37:21 +01:00
Tom Gundersen
920e2957be
bus-proxyd: add some more debugging
...
Make sure we print a message when exiting with an error.
2014-01-12 15:37:20 +01:00
Lennart Poettering
f069efb471
core: don't allow setting NOTIFY_SOCKET and similar env vars we need ourselves via SetEnvironment bus calls
...
We just quietly eat them up, so that simple environment importing still
works without error.
2014-01-12 20:10:40 +08:00
Lennart Poettering
09ecd746c9
update TODO
2014-01-12 20:10:33 +08:00
Lennart Poettering
43d03a8376
core: clean up environment block for --user instances a bit
2014-01-12 19:41:57 +08:00
Lennart Poettering
d44fdf4954
bus: add test case for signature type
2014-01-12 19:41:57 +08:00