chiark / gitweb /
elogind.git
10 years agobusctl: include connection name in busctl output
Lennart Poettering [Wed, 22 Jan 2014 17:43:03 +0000 (18:43 +0100)]
busctl: include connection name in busctl output

10 years agobus: unescape connection name when reading it from credentials
Lennart Poettering [Wed, 22 Jan 2014 17:45:38 +0000 (18:45 +0100)]
bus: unescape connection name when reading it from credentials

10 years agosd-rtnl: simplify sd_rtnl_message_addr_new()
Tom Gundersen [Tue, 21 Jan 2014 14:55:57 +0000 (15:55 +0100)]
sd-rtnl: simplify sd_rtnl_message_addr_new()

Split out into sd_rtnl_message_addr_set_{prefixlen,flags,scope}().

10 years agonetworkd: add basic bonding support
Tom Gundersen [Tue, 21 Jan 2014 20:58:08 +0000 (21:58 +0100)]
networkd: add basic bonding support

Refactor bridging support to be generic netdev support and extend it to
cover bonding as well.

10 years agosd-rtnl: add sd_rtnl_message_append_u16()
Tom Gundersen [Wed, 22 Jan 2014 13:16:01 +0000 (14:16 +0100)]
sd-rtnl: add sd_rtnl_message_append_u16()

10 years agoDEFINE_STRING_TABLE_LOOKUP: return _INVALID_* rather than assert on NULL string
Tom Gundersen [Tue, 21 Jan 2014 23:14:04 +0000 (00:14 +0100)]
DEFINE_STRING_TABLE_LOOKUP: return _INVALID_* rather than assert on NULL string

10 years agosd-rtnl: link - allow setting the change mask
Tom Gundersen [Tue, 21 Jan 2014 14:20:42 +0000 (15:20 +0100)]
sd-rtnl: link - allow setting the change mask

10 years agobus: pass timestamp info only to caller if he asked for it
Lennart Poettering [Wed, 22 Jan 2014 15:44:32 +0000 (16:44 +0100)]
bus: pass timestamp info only to caller if he asked for it

10 years agobus: include connection name in credentials structure
Lennart Poettering [Wed, 22 Jan 2014 15:28:58 +0000 (16:28 +0100)]
bus: include connection name in credentials structure

10 years agobus: when allocating a memfd for usage in a bus connection, name the memfd after...
Lennart Poettering [Wed, 22 Jan 2014 15:16:04 +0000 (16:16 +0100)]
bus: when allocating a memfd for usage in a bus connection, name the memfd after the bus connection

10 years agobus: add support for attaching name to bus connections for debugging purposes
Lennart Poettering [Wed, 22 Jan 2014 15:09:59 +0000 (16:09 +0100)]
bus: add support for attaching name to bus connections for debugging purposes

10 years agobus: extend memfd api so that we can label memfds for debugging purposes
Lennart Poettering [Wed, 22 Jan 2014 12:06:04 +0000 (13:06 +0100)]
bus: extend memfd api so that we can label memfds for debugging purposes

10 years agoman: document message timestamping/sequence number API
Lennart Poettering [Wed, 22 Jan 2014 10:44:54 +0000 (11:44 +0100)]
man: document message timestamping/sequence number API

10 years agobus: rename sd_bus_get_realtime_timestamp() to sd_bus_get_realtime_usec()
Lennart Poettering [Wed, 22 Jan 2014 10:25:39 +0000 (11:25 +0100)]
bus: rename sd_bus_get_realtime_timestamp() to sd_bus_get_realtime_usec()

This brings the calls into similar style as the respective functions in
libsystemd-journal, and also is a bi shorter and more descriptive since
it clarifies the time unit used.

10 years agobus: simplify naming of feature negotation calls
Lennart Poettering [Wed, 22 Jan 2014 10:21:51 +0000 (11:21 +0100)]
bus: simplify naming of feature negotation calls

