summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-01-11udev/net_id: Introduce predictable network names for Linux on System zHendrik Brueckner
Use the bus-ID to create predicatable devices names for network interfaces on Linux on System z instances. The bus-ID identifies a device in the s390 channel subsystem. Network interfaces of device type Ethernet are named as: enccw0.0.1234 (13 characters) up to enccwff.7.ffff (14 characters) CTC network devices of device type SLIP, use a different prefix as follows: slccw0.0.1234 (13 characters) See also Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=870859 [tomegun: typical problem of netdevs switching names between reboots.]
2014-01-11Revert "bus: export bus address also when compiled without kdbus"Kay Sievers
This reverts commit 9130f2128b64de19a3b7d6db7e0d371adfd296c2. It's too early to do that. For now we should only "break" the --enable-kdbus case, not the normal one.
2014-01-10bus: convert a bus error with NULL name into an errno of 0 in ↵Lennart Poettering
sd_bus_error_get_errno()
2014-01-09core: fix lack of notifications after reloadZbigniew Jędrzejewski-Szmek
2014-01-09tmpfiles: don't allow label_fix to print ENOENT when we want to ignore itLukas Nykryn
2014-01-09delta: ensure that d_type will be set on every fsLukas Nykryn
2014-01-08networkd: print the received DHCPv4 address and gatewayZbigniew Jędrzejewski-Szmek
It seems that networkd stores in_addr.s_addr contents in reverse order (little-endian, not network order). This is a bit confusing, but sd_rtnl evidently likes this order.
2014-01-08networkd: use structured logging for links and bridgesZbigniew Jędrzejewski-Szmek
2014-01-08No need to canonicalize fixed pathsZbigniew Jędrzejewski-Szmek
2014-01-08Improve messages about user mode a bitZbigniew Jędrzejewski-Szmek
2014-01-09nspawn: do not invoke RegisterMachine on machined from inside the new PID ↵Lennart Poettering
namespace On kdbus user credentials are not translated across PID namespaces, but simply invalidated if sender and receiver namespaces don't match. This makes it impossible to properly authenticate requests from different PID namespaces (which is probably a good thing). Hence, register the machine in the parent and not the client and properly synchronize this.
2014-01-09bus: make the bus driver support the driver interface under both / and ↵Lennart Poettering
/org/freedesktop/DBus Some clients apparently use the "/" path instead of "/org/freedesktop/DBus". dbus-daemon didn't care, so we need to support both.
2014-01-09logind: wait for the user service to finish startup before completing login ↵Lennart Poettering
attempt
2014-01-08driverd: fix use-after-free error when maintaining match listsLennart Poettering
2014-01-08Revert "bus-driverd: do not track identical matches"Kay Sievers
This reverts commit 234e28aa1cd37dee597c719ac5ca004c6215d28c.
2014-01-08bus: export bus address also when compiled without kdbusMantas Mikulėnas
It was removed from user@.service, so it should be added here.
2014-01-08bus: use existing macros from def.hMantas Mikulėnas
2014-01-08bus-driverd: do not track identical matchesKay Sievers
Identical matches are only one time in the hash map but multiple times in the list; when removing, the hash will be empty but the list still has entries. Not adding dupicates to the list should keep us in sync and prevent hitting the assert.
2014-01-08bus-driverd: properly reply to UpdateActivationEnvironment callKay Sievers
2014-01-08pam_systemd: export DBUS_SESSION_BUS_ADDRESSKay Sievers
2014-01-08bus: allow omitting quotes for values in match stringsLennart Poettering
dbus-daemon allows this, the dbus specification doesn't explicitly say anything about it, so let's follow dbus-daemon on this.
2014-01-08bus-driverd: implement UpdateActivationEnvironment methodKay Sievers
2014-01-07dbus1-generator: fix copy-pastoZbigniew Jędrzejewski-Szmek
2014-01-07sleep.c: fix typoMichele Curti
2014-01-08bus-driverd: support user modeKay Sievers
2014-01-07mount: don't creat local-fs.target links for mount units when runnin in user ↵Lennart Poettering
mode
2014-01-07dbus1-generator: always pull proxy socket into sockets.targetKay Sievers
dbus.socket does that for --system, we need to explicitly pull it in for --user.
2014-01-07core: do not add implicit dbus.socket dependencyKay Sievers
Sockets are ordered before sockets.target anyway, and sockets.target is ordered before basic.target, and hence all bus services end up being ordered after dbus.socket anyway. Since for kdbus clients dbus.socket is obsolete, let's not add this dependency explicitly. Also, it's hot in Australia and we are going for breakfast now.
2014-01-07core: --user -- add basic.target an sort against it like --system doesKay Sievers
2014-01-07core: --user -- move generator directories from /tmp to $XDG_RUNTIME_DIRKay Sievers
2014-01-06libsystemd-dns: expose list of DNS serversTom Gundersen
My original patch only returned the first DNS server, but we might want all of them.
2014-01-05libsystemd-dhcp: expose received DNS serverTom Gundersen
2014-01-05Fix format string mismatch introduced in ab9001a1Michael Scherer
src/libsystemd-bus/sd-bus.c: In function 'sd_bus_open_user': src/libsystemd-bus/sd-bus.c:1104:25: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'long unsigned int' [-Wformat=] asprintf(&b->address, UNIX_USER_BUS_FMT, (unsigned long) getuid());
2014-01-05Revert "bus: driverd: don't attempt to remove from empty list"Kay Sievers
We need to find the real reason for the failure, this just avoids the symptoms. This reverts commit 215c7625dd510759290d45d6c46434e4338843ec.
2014-01-05journal: Add missing byte order conversionsGeorge McCollister
Convert entry_array.items[0] to host byte order prior to passing it to chain_cache_put(). [zj: also use le64toh in journal-verify.c] https://bugs.freedesktop.org/show_bug.cgi?id=73194
2014-01-05shared/install: use char** convention for strvsZbigniew Jędrzejewski-Szmek
2014-01-05Remove unused variablesZbigniew Jędrzejewski-Szmek
2014-01-05strv: multiple cleanupsSimon Peeters
- turn strv_merge into strv_extend_strv. appending strv b to the end of strv a instead of creating a new strv - strv_append: remove in favor of strv_extend and strv_push. - strv_remove: write slightly more elegant - strv_remove_prefix: remove unused function - strv_overlap: use strv_contains - strv_printf: STRV_FOREACH handles NULL correctly
2014-01-05shared: util.c: unify split and split_quotedSimon Peeters
2014-01-05bus: driverd: don't attempt to remove from empty listMarc-Antoine Perennou
2014-01-05bus: open user, not system, bus in bus_open_user_systemd()Mantas Mikulėnas
2014-01-05util.c: use read_one_line_file where possibleSimon Peeters
2014-01-05shared: procfs_file_alloca: handle pid==0Simon Peeters
when pid is set to 0 use /proc/self
2014-01-05swap: remove if/else with the same data pathStefan Beller
This was introduced in e1770af812 (2012-02-03, swap: replace failure boolean by result enum). This just removes unneeded lines of code, no functional change.
2014-01-05man: document some more bus functionsZbigniew Jędrzejewski-Szmek
2014-01-05networkd: refuse to use .network files with missing Address/Gateway keyTom Gundersen
These keys are mandatory in [Address]/[Route] sections. Otherwise, we hit an assert: ens3: setting addresses Assertion 'address->family == 2 || address->family == 10' failed at /build/amd64-generic/tmp/portage/sys-apps/systemd-9999-r1/work/systemd-9999/src/network/networkd-address.c:137, function address_configure(). Aborting. Reported-by: Alex Polvi <alex.polvi@coreos.com> At the same time make sure Route's Destination and Gateway uses the same address family.
2014-01-04sd-event: add missing symbol, sd_event_source_set_io_fdDave Reisner
This appears to have been omitted in 30caf8f3afd29da8 when the the function was added.
2014-01-04udev: net_id - handle virtio busesTom Gundersen
This was already supported in path_id, so should be uncontroversial.
2014-01-04Revert "net-util: add support for Type=ethernet"Tom Gundersen
This reverts commit 4cd1214db6cf4b262e8ce6381bc710091b375c96. This may still be fixed in the kernel, revert this for now until we see how it all shakes out.
2014-01-04systemctl: improve readability on failed commandsThomas Hindoe Paaboel Andersen
Not long ago a failed command would print: "Failed to start something.service: ..." regardless of whether the command was to start/stop/restart/etc. With e3e0314 this was improved to print the method used. E.g. for stopping: "Failed to StopUnit something.service: ..." This patch matches the method to a more human readable word. E.g: "Failed to stop something.service: ..."