summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-09Merge pull request #1807 from michich/boot-timerLennart Poettering
core/timer: in containers OnBootSec should count from container startup
2015-11-09Merge pull request #1794 from karelzak/size_limitLennart Poettering
core: support IEC suffixes for RLIMIT stuff
2015-11-09Merge pull request #1817 from iaguis/nspawn-custom-service-3Lennart Poettering
nspawn: support custom container service name
2015-11-09detect-virt: add rkt app container runtimeIago López Galeiras
2015-11-09nspawn: support custom container service nameIago López Galeiras
We were hardcoding "systemd-nspawn" as the value of the $container env variable and "nspawn" as the service string in machined registration. This commit allows the user to configure it by setting the $SYSTEMD_NSPAWN_CONTAINER_SERVICE env variable when calling systemd-nspawn. If $SYSTEMD_NSPAWN_CONTAINER_SERVICE is not set, we use the string "systemd-nspawn" for both, fixing the previous inconsistency.
2015-11-09Merge pull request #1796 from michaelolbrich/journal-sizeLennart Poettering
journal: reduce minimum journal file size to 512 KiB
2015-11-07core/timer: in containers OnBootSec should count from container startupMichal Schmidt
In Fedora dnf-makecache.timer specifies OnBootSec=10min, but it fired during boot in systemd-nspawn, because the clock ticks since the host's boot. Fix it by treating OnBootSec the same as OnStartupSec when running in a container.
2015-11-07Merge pull request #1801 from chuyd/fix-typosDaniel Mack
test: Fix typo in TEST-03-JOBS/test-jobs.sh
2015-11-07Merge pull request #1803 from phomes/unused-varDaniel Mack
core: remove unused variable
2015-11-07core: remove unused variableThomas Hindoe Paaboel Andersen
unused since 7b2313f5
2015-11-06test: Fix typo in TEST-03-JOBS/test-jobs.shJesus Ornelas Aguayo
Fix typo s/enqueueing/enqueuing/ Signed-off-by: Jesus Ornelas Aguayo <jesus.ornelas.aguayo@intel.com>
2015-11-06Merge pull request #1795 from msekletar/networkd-forwardRonny Chevalier
networkd: fix option name in log message
2015-11-06Merge pull request #1800 from evverx/fix-test-executeRonny Chevalier
test-execute: don't use /usr/bin/uname. use sh and PATH
2015-11-06test-execute: don't use /usr/bin/uname. use sh and PATHEvgeny Vereshchagin
2015-11-06journal: reduce minimum journal file size to 512 KiBMichael Olbrich
For low end embedded systems 4 MiB for each journal file is a lot of memory. Journald will use at least 512 KiB even if JOURNAL_FILE_SIZE_MIN is set to less than that so just use 512 KiB.
2015-11-06core: support IEC suffixes for RLIMIT stuffKarel Zak
Let's make things more user-friendly and support for example LimitAS=16G rather than force users to always use LimitAS=16106127360. The change is relevant for options: [Default]Limit{FSIZE,DATA,STACK,CORE,RSS,AS,MEMLOCK,MSGQUEUE} The patch introduces config_parse_bytes_limit(), it's the same as config_parse_limit() but uses parse_size() tu support the suffixes. Addresses: https://github.com/systemd/systemd/issues/1772
2015-11-06networkd: fix option name in log messageMichal Sekletar
2015-11-04Merge pull request #1761 from ssahani/wordLennart Poettering
core: parse socket port to extract_first_word
2015-11-04Merge pull request #1778 from rhdrjones/detect-virtLennart Poettering
detect-virt: one fix and arm/aarch64 dmi detection
2015-11-04Merge pull request #1780 from evverx/fix-install-dbusRonny Chevalier
test-functions: fix dbus-1 installation
2015-11-04test-functions: fix dbus-1 installationEvgeny Vereshchagin
The basic setup for the well-known system and session buses is now done in read-only files in ${datadir} (normally /usr/share). See the NEWS entry for 1.9.18 for details. http://cgit.freedesktop.org/dbus/dbus/tree/NEWS
2015-11-04detect-virt: dmi: look for KVMAndrew Jones
Some guests (ARM, AArch64, x86-RHEL) have 'KVM' in the product name. Look for that first in order to more precisely report "kvm" when detecting a QEMU/KVM guest. Without this patch we report "qemu", even if KVM acceleration is in use on ARM/AArch64 guests. I've only tested a backported version of this and the previous patch on an AArch64 guest (which worked). Of course it would be nice to get regression testing on all guest types that depend on dmi done.
2015-11-04arm/aarch64: detect-virt: check dmiAndrew Jones
ARM/AArch64 guests now have SMBIOS tables populated (when boot with a late enough QEMU and a late enough AAVMF is used as the bootloader). Furthermore, when booting ARM/AArch64 guests with ACPI, the DT detection obviously no longer works, so we need dmi detection.
2015-11-04detect-virt: detect in best-heuristic orderAndrew Jones
afaict, this will fix a regression caused by commit 75f86906c5. Where we used to report "kvm" before that patch, without this patch, we would only report "qemu". The reason is because cpuid detection must come before dmi detection. Also, both can safely come before other xen heuristics. Untested.
2015-11-04Merge pull request #1775 from fbuihuu/set-property-completionLennart Poettering
bash-completion: add minimal support fpr 'set-property' command
2015-11-04Merge pull request #1776 from marktheunissen/masterLennart Poettering
systemctl: update documentation for --plain option
2015-11-04Merge pull request #1777 from torstehu/fix-typo2Daniel Mack
core: fix typo
2015-11-04core: fix typoTorstein Husebø
2015-11-04Merge pull request #1773 from evverx/dont-hide-enomemDaniel Mack
core: small fixes to parse_namespace
2015-11-04systemctl: update documentation for --plain optionMark Theunissen
- Existing documentation did not mention that --plain omits the bullets and works on list-units and list-machines.
2015-11-04Merge pull request #1768 from vcaputo/sd-daemon-listen-fds-overflow-bisLennart Poettering
sd-daemon: fix potential LISTEN_FDS overflow in sd_listen_fds()
2015-11-04bash-completion: add minimal support fpr 'set-property' commandFranck Bui
'set-property' was missing from the list of known command. Also a list of unit names will be proposed as next argument. However no support on property names is provided since it would require a hard coded list of them.
2015-11-04core: small fixes to parse_namespaceEvgeny Vereshchagin
* don't hide ENOMEM * log r instead of 0
2015-11-03sd-daemon: fix potential LISTEN_FDS overflow in sd_listen_fds()Vito Caputo
2015-11-03core: parse socket port to extract_first_wordSusant Sahani
2015-11-03Merge pull request #1767 from poettering/journald-watchdogDaniel Mack
restore journald watchdog
2015-11-03journal: restore watchdog supportLennart Poettering
2015-11-03sd-daemon: explicitly filter out -1 when parsing watchdog timeoutLennart Poettering
We already filter out 0, and as -1 is usually special (meaning infinity, as in USEC_INFINITY) we should better not accept it either. Better safe than sorry...
2015-11-03util-lib: move CONF_DIRS_NULSTR definition to def.hLennart Poettering
After all, this is not some compiler or C magic, but something very specific to how systemd works, hence let's move it into def.h, and out of macro.h
2015-11-03util-lib: move character class definitions to string-util.hLennart Poettering
2015-11-03Merge pull request #1764 from ssahani/jiffies-1Lennart Poettering
(V2) networkd: bridge convert to jiffies
2015-11-03networkd: bridge prop convert to jiffiesSusant Sahani
2015-11-03Time-util: introduce usec to jiffiesSusant Sahani
2015-11-03Merge pull request #1765 from teg/pppoe-removalDaniel Mack
sd-pppoe: drop
2015-11-03sd-pppoe: dropTom Gundersen
It is really unclear if we want to / have the resources to support this fully, so drop it for now. It can easily be brought back if a killer usecase emerges. Note that this code was never hooked up, so this does not remove any features.
2015-11-03Merge pull request #1726 from teg/networkd-2Daniel Mack
networkd: (de)serialize more state and support expiring routes
2015-11-03Merge pull request #1763 from endocode/kayrus/fix_man_chattrDaniel Mack
Fixed link to chattr man page
2015-11-03Fixed link to chattr man pagekayrus
2015-11-03build-sys: temporarily lower libmount version checkMartin Pitt
util-linux 2.27.1's configure.ac still claims to be 2.27.0, which breaks our version check. Lower it back to 2.27.0 until util-linux gets a fixed tarball. See #1754
2015-11-03Merge pull request #1744 from evverx/fix-debug-generatorLennart Poettering
debug-generator: respect kernel parameters for default unit setting