chiark / gitweb /
5 years agoupdate TODO
Lennart Poettering [Tue, 10 Feb 2015 19:46:19 +0000 (20:46 +0100)]
update TODO

5 years agobus-proxyd: initialize ioctl structure only once
Lennart Poettering [Tue, 10 Feb 2015 19:46:09 +0000 (20:46 +0100)]
bus-proxyd: initialize ioctl structure only once

5 years ago.gitignore: add systemd-pull
Vincent Batts [Tue, 10 Feb 2015 11:31:43 +0000 (12:31 +0100)]
.gitignore: add systemd-pull

5 years agojournald: don't specify inline in local functions
Lennart Poettering [Tue, 10 Feb 2015 11:32:54 +0000 (12:32 +0100)]
journald: don't specify inline in local functions

Leave it to the compiler to figure out whether it shall inline stuff or

Only place where using static inline is OK to use is in in header
files, really.

5 years agoshared: untabify
Lennart Poettering [Tue, 10 Feb 2015 11:32:19 +0000 (12:32 +0100)]
shared: untabify

5 years agologind: tell Coverity that we knowingly ignore mkdir()'s return value
Lennart Poettering [Tue, 10 Feb 2015 11:31:56 +0000 (12:31 +0100)]
logind: tell Coverity that we knowingly ignore mkdir()'s return value

5 years agoupdate TODO
Lennart Poettering [Tue, 10 Feb 2015 11:31:31 +0000 (12:31 +0100)]
update TODO

5 years agokeymap: Add microphone mute keymap for several HP laptops
Hui Wang [Tue, 10 Feb 2015 08:42:22 +0000 (16:42 +0800)]
keymap: Add microphone mute keymap for several HP laptops

On these several HP laptops, the microphone mute hotkey is "Fn+F8" and
the scancode for this hotkey is 0x81, but this scancode was mapped to
fn_esc in the HP generic keymap section. To fix this problem, we add
a machine specific keymap section to add the correct keymap rule.

Signed-off-by: Hui Wang <>
5 years agonetworkd: link_object_find - don't accept invalid input
Tom Gundersen [Mon, 9 Feb 2015 21:02:32 +0000 (22:02 +0100)]
networkd: link_object_find - don't accept invalid input

Reported by Zbigniew.

5 years agonetworkd: support route scopes
Tom Gundersen [Mon, 9 Feb 2015 15:22:34 +0000 (16:22 +0100)]
networkd: support route scopes

For now we only support the hardcoded values RT_SCOPE_{UNIVERSE,LOCAL,HOST},
and not numerical values or values from /etc/iproute2/rt_scopes.

This addresses

5 years agotreewide: correct typos and use consistent "MAC" spelling
Torstein Husebø [Mon, 9 Feb 2015 13:18:57 +0000 (14:18 +0100)]
treewide: correct typos and use consistent "MAC" spelling

5 years agonetworkd: bus - switch to properly escaped object paths
Tom Gundersen [Mon, 9 Feb 2015 11:00:33 +0000 (12:00 +0100)]
networkd: bus - switch to properly escaped object paths

5 years agonetworkd: add support for IPv6 tokens
Tom Gundersen [Sun, 8 Feb 2015 22:20:56 +0000 (23:20 +0100)]
networkd: add support for IPv6 tokens

This allows the admin to set the host-specific part of IPv6 addresses, but still
receive the prefix via SLAAC.

.network file snippet:



$ ip token
token ::12 dev eth0

This closes

5 years agonetworkd: generalize IPv4LL to LinkLocal
Tom Gundersen [Sun, 8 Feb 2015 21:27:15 +0000 (22:27 +0100)]
networkd: generalize IPv4LL to LinkLocal

This allows both IPv4 and IPv6 link-local addresses to be enabled or disabled. By default
we still enable IPv6LL and disable IPv4LL. The old config option is kept for backwards
compatibility, but removed from the documentation.

5 years agosd-rtnl: fix typesystem for IFLA_AF_SPEC
Tom Gundersen [Sun, 8 Feb 2015 21:34:53 +0000 (22:34 +0100)]
sd-rtnl: fix typesystem for IFLA_AF_SPEC

Got this one wrong, it is not a union, just a nested container.