Two verbs in a function name suck, so let's simplify this a bit.

10 years agobus: add API for querying the kdbus message sequence number
Lennart Poettering [Wed, 22 Jan 2014 09:57:12 +0000 (10:57 +0100)]
bus: add API for querying the kdbus message sequence number

10 years agoudev: static_node - do not exit rule after first static_node item
Kay Sievers [Wed, 22 Jan 2014 09:47:48 +0000 (10:47 +0100)]
udev: static_node - do not exit rule after first static_node item

The nodes usually do not exist, so handle the next item instead of
skipping the entire rule.

10 years agobus: implement synchronous message calls via kernel ioctl
Lennart Poettering [Tue, 21 Jan 2014 14:02:07 +0000 (15:02 +0100)]
bus: implement synchronous message calls via kernel ioctl

10 years agolibsystemd: split up into subdirs
Tom Gundersen [Tue, 21 Jan 2014 13:10:18 +0000 (14:10 +0100)]
libsystemd: split up into subdirs

We still only produce on .so, but let's keep the sources separate to make things a bit
less messy.

10 years agohwdb: Update database of Bluetooth company identifiers
Marcel Holtmann [Tue, 21 Jan 2014 01:53:16 +0000 (17:53 -0800)]
hwdb: Update database of Bluetooth company identifiers

10 years agolibsystemd-dhcp: revert merge into libsystemd
Tom Gundersen [Mon, 20 Jan 2014 22:40:30 +0000 (23:40 +0100)]
libsystemd-dhcp: revert merge into libsystemd

Unlike the other merged libs, the rest of libsystemd will never depend on
sd-dhcp-client, so there is no reason not to keep it separate.

10 years agoTODO: update
Kay Sievers [Mon, 20 Jan 2014 22:55:02 +0000 (23:55 +0100)]
TODO: update

10 years agoRevert "sd-bus: let sd_bus_call() use the synchronous kdbus method"
Kay Sievers [Mon, 20 Jan 2014 22:42:05 +0000 (23:42 +0100)]
Revert "sd-bus: let sd_bus_call() use the synchronous kdbus method"

This reverts commit 021b89861d0b1defcbd6ba71d1aaf6271785a942.

Something is not quite right, "KillUnit" sent from systemctl is not
handled correctly and shutdown has problems.

10 years agologind: introduce session "positions"
David Herrmann [Sat, 30 Nov 2013 10:39:48 +0000 (11:39 +0100)]
logind: introduce session "positions"

logind has no concept of session ordering. Sessions have a unique name,
some attributes about the capabilities and that's already it. There is
currently no stable+total order on sessions. If we use the logind API to
switch between sessions, we are faced with an unordered list of sessions
we have no clue of.

This used to be no problem on seats with VTs or on seats with only a
single active session. However, with the introduction of multi-session
capability for seats without VTs, we need to find a way to order sessions
in a stable way.

