summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* test-functions: search for the initrd and kernel according to the BLSHarald Hoyer2015-02-03
| | | | | Also search for the initrd and kernel according to the boot loader specification.
* test-functions: use sfdisk without cyl,head,sectorsHarald Hoyer2015-02-03
| | | | newer sfdisk implementations do not work with these anymore
* test-functions:install_libnss() call dracut_install with all $NSS_LIBSHarald Hoyer2015-02-03
| | | | dracut_install() can cope with more than one file
* tests: install ldconfig.real for Debian based distrosMartin Pitt2015-02-03
| | | | | In Debian based distributions ldconfig is just a shell wrapper around ldconfig.real, for deferring it during package installation.
* tests: install hostname debug toolMartin Pitt2015-02-03
| | | | | This is mostly a vehicle to pull in libnsl.so which gets dlopen()ed by NSS under certain NSS configurations.
* tests: install all required libnss modulesMartin Pitt2015-02-03
| | | | | Don't assume "files" for everything in nsswitch. Instead, ask "getent passwd" about which libnss modules it dlopen()s, and install these.
* tests: don't hardcode systemctl pathMartin Pitt2015-02-03
| | | | Get it from type -P instead, to support --enable-split-usr.
* tests: determine rootlibdir from pkg-configMartin Pitt2015-02-03
| | | | | 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.
* tests: Make sushell optional in image creationMartin Pitt2015-02-03
| | | | | sushell does not exist in all distributions, and it can be changed with configure --with-debug-shell, so make installation of it optional.
* build-sys: distribute systemd-networkd.socketZbigniew Jędrzejewski-Szmek2015-02-02
|
* network-address,test-network: avoid undefined behaviourZbigniew Jędrzejewski-Szmek2015-02-02
|
* shared/async: simplify asynchronous_job a bitZbigniew Jędrzejewski-Szmek2015-02-02
|
* test-dhcp-client: add a kludge to make valgrind happyZbigniew Jędrzejewski-Szmek2015-02-02
|
* test-dhcp-client: open a real udp socket for test executionZbigniew Jędrzejewski-Szmek2015-02-02
| | | | | | | | ./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. https://bugzilla.redhat.com/show_bug.cgi?id=1076119
* update TODOLennart Poettering2015-02-03
|
* util: rework strappenda(), and rename it strjoina()Lennart Poettering2015-02-03
| | | | | | 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 necessary.
* networkd: minor simplificationLennart Poettering2015-02-02
| | | | | Let's return the fd we found as return value in systemd_netlink_fd(), instead of using call-by-reference.
* remove unused variablesThomas Hindoe Paaboel Andersen2015-02-02
|
* update TODOLennart Poettering2015-02-02
|
* units: so far we defaulted to 90s as default timeout for most things, let's ↵Lennart Poettering2015-02-02
| | | | | | do so for our oneshot services too Fewer surprises, and stuff...
* tmpfiles: let's always use DEFINE_PRIVATE_STRING_TABLE_LOOKUP_TO_STRING() ↵Lennart Poettering2015-02-02
| | | | instead of defining our own string tables
* time-util: let's make xstrftime() useful for everybody, even if we only have ↵Lennart Poettering2015-02-02
| | | | a single user so far.
* macro: document that DECIMAL_STR_MAX contains space for the trailing NUL byteLennart Poettering2015-02-02
|
* bootchart: Ensure that systemd is the init called after using bootchartSebastien Bacher2015-02-02
| | | | | | 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.
* backlight: let udev properties override clampingTopi Miettinen2015-02-02
| | | | | | | | 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.
* cryptsetup: only warn on real key filesMartin Pitt2015-02-02
| | | | | Simplify the check from commit 05f73ad to only apply the warning to regular files instead of enumerating device nodes.
* tmpfiles: Remove unnecessary blank line when configured with ↵Sangjung Woo2015-02-02
| | | | | | | | "--disable-resolved" This patch removes unnecessary blank line in /usr/lib/tmpfiles.d/etc.conf when configured with "--disable-resolved". (i.e. ENABLE_RESOLVED is not defined)
* update TODOLennart Poettering2015-02-02
|
* cryptsetup: Do not warn If the key is /dev/*randomCristian Rodríguez2015-02-02
| | | | | Using /dev/urandom as a key is valid for swap, do not warn if this devices are world readable.
* networkd: support socket activationTom Gundersen2015-02-02
| | | | | Still keep the non-socket activation code around for starting from the commandline, but will likely drop that too in the future.
* sd-rtnl: introduce sd_rtnl_new_from_netlinkTom Gundersen2015-02-02
|
* networkd-wait-online: add timeoutTom Gundersen2015-02-02
| | | | | Default to timing out after 120 seconds without a network connection. Setting a timeout of 0 disables the timeout.
* sd-event: treat NULL callback for timer events like sig eventsTom Gundersen2015-02-02
| | | | In both cases exit the event loop.
* networkd-wait-online: support globbing for ignored devicesTom Gundersen2015-02-02
|
* hwdb: Update database of Bluetooth company identifiersMarcel Holtmann2015-02-02
|
* man: switch yum to dnf for FedoraZbigniew Jędrzejewski-Szmek2015-02-01
| | | | The dnf name is here to stay, we might as well adjust.
* shared/capability: go frugal on space for capsZbigniew Jędrzejewski-Szmek2015-02-01
|
* Fix dropping of all capabilitiesZbigniew Jędrzejewski-Szmek2015-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From fd.o bug 88898: systemd-resolved fails to start: Failed to drop capabilities: Operation not permitted Broken in f11943c53ec181829a821c6b27acf828bab71caa. Drop all capabilities: 1. prctl(PR_SET_KEEPCAPS, keep_capabilities != 0) // 0 when we drop all capabilities 2. setresuid() // bye bye capabilities 3. Add CAP_SETPCAP // fails because we have no capabilities 4. Reduce capability bounding set 5. Drop capabilities 6. prctl(PR_SET_KEEPCAPS, 0) Capabilites should always be kept after setresuid() so that the capability bounding set can be reduced. Based-on-a-patch-by: mustrumr97@gmail.com https://bugs.freedesktop.org/show_bug.cgi?id=88898 We must be careful not to leave PR_SET_KEEPCAPS on. We could use the setresuid() call to drop capabilities, but the rules when capabilities are dropped are fairly complex, since a transition to non-zero uid must happen. Let's instead keep the capabilities during setresuid(), and drop them later.
* config_parse_set_status: put signals in the correct setMichael Olbrich2015-02-01
| | | | | This was broken when the code was rearranged in "1e2fd62d70ff core/load-fragment.c: correct argument sign and split up long lines"
* Add a snprinf wrapper which checks that the buffer was big enoughZbigniew Jędrzejewski-Szmek2015-02-01
| | | | | | | | | | If we scale our buffer to be wide enough for the format string, we should expect that the calculation was correct. char_array_0() invocations are removed, since snprintf nul-terminates the output in any case. A similar wrapper is used for strftime calls, but only in timedatectl.c.
* tmpfiles: accurately report creation resultsZbigniew Jędrzejewski-Szmek2015-02-01
|
* tmpfiles: remove dead branchZbigniew Jędrzejewski-Szmek2015-02-01
| | | | | | | In the test, p is a path to a directory, always absolute. dent->d_name is a single path component, so they cannot be equal. The comparison was wrong also for other reasons: D type supports globs, so direct comparisons using streq are not enough.
* units: set TimeoutSec on some oneshot servicesZbigniew Jędrzejewski-Szmek2015-02-01
| | | | | | | | | | Services which are not crucial to system bootup, and have Type=oneshot can effectively "hang" the system if they fail to complete for whatever reason. To allow the boot to continue, kill them after a timeout. In case of systemd-journal-flush the flush will continue in the background, and in the other two cases the job will be aborted, but this should not result in any permanent problem.
* core/cgroup: fix embarrassing typoZbigniew Jędrzejewski-Szmek2015-01-31
| | | | https://github.com/docker/docker/issues/10280
* test-dhcp-client: remove linebreakZbigniew Jędrzejewski-Szmek2015-01-31
|
* TODOTom Gundersen2015-01-31
|
* networkd: dhcp-server - start as soon as addresses have been setTom Gundersen2015-01-31
| | | | | | We would otherwise wait for the interface to be completely configured, which could take considerable time with IPv4LL. As a result nspawn was very slow at obtaining IP addresses.
* networkd-wait-online: allow specific devices to be ignoredTom Gundersen2015-01-31
| | | | | | In addition to the loopback device, also explicitly configured devices to be ignored. Suggested by Charles Devereaux <systemd@guylhem.net>.
* sd-rtnl: don't fail event handler when callback failsTom Gundersen2015-01-31
| | | | | | As in sd-bus, simply log at debug level when a callback fails, but don't fail the event handler. Otherwise any error returned by any callback will disable the rtnl event handler. We should only do that on serious internal errors in sd-rtnl that we know cannot be recovered from.
* core: make setting the shutdown watchdog configuration via dbus workMaxim Mikityanskiy2015-01-30
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=88284