5 years agolanguage fallback: it_CH (Italian, Swiss) -> it_IT (Italian, Italy)
Daniele Medri [Sun, 8 Feb 2015 07:57:49 +0000 (08:57 +0100)]
language fallback: it_CH (Italian, Swiss) -> it_IT (Italian, Italy)

5 years agonetworkd: add basic org.freedesktop.network1.Network interface
Tom Gundersen [Sun, 8 Feb 2015 12:27:56 +0000 (13:27 +0100)]
networkd: add basic org.freedesktop.network1.Network interface

5 years agonetworkd: add network_get_by_name
Tom Gundersen [Sun, 8 Feb 2015 12:29:35 +0000 (13:29 +0100)]
networkd: add network_get_by_name

5 years agobuild-sys: properly enable the networkd dbus activation
Tom Gundersen [Sun, 8 Feb 2015 18:43:01 +0000 (19:43 +0100)]
build-sys: properly enable the networkd dbus activation

5 years agosd-rtnl: add support for IFLA_INET6_*
Tom Gundersen [Sun, 8 Feb 2015 18:31:46 +0000 (19:31 +0100)]
sd-rtnl: add support for IFLA_INET6_*

5 years agosd-rtnl: extend type system to allow address-family to decide the union members
Tom Gundersen [Sun, 8 Feb 2015 11:37:05 +0000 (12:37 +0100)]
sd-rtnl: extend type system to allow address-family to decide the union members

So far we only supported selecting them by sibling attributes.

(This stuff is all a bit crazy, but there seems to be no other way...)

5 years agonetworkd: use valid bus paths
Mantas Mikulėnas [Fri, 6 Feb 2015 20:35:14 +0000 (22:35 +0200)]
networkd: use valid bus paths

Object path components must start with [A-Za-z_] (AFAIK).
Also the value of 'p' is undefined if asprintf fails.
Compare to user_bus_path() in src/login/logind-user-dbus.c:281.

5 years agosd-rtnl: don't treat 0-length messages specially
Tom Gundersen [Fri, 6 Feb 2015 13:43:17 +0000 (14:43 +0100)]
sd-rtnl: don't treat 0-length messages specially

Still parse the CMSG data, and most importantly make sure we drop the message when peeking.

5 years agosysctl: consider --prefix while parsing the files
Umut Tezduyar Lindskog [Sat, 7 Feb 2015 13:12:41 +0000 (14:12 +0100)]
sysctl: consider --prefix while parsing the files

not while applying the parsed sysctl values. Otherwise
info "Overwriting earlier assignment of %s in file %s" is
visible many times even though the given --prefix doesn't
try to set the overridden value.

This also optimizes the startup tiny bit since we have udev
rules running on network devices and setting sysctl through
the rules.

5 years agoAdd Silesian and Kashubian to language fallback map
Piotr Drąg [Sat, 7 Feb 2015 16:33:40 +0000 (17:33 +0100)]
Add Silesian and Kashubian to language fallback map

Silesian and Kashubian speakers would prefer to fall back to Polish (pl)
translations instead of English (C).

5 years agobus-proxyd: fix 'ListQueuedOwners' call
Lukasz Skalski [Fri, 6 Feb 2015 16:08:32 +0000 (17:08 +0100)]
bus-proxyd: fix 'ListQueuedOwners' call

Set proper kdbus_cmd_list object size, otherwise:

dbus-send --system --dest=org.freedesktop.DBus --type=method_call \
print-reply / org.freedesktop.DBus.ListQueuedOwners string:org.freedesktop.systemd1

Error org.freedesktop.DBus.Error.InvalidArgs: Invalid argument

5 years agolocaled: add LANGUAGE= fallback when LANG= is specified
Zbigniew Jędrzejewski-Szmek [Sat, 31 Jan 2015 19:11:23 +0000 (14:11 -0500)]
localed: add LANGUAGE= fallback when LANG= is specified

For the entries listed in the first column of language-fallback-map,
the entry from the second column will be used for LANGUAGE=, if
LANGUAGE= is not explicitly specified.

5 years agoAdd language fallback map
Naveen Kumar [Sat, 31 Jan 2015 17:50:49 +0000 (12:50 -0500)]
Add language fallback map