This patch introduces session "positions". A position is a simple integer
assigned to a session which is never changed implicitly (currently, we
also don't change it explicitly, but that may be changed someday). For
seats with VTs, we force the position to be the same as the VTnr. Without
VTs, we simply find the lowest unassigned number and use it as position.
If position-assignment fails or if, for any reason, we decide to not
assign a position to a session, the position is set to 0 (which is treated
as invalid position).
During session_load() or if two sessions have the same VTnr, we may end up
with two sessions with the same position (this shouldn't happen, but lets
be fail-safe in case some other part of the stack fails). This case is
dealt with gracefully by ignoring any session but the first session
assigned to the position. Thus, session->pos is a hint, seat->positions[i]
is the definite position-assignment. Always verify both match in case you
need to modify them!

Additionally, we introduce SwitchTo(unsigned int) on the seat-dbus-API.
You can call it with any integer value != 0 and logind will try to switch
to the request position. If you implement a compositor or any other
session-controller, you simply watch for ctrl+alt+F1 to F12 and call
SwitchTo(Fx). logind will figure a way out deal with this number.
For convenience, we also introduce SwitchToNext/Previous(). It should be
called on ctrl+alt+Left/Right (like the kernel-console used to support).

Note that the public API (SwitchTo*()) is *not* bound to the underlying
logic that is implemented now. We don't export "session-positions" on the
dbus/C API! They are an implementation detail. Instead, the SwitchTo*()
API is supposed to be a hint to let logind choose the session-switching
logic. Any foreground session-controller is free to enumerate/order
existing sessions according to their needs and call Session.Activate()
manually. But the SwitchTo*() API provides a uniform behavior across
session-controllers.

Background: Session-switching keys depend on the active keymap. The XKB
specification provides the XKB_KEY_XF86Switch_VT_1-12 key-symbols which
have to be mapped by all keymaps to allow session-switching. It is usually
bound to ctrl+alt+Fx but may be set differently. A compositor passes any
keyboard input to XKB before passing it to clients. In case a key-press
invokes the XKB_KEY_XF86Switch_VT_x action, the keypress is *not*
forwarded to clients, but instead a session-switch is scheduled.

This actually prevents us from handling these keys outside of the session.
If an active compositor has a keymap with a different mapping of these
keys, and logind itself tries to catch these combinations, we end up with
the key-press sent to the compositor's clients *and* handled by logind.
This is *bad* and we must avoid this. The only situation where a
background process is allowed to handle key-presses is debugging and
emergency-keys. In these cases, we don't care for keymap mismatches and
accept the double-event. Another exception is unmapped keys like
PowerOff/Suspend (even though this one is controversial).

10 years agoexec: introduce PrivateDevices= switch to provide services with a private /dev
Lennart Poettering [Mon, 20 Jan 2014 18:54:51 +0000 (19:54 +0100)]
exec: introduce PrivateDevices= switch to provide services with a private /dev

Similar to PrivateNetwork=, PrivateTmp= introduce PrivateDevices= that
sets up a private /dev with only the API pseudo-devices like /dev/null,
/dev/zero, /dev/random, but not any physical devices in them.

10 years agoupdate TODO
Lennart Poettering [Mon, 20 Jan 2014 16:57:42 +0000 (17:57 +0100)]
update TODO

10 years agosd-dhcp-client: refactor state machine check
Umut Tezduyar Lindskog [Mon, 20 Jan 2014 08:58:41 +0000 (09:58 +0100)]
sd-dhcp-client: refactor state machine check

10 years agosystemctl: skip native unit file handling if sysv file handling already handled every...
Lennart Poettering [Mon, 20 Jan 2014 12:43:20 +0000 (13:43 +0100)]
systemctl: skip native unit file handling if sysv file handling already handled everything

Issue pointed out by Colin Guthrie.

10 years agoupdate TODO
Lennart Poettering [Mon, 20 Jan 2014 12:42:52 +0000 (13:42 +0100)]
update TODO

10 years agosd-bus: let sd_bus_call() use the synchronous kdbus method
Daniel Mack [Sat, 18 Jan 2014 19:09:14 +0000 (20:09 +0100)]
sd-bus: let sd_bus_call() use the synchronous kdbus method

10 years agobus-kernel: move bus_kernel_make_message
Daniel Mack [Sat, 18 Jan 2014 19:06:21 +0000 (20:06 +0100)]
bus-kernel: move bus_kernel_make_message

This makes future commits more readable.

10 years agonetworkd: use 'up'/'down' rather than 'on'/'off'
Tom Gundersen [Sun, 19 Jan 2014 14:43:33 +0000 (15:43 +0100)]
networkd: use 'up'/'down' rather than 'on'/'off'

10 years agonetworkd: dhcp - by default ignore the MTU
Tom Gundersen [Sat, 18 Jan 2014 20:19:09 +0000 (21:19 +0100)]
networkd: dhcp - by default ignore the MTU

10 years agosd-dhcp-client: refactor client_{free,new}
Tom Gundersen [Sat, 18 Jan 2014 18:32:45 +0000 (19:32 +0100)]
sd-dhcp-client: refactor client_{free,new}

Make them more simiar to sd_bus and friends. Also factor out the event attachment. In the future,
we will likely want to support external main-loops, so this is a first step. For the time being,
we are still requiring an sd_event to be attached though.

10 years agosd-resolv: declare functions from .h public
Daniel Buch [Sat, 18 Jan 2014 15:07:31 +0000 (16:07 +0100)]
sd-resolv: declare functions from .h public

10 years agosd-resolve: rename get_next() and get_n_queries() + cleanup
Daniel Buch [Sat, 18 Jan 2014 13:30:28 +0000 (14:30 +0100)]
sd-resolve: rename get_next() and get_n_queries() + cleanup

10 years agosd-resolve: Allocate objects with new()
Daniel Buch [Sat, 18 Jan 2014 13:30:27 +0000 (14:30 +0100)]
sd-resolve: Allocate objects with new()

10 years agosd-resolve: get rid of sd_resolve_freeanswer()
Daniel Buch [Sat, 18 Jan 2014 13:30:26 +0000 (14:30 +0100)]
sd-resolve: get rid of sd_resolve_freeanswer()

10 years agosd-dhcp-client/networkd: add domainname support
Tom Gundersen [Sat, 18 Jan 2014 14:47:57 +0000 (15:47 +0100)]
sd-dhcp-client/networkd: add domainname support

10 years agonetworkd: don't hard depend on system bus
Tom Gundersen [Sat, 18 Jan 2014 00:37:35 +0000 (01:37 +0100)]
networkd: don't hard depend on system bus

We may not have a dbus daemon in the initrd (until we can rely on kdbus). In
this case, simply ignore any attempts at using the bus. There is only one user
for now, but surely more to come.

In order to work reliably in the real root without kdbus, but at the same time
don't delay boot when kdbus is in use, order ourselves after dbus.service.

10 years agonetworkd: resolv.conf - reword comment
Tom Gundersen [Fri, 17 Jan 2014 16:09:56 +0000 (17:09 +0100)]
networkd: resolv.conf - reword comment

Take into account that users may want to use resolvconf(8), or similar. Also,
avoid repeated calls to fputs().

10 years agolibsystemd: sync kdbus.h
Daniel Mack [Fri, 17 Jan 2014 23:50:37 +0000 (00:50 +0100)]
libsystemd: sync kdbus.h

10 years agounits: drop [Install] section from multi-user.target and graphical.target
Lennart Poettering [Fri, 17 Jan 2014 19:27:35 +0000 (20:27 +0100)]
units: drop [Install] section from multi-user.target and graphical.target

They were supposed to make it easy to make the default.target a symlink
to these targets, but this was never advertised and we have a better
command for this now in "systemctl set-default". Since the install
section makes the output of "systemctl list-unit-files" confusing (since
it makes the units appear as "disabled"), let's drop the sections.

10 years agoUpdate TODO
Lennart Poettering [Fri, 17 Jan 2014 18:59:50 +0000 (19:59 +0100)]
Update TODO

10 years agosd-resolve: rename structs to fit coding-style e.g 'struct MixedCase'
Daniel Buch [Wed, 15 Jan 2014 17:21:30 +0000 (18:21 +0100)]
sd-resolve: rename structs to fit coding-style e.g 'struct MixedCase'

lets get this right once, and if not for all, atleast for now :)

