Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-29 | systemctl: consider a chroot() environment always offline | Lennart Poettering | |
2016-01-29 | basic: when parsing verb command lines, optionally shortcut them in chroot() ↵ | Lennart Poettering | |
environments This adds some basic infrastructure in order to fix #2015. | |||
2016-01-28 | Merge pull request #2466 from poettering/nspawn-journal | Zbigniew Jędrzejewski-Szmek | |
Two small nspawn fixes | |||
2016-01-28 | Merge pull request #2464 from poettering/reload-or-try-restart | Zbigniew Jędrzejewski-Szmek | |
Fix for #688 | |||
2016-01-28 | nspawn: make sure --link-journal=host may be used twice in a row | Lennart Poettering | |
Fixes #2186 This fixes fall-out from 574edc90066c3faeadcf4666928ed9b0ac409c75. | |||
2016-01-28 | nspawn: make journal linking non-fatal in try and auto modes | Lennart Poettering | |
Fixes #2091 | |||
2016-01-28 | systemctl: rename "reload-or-try-restart" verb to "try-reload-or-restart" | Lennart Poettering | |
But also keep the old name as (undocumented) compatibility around. The reload-or-try-restart was documented to be a NOP if the unit is not running, since the previous commits this is also implemented. The old name suggests that the "try" logic only applies to restarting. Fix this, by moving the "try-" to the front, to indicate that the whole option is a NOP if the service isn't running. | |||
2016-01-28 | systemctl: improve message when a job fails with a JOB_INVALID state | Lennart Poettering | |
This result can only happen if the job was a reload job for an inactive unit. Make the error message actually say that. | |||
2016-01-28 | core: when propagating reload jobs, downgrade them to try-reload | Lennart Poettering | |
Otherwise we might end up generating jobs that fail immediately. This follows the same logic that restart propagation follows. | |||
2016-01-28 | core: when determining system state, don't bother with JOB_TRY_RESTART | Lennart Poettering | |
When we determine the current system state we check whether units like emergency.target are running or a job that results in them being run is queued. However, this is not the case for JOB_TRY_RESTART, since that's a NOP if the unit has not been running before. Hence, don't bother with checking for that job type. | |||
2016-01-28 | core: make sure "systemctl reload-or-try-restart is actually a noop if a ↵ | Lennart Poettering | |
unit is not running This makes sure we follow the same basic logic for try-restart if we have a try-reload. Fixes #688 | |||
2016-01-28 | man: stop documenting legacy RedHatisms | Lennart Poettering | |
We generally document only the supported verbs, but not the compatibility verbs we also support, in order to keep the documentation minimal. | |||
2016-01-28 | Merge pull request #2463 from poettering/machined-tty-fix | Daniel Mack | |
Fixes for the service TTY reset logic and other stuff | |||
2016-01-28 | basic: getauxval(AT_RANDOM) is apparently not necessarily aligned | Lennart Poettering | |
Let's make sure we read it in a way compatible with non-aligned memory. Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812928 | |||
2016-01-28 | systemctl: don't make up unit states, and don't eat up errors to eagerly | Lennart Poettering | |
When checking a unit's state, don't ignore errors too eagerly, but generate proper error messages. Also, don't synthesize an "unknown" state on error, but let the operation file. If a unit file isn't loaded treat this as "inactive" as that's effectively what it means. | |||
2016-01-28 | systemctl: don't mangle unit names in check_unit_generic() | Lennart Poettering | |
As it turns out all callers of check_unit_generic() already mangle unit names, or get the unit names directly from PID 1 (and hence arein normalized form anyway), hence there's no point in mangling then... | |||
2016-01-28 | shared: meanor clean-ups for logs-show.c | Lennart Poettering | |
Some minor simplifications. Shouldn't change codepaths. | |||
2016-01-28 | core: don't reset /dev/console if stdin/stdout/stderr as passed as fd in a ↵ | Lennart Poettering | |
transient service Otherwise we might end resetting /dev/console all the time when a transient service starts or stops. Fixes #2377 Fixes #2198 Fixes #2061 | |||
2016-01-28 | doc: improved wording in some places | Jan Engelhardt | |
Avoid "mountpoint mounted" (word repetition), "queriable" (no match in m-w.com and dict.cc). | |||
2016-01-28 | man: try to repair some nonsensical paragraph | Jan Engelhardt | |
2016-01-28 | man: top-align cell text for large tables | Jan Engelhardt | |
2016-01-28 | man: avoid double virtualization | Jan Engelhardt | |
"VM virtualization" <=> "virtual machine virtualization", and double virtualization is just incorrect in this context. | |||
2016-01-28 | Merge pull request #2455 from keszybz/man-pages | Daniel Mack | |
man: fix reference to an external man page | |||
2016-01-27 | man: fix references to a few external man pages | Zbigniew Jędrzejewski-Szmek | |
Noticed in pull request #2067. | |||
2016-01-27 | Merge pull request #2454 from splantefeve/master | Zbigniew Jędrzejewski-Szmek | |
.gitignore: add test-ask-password-api | |||
2016-01-27 | .gitignore: add test-ask-password-api | Sylvain Plantefève | |
2016-01-27 | Merge branch 'pr/980' | Daniel Mack | |
2016-01-27 | man: make systemctl is-enabled description match enable. | Andrei Borzenkov | |
systemctl is-enabled is not limited to wants.d - it also checks for requires.d and alias links. | |||
2016-01-27 | CONTRIBUTING.md: Minor typo fix | Lennart Poettering | |
2016-01-27 | Merge pull request #2451 from zonque/pr-2162-rebased | Lennart Poettering | |
utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, i… | |||
2016-01-27 | utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, int16_t | Shawn Landden | |
rework C11 utf8.[ch] to use char32_t instead of uint32_t when referring to unicode chars, to make things more expressive. [ @zonque: * rebased to current master * use AC_CHECK_DECLS to detect availibility of char{16,32}_t * make utf8_encoded_to_unichar() return int ] | |||
2016-01-27 | Merge pull request #2445 from poettering/various-fixes | Daniel Mack | |
A number of fixes | |||
2016-01-27 | nss-resolve: also fall back to nss-dns if dbus doesn't work | Lennart Poettering | |
Fixes #1692 | |||
2016-01-27 | nss: block various signals while running NSS lookups | Lennart Poettering | |
Let's make sure our poll() calls don't get interrupted where they shouldn't (SIGALRM, ...), but allow them to be interrupted where they should (SIGINT, ...). Fixes #1965 | |||
2016-01-27 | man: document slices.target | Lennart Poettering | |
Fixes: #2438 | |||
2016-01-27 | basic: don't append suffixes to unit name glob expressions | Lennart Poettering | |
When the user specifies "foo*" as unit name glob expression, we shouldn't turn this into "foo*.service". Hence: only append a suffix if the specified string isn't a glob expression. Fixes: #2397 | |||
2016-01-27 | man: document that unit file globbing only operates on primary unit names | Lennart Poettering | |
See: #2397 | |||
2016-01-27 | systemctl: piece-meal strv extension is expensive | Lennart Poettering | |
If we have many entries to add to an strv we really should try to be smarter than constantly realloc()ing the strv array. Instead, grow it exponentially. | |||
2016-01-27 | tests: don't abbreviate function names needlessly | Lennart Poettering | |
THis is otherwise really hard to read... | |||
2016-01-27 | machined: add early checks for unrealistically large image/pool sizes | Lennart Poettering | |
2016-01-27 | machined: when the pool limit is set to infinity don't resize backing ↵ | Lennart Poettering | |
loopback file An unlimited quota makes a lot of sense, but we really should try to propagate this onto the loopback file size, since an infinitely sized file makes no sense. Fixes: #2314 #2253 | |||
2016-01-27 | Merge pull request #1975 from ssahani/vxlan2 | Tom Gundersen | |
networkd: Add support to configure VXLAN Port | |||
2016-01-26 | Merge pull request #2446 from keszybz/ask-password | Lennart Poettering | |
Ask password unicode fix | |||
2016-01-26 | ask-password-api: only emit a star on valid unicode codepoint | Zbigniew Jędrzejewski-Szmek | |
https://bugzilla.redhat.com/show_bug.cgi?id=1301984 | |||
2016-01-26 | test-ask-password-api: add a manual test for password reading | Zbigniew Jędrzejewski-Szmek | |
2016-01-26 | Merge pull request #2306 from walyong/exec_v01 | Lennart Poettering | |
[v1] core: resolve specifier in config_parse_exec() | |||
2016-01-26 | Merge pull request #2444 from phomes/resolve-compare-function | Lennart Poettering | |
resolve: fix compare function for EtcHostItem | |||
2016-01-26 | resolve: fix compare function for EtcHostItem | Thomas Hindoe Paaboel Andersen | |
From dd0bc0f1 | |||
2016-01-26 | Merge pull request #2442 from samukallio/nss-resolve-fix-aliases | Lennart Poettering | |
nss-resolve: fix gethostbyaddr h_aliases | |||
2016-01-26 | nss-resolve: fix gethostbyaddr h_aliases | Samu Kallio | |
Fix the comparison to include the first alias, which will otherwise be left as a bogus pointer. |