This map will be used to provide a fallback for translations.
For example, a Niederdeutsch (nds) speaker prefers to fall back to
German (de) translations rather then the English (C) ones.

5 years agobuild-sys: remove reference to long gone file
Zbigniew Jędrzejewski-Szmek [Fri, 6 Feb 2015 14:12:27 +0000 (09:12 -0500)]
build-sys: remove reference to long gone file

Interesting that automake doesn't complain about this at all.
That file was removed in 3fb97a58fa3f233.

5 years agounits: networkd - fix busname to work on kdbus
Tom Gundersen [Fri, 6 Feb 2015 11:09:36 +0000 (12:09 +0100)]
units: networkd - fix busname to work on kdbus

5 years agosd-rtnl: don't fall over when receiving 0 bytes from the socket
Tom Gundersen [Fri, 6 Feb 2015 10:54:30 +0000 (11:54 +0100)]
sd-rtnl: don't fall over when receiving 0 bytes from the socket

causes EOF. Seems like a kernel bug. Ignoring it seems to work be the best we
can do for now...


5 years agosd-rtnl: fix creation of synthetic error replies
Tom Gundersen [Fri, 6 Feb 2015 10:49:07 +0000 (11:49 +0100)]
sd-rtnl: fix creation of synthetic error replies

5 years agoudev: net_setup - clarify reason for failure of persistent mac address policy
Tom Gundersen [Fri, 6 Feb 2015 07:36:17 +0000 (08:36 +0100)]
udev: net_setup - clarify reason for failure of persistent mac address policy

5 years agoshared/log: read /proc/cmdline only in daemons
Zbigniew Jędrzejewski-Szmek [Fri, 6 Feb 2015 00:44:13 +0000 (19:44 -0500)]
shared/log: read /proc/cmdline only in daemons

5 years agoupdate TODO
Lukas Nykryn [Thu, 5 Feb 2015 17:07:54 +0000 (18:07 +0100)]
update TODO

5 years agonetworkd: move the connection to the bus out of manager_new (again)
Tom Gundersen [Thu, 5 Feb 2015 17:00:16 +0000 (18:00 +0100)]
networkd: move the connection to the bus out of manager_new (again)

This would otherwise make the tests fail as we cannot grab the bus name.

5 years agonetworkd: gracefully handle failure to emit signals when dbus is not connected
Tom Gundersen [Thu, 5 Feb 2015 16:59:40 +0000 (17:59 +0100)]
networkd: gracefully handle failure to emit signals when dbus is not connected

When we get kdbus we don't need these hackse.

5 years agobus: sync with kdbus (ABI break)
David Herrmann [Wed, 4 Feb 2015 15:21:27 +0000 (16:21 +0100)]
bus: sync with kdbus (ABI break)

5 years agonetworkd: exit on idle
Tom Gundersen [Wed, 4 Feb 2015 14:00:20 +0000 (15:00 +0100)]
networkd: exit on idle

We will be woken up on rtnl or dbus activity, so let's just quit if some time has passed and that is the only thing that can happen.

Note that we will always stay around if we expect network activity (e.g. DHCP is enabled), as we are not restarted on that.

5 years agonetworkd: don't unlink state files on exit
Tom Gundersen [Wed, 4 Feb 2015 14:16:40 +0000 (15:16 +0100)]
networkd: don't unlink state files on exit

Only unlink state files on DELLINK. This allows sd-network to be used even when networkd is not running.

5 years agonetworkd: add basic dbus API
Tom Gundersen [Wed, 4 Feb 2015 10:44:37 +0000 (11:44 +0100)]
networkd: add basic dbus API

Only the very basics, more to come.

For now:

$ busctl tree org.freedesktop.network1

$ busctl introspect org.freedesktop.network1 /org/freedesktop/network1
NAME                                TYPE      SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.network1.Manager    interface -         -            -
.OperationalState                   property  s         "carrier" emits-change

$ busctl introspect org.freedesktop.network1 /org/freedesktop/network1/link/1
NAME                                TYPE      SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.network1.Link       interface -         -            -
.AdministrativeState                property  s         "unmanaged" emits-change
.OperationalState                   property  s         "carrier" emits-change