So comments and input about nameing is very welcome.

Cheers

10 years agosd-resolve: get rid of _t post-fixes for sd_ objects
Daniel Buch [Wed, 15 Jan 2014 17:21:29 +0000 (18:21 +0100)]
sd-resolve: get rid of _t post-fixes for sd_ objects

We dont want _t prefixes, right?

10 years agobuild: Skip .busname generator when kdbus is off
Umut Tezduyar Lindskog [Fri, 17 Jan 2014 12:34:35 +0000 (13:34 +0100)]
build: Skip .busname generator when kdbus is off

10 years agobus: Fix read_word_le() function
Lukasz Skalski [Fri, 17 Jan 2014 17:11:07 +0000 (18:11 +0100)]
bus: Fix read_word_le() function

10 years agoupdate TODO
Lennart Poettering [Tue, 5 Nov 2013 10:53:09 +0000 (11:53 +0100)]
update TODO

10 years agolibsystemd: rename LIBSYSTEMD_BUS to LIBSYSTEMD
Tom Gundersen [Fri, 17 Jan 2014 12:43:25 +0000 (13:43 +0100)]
libsystemd: rename LIBSYSTEMD_BUS to LIBSYSTEMD

10 years agobus: update kdbus.h (ABI break)
Kay Sievers [Fri, 17 Jan 2014 00:29:48 +0000 (01:29 +0100)]
bus: update kdbus.h (ABI break)

