Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-24 | util-lib: split our string related calls from util.[ch] into its own file ↵ | Lennart Poettering | |
string-util.[ch] There are more than enough calls doing string manipulations to deserve its own files, hence do something about it. This patch also sorts the #include blocks of all files that needed to be updated, according to the sorting suggestions from CODING_STYLE. Since pretty much every file needs our string manipulation functions this effectively means that most files have sorted #include blocks now. Also touches a few unrelated include files. | |||
2015-10-24 | util: split out escaping code into escape.[ch] | Lennart Poettering | |
This really deserves its own file, given how much code this is now. | |||
2015-10-24 | util-lib: rework extract_first_word_and_warn() a bit | Lennart Poettering | |
- Really warn in all error cases, not just some. We need to make sure that all errors are logged to not confuse the user. - Explicitly check for EINVAL error code before claiming anything about invalid escapes, could be ENOMEM after all. | |||
2015-10-24 | mount: add new SmackFileSystemRoot= setting for mount unit | Sangjung Woo | |
This option specifies the label to assign the root of the file system if it lacks the Smack extended attribute. Note that this option will be ignored if kernel does not support the Smack feature by runtime checking. | |||
2015-10-23 | Merge pull request #1647 from evverx/use-extract-in-namespace-parsing | Lennart Poettering | |
core: use extract_first_word for namespace parsing | |||
2015-10-22 | core: use extract_first_word for namespace parsing | Evgeny Vereshchagin | |
see https://github.com/systemd/systemd/pull/1632#issuecomment-149903791 We should port this loop over to extract_first_word(), too. | |||
2015-10-22 | core: check parsed bus msg in full before applying it | Lennart Poettering | |
2015-10-21 | core dbus: Check that flush works with memstream | Nicolas Cornu | |
2015-10-21 | core: fix namespace parsing | Evgeny Vereshchagin | |
ReadOnlyDirectories=-/ works fine | |||
2015-10-21 | Merge pull request #1623 from evverx/run-rw-ro-ia-dirs | Lennart Poettering | |
systemd-run can launch units with ReadWriteDirectories, ReadOnlyDirectories, InaccessibleDirectories | |||
2015-10-20 | run: can launch units with ReadWriteDirectories, ReadOnlyDirectories, ↵ | Evgeny Vereshchagin | |
InaccessibleDirectories | |||
2015-10-20 | dbus-execute: remove unused variable | Thomas Hindoe Paaboel Andersen | |
from ceb728cf | |||
2015-10-20 | Merge pull request #1616 from evverx/run-fix-environment-parsing | Lennart Poettering | |
run: fix Environment parsing | |||
2015-10-20 | run: fix Environment parsing | Evgeny Vereshchagin | |
* `Environment=` resets previous assignments * `Environment='a=1 b=2'` sets `a` to `1` and `b` to `2` * `Environment='"a=1 2" b=2"'` sets `a` to `1 2` and `b` to `2` | |||
2015-10-19 | dbus-execute: some cleanups when parsing EnvironmentFiles= for transient units | Lennart Poettering | |
2015-10-19 | core: actually set pids_max field after parsing it | Lennart Poettering | |
Fixes one of the issues pointed out in #1522. | |||
2015-10-19 | tree-wide: add more void casts for various syscall invocations | Lennart Poettering | |
2015-10-19 | core: fix type of NetClass dbus property | Lennart Poettering | |
it's exposed as uint32_t and it is internally an uint32_t, hence no need to treat it as an unsigned. | |||
2015-10-19 | Merge pull request #1614 from alkino/master | Lennart Poettering | |
Hook more properties for transient units | |||
2015-10-19 | Hook more properties for transient units | Nicolas Cornu | |
systemd-run can now launch units with EnvironmentFile set. | |||
2015-10-19 | tree-wide: remove unused functions | Thomas Hindoe Paaboel Andersen | |
2015-10-19 | Merge pull request #1598 from evverx/run-oomscoreadjust | Lennart Poettering | |
systemd-run can launch units with OOMScoreAdjust | |||
2015-10-18 | Merge pull request #1595 from poettering/proxy-fixes | David Herrmann | |
bus proxy fixes, and more | |||
2015-10-17 | run: can launch units with OOMScoreAdjust | Evgeny Vereshchagin | |
2015-10-17 | unit: allocate bus name match string on the stack | Lennart Poettering | |
Let's use strjoina() rather than strjoin() for construct dbus match strings. Also, while we are at it, fix parameter ordering, so that our functions always put the object first, like it is customary for OO-like programming. | |||
2015-10-16 | core: dump RuntimeDirectories and RuntimeDirectoryMode too | Evgeny Vereshchagin | |
2015-10-15 | core: expose manager's TimerSlackNSec as propery on dbus | Evgeny Vereshchagin | |
2015-10-15 | run: can launch units with TimerSlackNSec | Evgeny Vereshchagin | |
2015-10-14 | Merge pull request #1528 from evverx/systemd-run-syslog-pri-fac | Lennart Poettering | |
systemd-run can launch units with SyslogLevel and SyslogFacility | |||
2015-10-14 | core: execute: validate syslog level and facility | Evgeny Vereshchagin | |
2015-10-14 | systemd-run: can launch units with SyslogFacility | Evgeny Vereshchagin | |
2015-10-14 | systemd-run: can launch units with SyslogLevel | Evgeny Vereshchagin | |
2015-10-14 | core: log if the service to activate vanished before we activate it | Lennart Poettering | |
Normally this shouldn't happen unless the daemon is reloaded. A similar check is already in place in socket.c for the socket activation case. This hopefully makes #1526 non-fatal, though it will not fix this, and there's something else to fix. | |||
2015-10-14 | Merge pull request #1529 from evverx/dbus-props-syslog-fac-pri | Lennart Poettering | |
core: expose `SyslogFacility` and `SyslogLevel` as properties on dbus | |||
2015-10-14 | core: expose SyslogLevel and SyslogFacility as properties on dbus | Evgeny Vereshchagin | |
2015-10-13 | manager: remove unused function | Thomas Hindoe Paaboel Andersen | |
2015-10-12 | core: manager: expose DefaultLimit* as properties on dbus | Evgeny Vereshchagin | |
2015-10-12 | bus-util: add bus_property_get_rlimit (move from core/dbus_execute) | Evgeny Vereshchagin | |
2015-10-09 | core: ignore -.slice and init.scope when isolating | Lennart Poettering | |
Otherwise, we might end up trying to isolate it away when starting user instances. While we are at it, also prohibit manual start/stop of these two units. Fixes: #1507 | |||
2015-10-09 | core: remove taint flag about /etc/mtab not being a symlink. | Lennart Poettering | |
We already stop boot if /etc/mtab is not a symlink right now, and most likely we'll stop referecing it at all in the future, either way there's no point in keeping it around as taint flag. | |||
2015-10-09 | Merge pull request #1512 from evverx/systemd-run-syslog-properties | Lennart Poettering | |
systemd-run can launch units with SyslogIdentifier and SyslogLevelPrefix | |||
2015-10-09 | Merge pull request #1501 from fbuihuu/fix-requires-mounts-for-directives | Lennart Poettering | |
Make sure the mount units pulled by 'RequiresMountsFor=' are loaded, if they exist | |||
2015-10-09 | systemd-run can now launch units with SyslogIdentifier | Evgeny Vereshchagin | |
2015-10-09 | systemd-run can now launch units with SyslogLevelPrefix | Evgeny Vereshchagin | |
2015-10-08 | Make sure the mount units pulled by 'RequiresMountsFor=' are loaded (if they ↵ | Franck Bui | |
exist) We should make sure that mount units involved by 'RequiresMountsFor=' directives are really loaded if not required by any others units so that Requires= dependencies on the mount units are applied and thus the mount unit dependencies are started. | |||
2015-10-08 | core: system.conf: add DefaultTasksAccounting | Evgeny Vereshchagin | |
2015-10-08 | Merge pull request #1496 from poettering/stdin-fd | Daniel Mack | |
allow passing in fds for stdin/stdout/stderr for transient services | |||
2015-10-08 | util: do not reset terminal in acquire_terminal() | Lennart Poettering | |
Before, we'd always reset acquired terminals, which is not really desired, as we expose a setting TTYReset= which is supposed to control whether the TTY is reset or not. Previously that setting would only enable a second resetting of the TTY, which is of course pointless... Hence, move the implicit resetting out of acquire_terminal() and make the callers do it if they need it. | |||
2015-10-08 | core: add support for setting stdin/stdout/stderr for transient services | Lennart Poettering | |
When starting a transient service, allow setting stdin/stdout/stderr fds for it, by passing them in via the bus. This also simplifies some of the serialization code for units. | |||
2015-10-08 | core: manager: add some missing dbus properties | Evgeny Vereshchagin | |