5 years agonetworkd: don't warn about missing links unnecessarily
Tom Gundersen [Wed, 4 Feb 2015 09:08:12 +0000 (10:08 +0100)]
networkd: don't warn about missing links unnecessarily

If we get a NEWLINK + NEWADDR between enumerating the links and enumerating the addresses, we
would get a warning that the link corresponding to the address does not exist. This is a false
warning as both the NEWLINK and NEWADDR would be processed after enumerating completed, so drop

5 years agonetworkd: log when finished enumerating links and addresses
Tom Gundersen [Wed, 4 Feb 2015 08:47:50 +0000 (09:47 +0100)]
networkd: log when finished enumerating links and addresses

5 years agosystemctl: unit_find_paths(): unify error handling in two code pathes
Ivan Shapovalov [Wed, 4 Feb 2015 22:57:00 +0000 (01:57 +0300)]
systemctl: unit_find_paths(): unify error handling in two code pathes

5 years agosystemctl: cat, edit: further polish error messages
Ivan Shapovalov [Wed, 4 Feb 2015 22:56:59 +0000 (01:56 +0300)]
systemctl: cat, edit: further polish error messages

5 years agosystemctl: cat: fix error handling
Ivan Shapovalov [Wed, 4 Feb 2015 22:56:58 +0000 (01:56 +0300)]
systemctl: cat: fix error handling

- correctly check for local vs. remote transport
- return after receiving error from expand_names()

5 years agosystemctl: cat, edit: improve unit load error reporting
Ivan Shapovalov [Wed, 4 Feb 2015 22:56:57 +0000 (01:56 +0300)]
systemctl: cat, edit: improve unit load error reporting

- report actual load error for units which could not be loaded
- make unit_find_paths() report all kinds of errors it encounters
  (for consistency)
- consistently handle not-found errors in cat() and edit()

5 years agohwdb: Bind "toolbox" buttons to the Windows key
Bastien Nocera [Wed, 4 Feb 2015 17:46:10 +0000 (18:46 +0100)]
hwdb: Bind "toolbox" buttons to the Windows key

One would expect pressing the button to go to an overview / show
applications mode, we thus map it to leftmeta, the Windows key.


5 years agobuild-sys: mark systemd-firstboot man page as conditional
Michael Biebl [Wed, 4 Feb 2015 20:31:26 +0000 (21:31 +0100)]
build-sys: mark systemd-firstboot man page as conditional

Rebuild accordingly.

5 years agotimesyncd: downgrade more log messages from LOG_INFO to LOG_DEBUG
Lennart Poettering [Wed, 4 Feb 2015 16:00:23 +0000 (17:00 +0100)]
timesyncd: downgrade more log messages from LOG_INFO to LOG_DEBUG

Let's make timesyncd less chatty.

5 years agoshared/capabilities: simplify assertions about bits
Zbigniew Jędrzejewski-Szmek [Wed, 4 Feb 2015 15:24:02 +0000 (10:24 -0500)]
shared/capabilities: simplify assertions about bits

The assert added in 7d328b5446 was wrong. Also update the comments
and make sure we don't try to shift by type size.

5 years agoshared/util: drop duplicate log2u64 function
Zbigniew Jędrzejewski-Szmek [Wed, 4 Feb 2015 14:39:36 +0000 (09:39 -0500)]
shared/util: drop duplicate log2u64 function

5 years agoman: fix diagrams in bootup(7)
Zbigniew Jędrzejewski-Szmek [Wed, 4 Feb 2015 14:35:37 +0000 (09:35 -0500)]
man: fix diagrams in bootup(7)

Fallout from 798d3a524e.

5 years agotimesyncd: reduce log chattiness a bit
Lennart Poettering [Wed, 4 Feb 2015 13:46:40 +0000 (14:46 +0100)]
timesyncd: reduce log chattiness a bit

Let's downgrade the statistics output from LOG_INFO to LOG_DEBUG.

5 years agonspawn: Allow module loading if CAP_SYS_MODULE is requested
Jay Faulkner [Wed, 4 Feb 2015 01:45:50 +0000 (17:45 -0800)]
nspawn: Allow module loading if CAP_SYS_MODULE is requested