10 years agonetworkd: resolv.conf - extend the comment a bit
Tom Gundersen [Thu, 16 Jan 2014 19:20:08 +0000 (20:20 +0100)]
networkd: resolv.conf - extend the comment a bit

10 years agosd-dhcp-client: minor style fixes
Tom Gundersen [Thu, 16 Jan 2014 18:55:25 +0000 (19:55 +0100)]
sd-dhcp-client: minor style fixes

Also introduce a cleanup macro for DHCPLease

10 years agosd-dhcp-client: refactor DNS support
Tom Gundersen [Thu, 16 Jan 2014 18:32:22 +0000 (19:32 +0100)]
sd-dhcp-client: refactor DNS support

Rather than keeping an array of pointers to addresses, just keep an array of addresses.

10 years agosd-dhcp-client/networkd: add transient hostname support
Tom Gundersen [Mon, 13 Jan 2014 22:48:28 +0000 (23:48 +0100)]
sd-dhcp-client/networkd: add transient hostname support

10 years agonetworkd: dhcp - only set the MTU option once
Tom Gundersen [Thu, 16 Jan 2014 15:50:19 +0000 (16:50 +0100)]
networkd: dhcp - only set the MTU option once

Only set MTU request when creating the dhcp client, not every time it is restarted.

10 years agonetworkd: link - only save original MTU when necessary
Tom Gundersen [Thu, 16 Jan 2014 14:09:57 +0000 (15:09 +0100)]
networkd: link - only save original MTU when necessary

10 years agonetworkd: improve logging
Tom Gundersen [Thu, 16 Jan 2014 13:59:26 +0000 (14:59 +0100)]
networkd: improve logging

10 years agobus: fix issue with reference counting
Zbigniew Jędrzejewski-Szmek [Thu, 16 Jan 2014 06:15:17 +0000 (01:15 -0500)]
bus: fix issue with reference counting

b7fc42e03 introduced a regression.

10 years agobuild-sys: increase valgrind stack limit so all tests pass again
Zbigniew Jędrzejewski-Szmek [Tue, 14 Jan 2014 19:27:48 +0000 (14:27 -0500)]
build-sys: increase valgrind stack limit so all tests pass again

10 years agobus: break reference cycle between bus and messages
Zbigniew Jędrzejewski-Szmek [Tue, 14 Jan 2014 19:26:37 +0000 (14:26 -0500)]
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 :)

10 years agobuild-sys: fix --enable-dbus
Chengwei Yang [Wed, 15 Jan 2014 05:06:00 +0000 (13:06 +0800)]
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.

10 years agosd-dhcp-client/networkd: add interface MTU support
Tom Gundersen [Mon, 13 Jan 2014 22:07:59 +0000 (23:07 +0100)]
sd-dhcp-client/networkd: add interface MTU support

