Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-08 | build-sys: link to libsystemd-core only when needed | Ronny Chevalier | |
Multiple executables do not need libsystemd-core | |||
2014-11-08 | core: remove unused macro GC_QUEUE_USEC_MAX | Ronny Chevalier | |
It is unused since cf1265e188e876dda906dca0029248a06dc80c33 | |||
2014-11-08 | build-sys: avoid duplication of macro definition | Ronny Chevalier | |
TEST_DIR is already defined in AM_CFLAGS | |||
2014-11-08 | tests: add test-path | Ronny Chevalier | |
It tests all available directives of Path units: - PathChanged - PathModified - PathExists - PathExisysGlob - DirectoryNotEmpty - MakeDirectory - DirectoryMode - Unit | |||
2014-11-08 | network: fix typo | Rami Rosen | |
IFLA_IPTUN_LINK -> VETH_INFO_PEER | |||
2014-11-07 | man: document --failed | Zbigniew Jędrzejewski-Szmek | |
https://bugs.debian.org/767267 | |||
2014-11-07 | shared: add readlink_value | Tom Gundersen | |
Reads the basename of the target of a symlink. | |||
2014-11-07 | sysusers: be nice and print a warning if futimens() fails | Lennart Poettering | |
CID# 1251163 | |||
2014-11-07 | utf8: when looking at the next unichar, honour the size parameter, in ↵ | Lennart Poettering | |
utf8_is_printable_newline() | |||
2014-11-07 | log: explicitly ignore return value of parse_proc_cmdline() | Lennart Poettering | |
CID# 1251162 | |||
2014-11-07 | core: unify how we create the notify and private dbus socket | Lennart Poettering | |
Use the same robust logic of mkdir + unlink of any existing AF_UNIX socket, ignoring the return value, right before bind(). | |||
2014-11-07 | update TODO | Lennart Poettering | |
2014-11-06 | man: update bootup(7) for asynchronous timers.target | Zbigniew Jędrzejewski-Szmek | |
2014-11-07 | manager: cast mkdir() result to (void) to make sure coverity is quiet | Lennart Poettering | |
Also simplify the code a bit by moving mkdir to the common path. | |||
2014-11-07 | update TODO | Lennart Poettering | |
2014-11-07 | util: simplify normalize_env_assignment() a bit | Lennart Poettering | |
2014-11-07 | util: file_is_priv_sticky() is used internally in util.c only nowadays, make ↵ | Lennart Poettering | |
it static | |||
2014-11-07 | update TODO | Lennart Poettering | |
2014-11-07 | timer: reenable TIMER_ACTIVE timers when restarted | Michael Chapman | |
A timer configured with OnActiveSec will start its associated unit again if the timer is stopped, then started. However, if the timer unit is restarted -- with "systemctl restart", say -- this does not occur. This commit ensures that TIMER_ACTIVE timers are re-enabled whenever the timer is started, even if that's within a restart job. | |||
2014-11-07 | util: rework /proc/cmdline parser to use unquote_first_word() | Lennart Poettering | |
2014-11-07 | util: simplify proc_cmdline() to reuse get_process_cmdline() | Lennart Poettering | |
Also, make all parsing of the kernel cmdline non-fatal. | |||
2014-11-07 | fileio: simplify write_string_file_atomic() by reusing write_string_stream() | Lennart Poettering | |
2014-11-07 | copy: change error code when hitting copy limit to EFBIG | Lennart Poettering | |
After all, this is about files, not arguments, hence EFBIG is more appropriate than E2BIG | |||
2014-11-07 | copy: teach copy_bytes() sendfile() support, and then replace ↵ | Lennart Poettering | |
sendfile_full() by it | |||
2014-11-07 | util: make use of isempty() where appropriate | Lennart Poettering | |
2014-11-06 | shutdown: fix arguments to /run/initramfs/shutdown | Michal Schmidt | |
Our initrd interface specifies that the verb is in argv[1]. This is where systemd passes it to systemd-shutdown, but getopt permutes argv[]. This confuses dracut's shutdown script: Shutdown called with argument '--log-level'. Rebooting! getopt can be convinced to not permute argv[] by having '-' as the first character of optstring. Let's use it. This requires changing the way non-option arguments (in our case, the verb) are processed. This fixes a bug where the system would reboot instead of powering off. | |||
2014-11-06 | update TODO | Lennart Poettering | |
2014-11-06 | s/command-line/command line/g | Lennart Poettering | |
A follow-up to: commit 3f85ef0f05ffc51e19f86fb83a1c51e8e3cd6817 Author: Harald Hoyer <harald@redhat.com> Date: Thu Nov 6 15:33:48 2014 +0100 s/commandline/command line/g | |||
2014-11-06 | machined: reorder method calls in vtable | Lennart Poettering | |
2014-11-06 | switch-root: explain why we don't care about base_filesystem_create() failing | Lennart Poettering | |
2014-11-06 | shared: create files even if the SELinux policy has no context for them | Michal Schmidt | |
The SELinux policy defines no context for some files. E.g.: $ matchpathcon /run/lock/subsys /dev/mqueue /run/lock/subsys <<none>> /dev/mqueue <<none>> We still need to be able to create them. In this case selabel_lookup_raw() returns ENOENT. We should then skip setfscreatecon(), but still return success. It was broken since c34255bdb2 ("label: unify code to make directories, symlinks"). | |||
2014-11-06 | s/commandline/command line/g | Harald Hoyer | |
2014-11-06 | switch_root: do not fail, if base_filesystem_create() failed | Harald Hoyer | |
Not all switch roots are like base_filesystem_create() wants them to look like. They might even boot, if they are RO and don't have the FS layout. Just ignore the error and switch_root nevertheless. base_filesystem_create() should have logged, what went wrong. | |||
2014-11-06 | README: mention that engineering services for systemd are available from ↵ | Lennart Poettering | |
endocode | |||
2014-11-06 | systemctl: when invokes as "reboot -f", sync() | Lennart Poettering | |
We do this in the clean shutdown path in shutdown.c, hence we should do is for "reboot -f", too. | |||
2014-11-06 | hostnamed: introduce new "embedded" chassis type | Lennart Poettering | |
We really don't want to get lost in adding fridge, car, plane, drone, or whatever else, hence add a generic term "embedded" cover all the cases where the computer is just part of something bigger, and not at the focus of things. | |||
2014-11-06 | update TODO | Lennart Poettering | |
2014-11-06 | shared: rename condition-util.[ch] to condition.[ch] | Lennart Poettering | |
Now that we only have one file with condition implementations around, we can drop the -util suffix and simplify things a bit. | |||
2014-11-06 | core: get rid of condition.c and move the remaining call into util.c | Lennart Poettering | |
That way only one file with condition code remaining, in src/shared/, rather than src/core/. Next step: dropping the "-util" suffix from condition-util.[ch]. | |||
2014-11-06 | man: document that we don't document .include on purpose | Lennart Poettering | |
<!-- xml comments are useful! --> | |||
2014-11-06 | man: don't document ConditionNull=/AssertNull= as the are not particularly ↵ | Lennart Poettering | |
useful and simply confusing | |||
2014-11-06 | condition: order condition types the same way in man page, enum, tables | Lennart Poettering | |
Yes, sometimes I develop OCD. | |||
2014-11-06 | core: introduce the concept of AssertXYZ= similar to ConditionXYZ=, but ↵ | Lennart Poettering | |
fatal for a start job if not met | |||
2014-11-06 | condition: record test state internally and beef it up to be a full enum | Lennart Poettering | |
2014-11-06 | condition: add more test cases | Lennart Poettering | |
2014-11-06 | journal: adjust audit log messages a bit | Lennart Poettering | |
2014-11-06 | condition: internalize condition test functions | Lennart Poettering | |
Also, implement the negation check inside of condition_test() instead of individually in each test function. | |||
2014-11-06 | condition: unify condition logic in one file | Lennart Poettering | |
2014-11-06 | condition: properly allow passing back errors from condition checks | Lennart Poettering | |
2014-11-06 | units: restore job timeouts for poweroff and reboot | Zbigniew Jędrzejewski-Szmek | |
It seems that there actually aren't any long running tasks which are performed at shutdown. If it turns out that there actually are, this should be revisited. This reverts most of commit 038193efa6. |