nspawn containers currently block module loading in all cases, with
no option to disable it. This allows an admin, specifically setting
capability=CAP_SYS_MODULE or capability=all to load modules.

5 years agoshared/capability: don't be too frugal on space for caps
Tom Gundersen [Wed, 4 Feb 2015 08:23:24 +0000 (09:23 +0100)]
shared/capability: don't be too frugal on space for caps

We were dropping the most significant bit. Add an assert to make sure it does not happen again.

Fixes a bug introduced in 7d328b544621d4b1bec936dec612947ad8bfb65a.

5 years agoReindent man pages to 2ch
Zbigniew Jędrzejewski-Szmek [Wed, 4 Feb 2015 02:14:13 +0000 (21:14 -0500)]
Reindent man pages to 2ch

5 years agotmpfiles: fix compilation without acl support
Zbigniew Jędrzejewski-Szmek [Tue, 3 Feb 2015 01:28:39 +0000 (20:28 -0500)]
tmpfiles: fix compilation without acl support

5 years agocg_path_get_user_unit(): Did not correctly parse user-unit templates.
Luke Shumaker [Wed, 4 Feb 2015 01:07:37 +0000 (20:07 -0500)]
cg_path_get_user_unit(): Did not correctly parse user-unit templates.

It ran either skip_session() or skip_user_manager(), then ran skip_slices()
iff skip_session() ran.  It needs to run skip_slices() in either case.

Included is a test case demonstrating why.

5 years agocore: don't reset log level to NOTICE if we get quiet on the kernel cmdline
Lennart Poettering [Wed, 4 Feb 2015 00:42:49 +0000 (01:42 +0100)]
core: don't reset log level to NOTICE if we get quiet on the kernel cmdline

quiet should really just have an effect on the stuff we dump on the
console, not what we log elsewhere.


        debug on kernel cmdline → interpreted by every tool, turns up
        log levels to "debug" everywhere.

        quiet on kernel cmdline → interpreted only by PID 1 (and
        obviously the kernel) no alteration of the max log level, but
        turns off status output.

5 years agoupdate TODO
Lennart Poettering [Wed, 4 Feb 2015 00:42:46 +0000 (01:42 +0100)]
update TODO

5 years agovirt: add detect_vm_devicetree for powerpc arches
Chris J Arges [Tue, 3 Feb 2015 23:56:06 +0000 (17:56 -0600)]
virt: add detect_vm_devicetree for powerpc arches

Check sysfs devicetree values in order to detect if we are running on a KVM
hypervisor on a powerpc architecture.

5 years agonetworkd: refactor socket activation a bit
Tom Gundersen [Tue, 3 Feb 2015 14:44:50 +0000 (15:44 +0100)]
networkd: refactor socket activation a bit

5 years agosd-rtnl: allow sd_rtnl_open_fd() to be used on bound sockets
Tom Gundersen [Tue, 3 Feb 2015 20:33:04 +0000 (21:33 +0100)]
sd-rtnl: allow sd_rtnl_open_fd() to be used on bound sockets

5 years agonetworkd: handle suspend events
Tom Gundersen [Tue, 3 Feb 2015 14:44:12 +0000 (15:44 +0100)]
networkd: handle suspend events

5 years agopartial revert of fed6df8
Thomas Hindoe Paaboel Andersen [Tue, 3 Feb 2015 20:35:14 +0000 (21:35 +0100)]
partial revert of fed6df8

This one was acutally used to free xattr

5 years agocore: open up DefaultDependencies= property for transient units
Lennart Poettering [Tue, 3 Feb 2015 18:07:40 +0000 (19:07 +0100)]
core: open up DefaultDependencies= property for transient units

5 years agocore: busname_supported() should cache what it detects
Johannes Hölzl [Tue, 3 Feb 2015 17:53:31 +0000 (18:53 +0100)]
core: busname_supported() should cache what it detects

Add the missing "static" to actually make this a cache.

5 years agojournald: fix some xsprrintf() buffer size fallout
Lennart Poettering [Tue, 3 Feb 2015 17:17:00 +0000 (18:17 +0100)]
journald: fix some xsprrintf() buffer size fallout