10 years agosd-rtnl: only alter link flags when reqeusted to
Tom Gundersen [Thu, 16 Jan 2014 00:34:27 +0000 (01:34 +0100)]
sd-rtnl: only alter link flags when reqeusted to

10 years agosd-dhcp-client: fix memory corruption
Tom Gundersen [Thu, 16 Jan 2014 00:40:23 +0000 (01:40 +0100)]
sd-dhcp-client: fix memory corruption

10 years agoevent: extend priority raneg to 64bit
Lennart Poettering [Wed, 15 Jan 2014 08:08:20 +0000 (16:08 +0800)]
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.

10 years agosystemctl: introduce new "import-environment" command
Lennart Poettering [Wed, 15 Jan 2014 07:21:29 +0000 (15:21 +0800)]
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.

10 years agologind: get rid of X11 display socket symlink
Lennart Poettering [Wed, 15 Jan 2014 07:19:17 +0000 (15:19 +0800)]
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.

10 years agoshell-completion: remove load from systemctl
Lukas Nykryn [Wed, 15 Jan 2014 14:31:07 +0000 (15:31 +0100)]
shell-completion: remove load from systemctl

10 years agoRevert "Revert "coredumpctl: in case of error free pattern after print""
Lukas Nykryn [Wed, 15 Jan 2014 11:46:44 +0000 (12:46 +0100)]
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 ece6b8fd5bbc1fee16f652e680e3033f2f3efc4a.

10 years agosd-resolv: rename to sd-resolve
Tom Gundersen [Tue, 14 Jan 2014 17:18:43 +0000 (18:18 +0100)]
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'.

10 years agoREADME: list CONFIG_FHANDLE in main section
Kay Sievers [Tue, 14 Jan 2014 14:58:04 +0000 (22:58 +0800)]
README: list CONFIG_FHANDLE in main section

10 years agoreadme: CONFIG_FHANDLE is a requirement
Umut Tezduyar Lindskog [Tue, 14 Jan 2014 14:26:54 +0000 (15:26 +0100)]
readme: CONFIG_FHANDLE is a requirement

10 years agoRevert "coredumpctl: in case of error free pattern after print"
Zbigniew Jędrzejewski-Szmek [Tue, 14 Jan 2014 14:49:10 +0000 (09:49 -0500)]
Revert "coredumpctl: in case of error free pattern after print"

This reverts commit cf50a55277ee432e1217ad894afcbd9a664ff96c.

set_consume frees on error.

10 years agocoredumpctl: in case of error free pattern after print
Lukas Nykryn [Tue, 14 Jan 2014 14:40:16 +0000 (15:40 +0100)]
coredumpctl: in case of error free pattern after print

10 years agosd-resolv: remove left-over comment
Tom Gundersen [Tue, 14 Jan 2014 12:51:18 +0000 (13:51 +0100)]
sd-resolv: remove left-over comment

We are anyway breaking the API by renaming everything, so that is not a concern.

10 years agosd-resolv: require SOCK_CLOEXEC
Tom Gundersen [Tue, 14 Jan 2014 12:50:35 +0000 (13:50 +0100)]
sd-resolv: require SOCK_CLOEXEC

10 years agosd-resolv: rename old asyncns variables
Daniel Buch [Tue, 14 Jan 2014 10:46:49 +0000 (11:46 +0100)]
sd-resolv: rename old asyncns variables

10 years agosd_resolv: Rename structs- and function names to sd_resolv
Daniel Buch [Tue, 14 Jan 2014 10:46:48 +0000 (11:46 +0100)]
sd_resolv: Rename structs- and function names to sd_resolv

10 years agobus: update kdbus.h (ABI break)
Kay Sievers [Tue, 14 Jan 2014 12:15:25 +0000 (20:15 +0800)]
bus: update kdbus.h (ABI break)

10 years agobus: update kdbus.h (ABI break)
Kay Sievers [Tue, 14 Jan 2014 08:10:08 +0000 (16:10 +0800)]
bus: update kdbus.h (ABI break)

