summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-10core: accept time units for time-based resource limitsLennart Poettering
Let's make sure "LimitCPU=30min" can be parsed properly, following the usual logic how we parse time values. Similar for LimitRTTIME=. While we are at it, extend a bit on the man page section about resource limits. Fixes: #1772
2015-11-10core: when parsing resource limits, be more careful with types and corner casesLennart Poettering
Let's not convert RLIM_INFINITY to "unsigned long long" and then back to rlim_t, but let's leave it in the right type right-away. Parse resource limits as 64 bit in all cases, as according to the man page that's what libc does anyway. Make sure setting a resource limit to (uint64_t) -1 results in a parsing error, and isn't implicitly converted to RLIM_INFINITY.
2015-11-10core: simplify parsing of capability bounding set settingsLennart Poettering
Let's generate a simple error, and that's it. Let's not try to be smart and record the last word that failed. Also, let's make sure we don't compare numeric values with 0 by relying on C's downgrade-to-bool feature, as suggested in CODING_STYLE.
2015-11-10time-util: add parse_time(), which is like parse_sec() but allows ↵Lennart Poettering
specification of default time unit if none is specified This is useful if we want to parse RLIMIT_RTTIME values where the common UNIX syntax is without any units but refers to a non-second unit (µs in this case), but where we want to allow specification of units.
2015-11-10defs: rework CONF_DIRS_NULSTR() macroLennart Poettering
The macro is generically useful for putting together search paths, hence let's make it truly generic, by dropping the implicit ".d" appending it does, and leave that to the caller. Also rename it from CONF_DIRS_NULSTR() to CONF_PATHS_NULSTR(), since it's not strictly about dirs that way, but any kind of file system path. Also, mark CONF_DIR_SPLIT_USR() as internal macro by renaming it to _CONF_PATHS_SPLIT_USR() so that the leading underscore indicates that it's internal.
2015-11-10cgls: when showing root slice, put -.slice at top of treeLennart Poettering
2015-11-10cgls: suppress output of controller name, if it's the systemd oneLennart Poettering
2015-11-10virt: make sure that we detect unknown container managers as ↵Lennart Poettering
VIRTUALIZATION_CONTAINER_OTHER If we don't know a container manager, we should consider it as "other" rather than as no container manager at all, to provide a somwhat useful upgrade path.
2015-11-10CODING_STYLE: elaborate on usage of C99 fixed size integer typesLennart Poettering
2015-11-10man: fix reference to description of time span syntaxLennart Poettering
2015-11-10Merge pull request #1825 from ssahani/ipv61-1Tom Gundersen
networkd: add support to configure IPv6 hop limit
2015-11-10Merge pull request #1827 from davidreynolds/use_extract_first_wordTom Gundersen
conf-parser: use extract_first_word
2015-11-10Merge pull request #1830 from jsynacek/journalctl-timeTom Gundersen
man/journalctl: mention systemd.time(7) where appropriate
2015-11-10Merge pull request #1831 from keszybz/todo-trimmingTom Gundersen
Todo trimming
2015-11-10Merge pull request #1735 from thom311/masterTom Gundersen
lldp: avoid compiler warnings in lldp_tfl_package_read* functions
2015-11-10man: describe the reason why runlevels are obsoleteZbigniew Jędrzejewski-Szmek
Put it at the top of the file, where it's hard to miss. Also add the mapping of runlevel → target because since it is now static. I'm not adding runlevel(7), because we do not want to make obsolete stuff even more prominent.
2015-11-10man: tweak description of machinectl showZbigniew Jędrzejewski-Szmek
Also, machinectl status is anything but terse. Remove "terse".
2015-11-10TODO: update for lz4/xz stuffZbigniew Jędrzejewski-Szmek
No point in fixing xz now that lz4 is the default.
2015-11-10man/journalctl: mention systemd.time(7) where appropriateJan Synacek
Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1182661
2015-11-09conf-parser: use extract_first_wordDavid Reynolds
2015-11-10man: add man for IPV6 hop limitSusant Sahani
2015-11-10networkd: Add support to configure IPV6 hop limitSusant Sahani
This patch adds support to configure IPV6 hop limit. For example: /proc/sys/net/ipv6/conf/wlp3s0/hop_limit
2015-11-10Merge pull request #1790 from endocode/kayrus/fix_man_kernel_clLennart Poettering
Fixed kernel-command-line links
2015-11-09Merge pull request #1629 from ssahani/vxlanTom Gundersen
networkd: vxlan add option to set FDB entries
2015-11-09Merge pull request #1821 from darkcircle/ko-catalog-translationLennart Poettering
l10n: add a new Korean translation for the catalog
2015-11-09Merge pull request #1820 from michich/errno-v2Daniel Mack
[v2] treewide: treatment of errno and other cleanups
2015-11-10add a new Korean translation for the catalogSeong-ho Cho
2015-11-09Merge pull request #1762 from endocode/dongsu/l10n-ko-msgsLennart Poettering
po: update Korean translation
2015-11-09treewide: apply errno.cocciMichal Schmidt
with small manual cleanups for style.
2015-11-09coccinelle: additional errno.cocci hunkMichal Schmidt
rewrites: log_error_errno(errno, ...); return -errno; into: return log_error_errno(errno, ...);
2015-11-09coccinelle: errno.cocci improvementsMichal Schmidt
Apply to all log_*_errno loglevels.
2015-11-09Merge pull request #1798 from evverx/fix-test-udevLennart Poettering
test-udev: small fixes
2015-11-09Merge pull request #1799 from jengelh/docLennart Poettering
doc: typo and ortho fixes
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-06Fixed kernel-command-line linkskayrus
2015-11-06doc: use expanded forms for written styleJan Engelhardt
2015-11-06doc: correct orthography, word forms and missing/extraneous wordsJan Engelhardt