5 years agocore: use some nice macros where appropriate
Lennart Poettering [Tue, 3 Feb 2015 17:16:35 +0000 (18:16 +0100)]
core: use some nice macros where appropriate

5 years agoupdate TODO
Lennart Poettering [Tue, 3 Feb 2015 17:16:17 +0000 (18:16 +0100)]
update TODO

5 years agoupdate TODO
Lennart Poettering [Tue, 3 Feb 2015 13:08:56 +0000 (14:08 +0100)]
update TODO

5 years agoloopback-setup: simplify code a bit
Lennart Poettering [Tue, 3 Feb 2015 12:53:01 +0000 (13:53 +0100)]
loopback-setup: simplify code a bit

5 years agoloopback-setup: no need to redefine LOOPBACK_IFINDEX, we already have it in missing.h
Lennart Poettering [Tue, 3 Feb 2015 12:48:15 +0000 (13:48 +0100)]
loopback-setup: no need to redefine LOOPBACK_IFINDEX, we already have it in missing.h

5 years agoupdate TODO
Lennart Poettering [Tue, 3 Feb 2015 10:46:25 +0000 (11:46 +0100)]
update TODO

5 years agotest-functions: search for the initrd and kernel according to the BLS
Harald Hoyer [Tue, 3 Feb 2015 09:43:24 +0000 (10:43 +0100)]
test-functions: search for the initrd and kernel according to the BLS

Also search for the initrd and kernel according to the boot loader

5 years agotest-functions: use sfdisk without cyl,head,sectors
Harald Hoyer [Tue, 3 Feb 2015 09:44:27 +0000 (10:44 +0100)]
test-functions: use sfdisk without cyl,head,sectors

newer sfdisk implementations do not work with these anymore

5 years agotest-functions:install_libnss() call dracut_install with all $NSS_LIBS
Harald Hoyer [Tue, 3 Feb 2015 09:45:25 +0000 (10:45 +0100)]
test-functions:install_libnss() call dracut_install with all $NSS_LIBS

dracut_install() can cope with more than one file

5 years agotests: install ldconfig.real for Debian based distros
Martin Pitt [Sun, 1 Feb 2015 23:19:33 +0000 (00:19 +0100)]
tests: install ldconfig.real for Debian based distros

In Debian based distributions ldconfig is just a shell wrapper around
ldconfig.real, for deferring it during package installation.

5 years agotests: install hostname debug tool
Martin Pitt [Sun, 1 Feb 2015 23:19:32 +0000 (00:19 +0100)]
tests: install hostname debug tool

This is mostly a vehicle to pull in which gets dlopen()ed by NSS
under certain NSS configurations.

5 years agotests: install all required libnss modules
Martin Pitt [Sun, 1 Feb 2015 23:19:31 +0000 (00:19 +0100)]
tests: install all required libnss modules

Don't assume "files" for everything in nsswitch. Instead, ask "getent passwd"
about which libnss modules it dlopen()s, and install these.

5 years agotests: don't hardcode systemctl path
Martin Pitt [Sun, 1 Feb 2015 23:19:30 +0000 (00:19 +0100)]
tests: don't hardcode systemctl path

Get it from type -P instead, to support --enable-split-usr.

5 years agotests: determine rootlibdir from pkg-config
Martin Pitt [Sun, 1 Feb 2015 23:19:29 +0000 (00:19 +0100)]
tests: determine rootlibdir from pkg-config

Prefer asking pkg-config for the rootlibdir, to also support systems with
--enable-split-usr. Fall back to the hardcoded /usr/lib/systemd if that fails.

5 years agotests: Make sushell optional in image creation
Martin Pitt [Sun, 1 Feb 2015 23:19:28 +0000 (00:19 +0100)]
tests: Make sushell optional in image creation

sushell does not exist in all distributions, and it can be changed with
configure --with-debug-shell, so make installation of it optional.

5 years agobuild-sys: distribute systemd-networkd.socket
Zbigniew Jędrzejewski-Szmek [Tue, 3 Feb 2015 03:59:22 +0000 (22:59 -0500)]
build-sys: distribute systemd-networkd.socket

5 years agonetwork-address,test-network: avoid undefined behaviour
Zbigniew Jędrzejewski-Szmek [Tue, 3 Feb 2015 02:32:28 +0000 (21:32 -0500)]
network-address,test-network: avoid undefined behaviour