10 years agonetworkd: DHCPv4 - allow opting out of using DNS servers
Tom Gundersen [Mon, 13 Jan 2014 20:28:53 +0000 (21:28 +0100)]
networkd: DHCPv4 - allow opting out of using DNS servers

Setting UseDNS=no will ignore any received DNS servers.

10 years agolibsystemd-dns: merge into libsystemd
Tom Gundersen [Mon, 13 Jan 2014 20:03:28 +0000 (21:03 +0100)]
libsystemd-dns: merge into libsystemd

Also rename sd-dns -> sd-resolv.

10 years agolibsystemd-rtnl: merge into libsystemd
Tom Gundersen [Mon, 13 Jan 2014 19:14:44 +0000 (20:14 +0100)]
libsystemd-rtnl: merge into libsystemd

10 years agolibsystemd-dhcp: merge into libsystemd
Tom Gundersen [Mon, 13 Jan 2014 18:12:16 +0000 (19:12 +0100)]
libsystemd-dhcp: merge into libsystemd

10 years agolibsystemd-bus: rename to libsystemd
Tom Gundersen [Mon, 13 Jan 2014 16:30:51 +0000 (17:30 +0100)]
libsystemd-bus: rename to libsystemd

Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place
of libsystemd-bus.

10 years agoTODO: update
Kay Sievers [Mon, 13 Jan 2014 02:51:26 +0000 (10:51 +0800)]
TODO: update

10 years agosd-dns: coding style cleanup
Daniel Buch [Sun, 12 Jan 2014 18:42:33 +0000 (19:42 +0100)]
sd-dns: coding style cleanup

10 years agonetworkd: fix wording
Tom Gundersen [Sun, 12 Jan 2014 14:44:40 +0000 (15:44 +0100)]
networkd: fix wording

10 years agoTODO: update rtnl/network sections
Tom Gundersen [Sat, 11 Jan 2014 20:19:10 +0000 (20:19 +0000)]
TODO: update rtnl/network sections

10 years agonetworkd: generate resolv.conf
Tom Gundersen [Sun, 5 Jan 2014 22:01:10 +0000 (23:01 +0100)]
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.

10 years agonetworkd: bridge - remove redundant state
Tom Gundersen [Sat, 11 Jan 2014 20:20:14 +0000 (20:20 +0000)]
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.

10 years agonetworkd: don't automatically reload config at runtime
Tom Gundersen [Sat, 11 Jan 2014 20:16:13 +0000 (20:16 +0000)]
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).

10 years agonetworkd: improve logging a bit
Tom Gundersen [Sun, 12 Jan 2014 14:24:11 +0000 (15:24 +0100)]
networkd: improve logging a bit

10 years agobus-proxyd: add some more debugging
Tom Gundersen [Fri, 10 Jan 2014 20:40:19 +0000 (20:40 +0000)]
bus-proxyd: add some more debugging

Make sure we print a message when exiting with an error.

10 years agocore: don't allow setting NOTIFY_SOCKET and similar env vars we need ourselves via...
Lennart Poettering [Sun, 12 Jan 2014 12:10:40 +0000 (20:10 +0800)]
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.

10 years agoupdate TODO
Lennart Poettering [Sun, 12 Jan 2014 12:10:33 +0000 (20:10 +0800)]
update TODO

10 years agocore: clean up environment block for --user instances a bit
Lennart Poettering [Sun, 12 Jan 2014 11:39:56 +0000 (19:39 +0800)]
core: clean up environment block for --user instances a bit

10 years agobus: add test case for signature type
Lennart Poettering [Sun, 12 Jan 2014 11:15:29 +0000 (19:15 +0800)]
bus: add test case for signature type

10 years agoman: add busctl(1)
Zbigniew Jędrzejewski-Szmek [Sun, 12 Jan 2014 04:44:34 +0000 (23:44 -0500)]
man: add busctl(1)