5 years agoshared/async: simplify asynchronous_job a bit
Zbigniew Jędrzejewski-Szmek [Mon, 2 Feb 2015 19:51:31 +0000 (14:51 -0500)]
shared/async: simplify asynchronous_job a bit

5 years agotest-dhcp-client: add a kludge to make valgrind happy
Zbigniew Jędrzejewski-Szmek [Mon, 2 Feb 2015 19:50:56 +0000 (14:50 -0500)]
test-dhcp-client: add a kludge to make valgrind happy

5 years agotest-dhcp-client: open a real udp socket for test execution
Zbigniew Jędrzejewski-Szmek [Mon, 2 Feb 2015 19:46:40 +0000 (14:46 -0500)]
test-dhcp-client: open a real udp socket for test execution

./test-dhcp-client would attempt to operate fd 0, i.e. stdin.
For example, './test-dhcp-client </dev/null' would fail with EPERM
because /dev/null cannot be used with epoll.

5 years agoupdate TODO
Lennart Poettering [Tue, 3 Feb 2015 01:07:59 +0000 (02:07 +0100)]
update TODO

5 years agoutil: rework strappenda(), and rename it strjoina()
Lennart Poettering [Tue, 3 Feb 2015 01:05:59 +0000 (02:05 +0100)]
util: rework strappenda(), and rename it strjoina()

After all it is now much more like strjoin() than strappend(). At the
same time, add support for NULL sentinels, even if they are normally not

5 years agonetworkd: minor simplification
Lennart Poettering [Mon, 2 Feb 2015 22:21:20 +0000 (23:21 +0100)]
networkd: minor simplification

Let's return the fd we found as return value in systemd_netlink_fd(),
instead of using call-by-reference.

5 years agoremove unused variables
Thomas Hindoe Paaboel Andersen [Mon, 2 Feb 2015 21:56:44 +0000 (22:56 +0100)]
remove unused variables

5 years agoupdate TODO
Lennart Poettering [Mon, 2 Feb 2015 20:54:23 +0000 (21:54 +0100)]
update TODO

5 years agounits: so far we defaulted to 90s as default timeout for most things, let's do so...
Lennart Poettering [Mon, 2 Feb 2015 20:34:32 +0000 (21:34 +0100)]
units: so far we defaulted to 90s as default timeout for most things, let's do so for our oneshot services too

Fewer surprises, and stuff...

5 years agotmpfiles: let's always use DEFINE_PRIVATE_STRING_TABLE_LOOKUP_TO_STRING() instead...
Lennart Poettering [Mon, 2 Feb 2015 20:34:09 +0000 (21:34 +0100)]
tmpfiles: let's always use DEFINE_PRIVATE_STRING_TABLE_LOOKUP_TO_STRING() instead of defining our own string tables

5 years agotime-util: let's make xstrftime() useful for everybody, even if we only have a single...
Lennart Poettering [Mon, 2 Feb 2015 20:28:33 +0000 (21:28 +0100)]
time-util: let's make xstrftime() useful for everybody, even if we only have a single user so far.

5 years agomacro: document that DECIMAL_STR_MAX contains space for the trailing NUL byte
Lennart Poettering [Mon, 2 Feb 2015 20:28:19 +0000 (21:28 +0100)]
macro: document that DECIMAL_STR_MAX contains space for the trailing NUL byte

5 years agobootchart: Ensure that systemd is the init called after using bootchart
Sebastien Bacher [Mon, 2 Feb 2015 14:48:40 +0000 (15:48 +0100)]
bootchart: Ensure that systemd is the init called after using bootchart

When booting with systemd-bootchart, default to call the systemd binary
rather than the init binary on disk, which might be another init system.
Collecting data only works with booting systemd.

5 years agobacklight: let udev properties override clamping
Topi Miettinen [Sun, 1 Feb 2015 06:49:02 +0000 (08:49 +0200)]
backlight: let udev properties override clamping

On my computer, the minimum brightness enforced by clamping in
backlight is too bright.

Let udev property ID_BACKLIGHT_CLAMP control whether the brightness
is clamped or not.