Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-29 | socket: rename ffs_xyz to usbffs_xyz | Lennart Poettering | |
The relation to USB should really be clearer. | |||
2015-09-29 | core: turn a large if statement into a switch | Lennart Poettering | |
2015-09-29 | selinux: add _cleanup_ concepts to SELinux label allocation | Lennart Poettering | |
2015-09-29 | core: simplify how we create socket fds | Lennart Poettering | |
Let's always return the allocated fds as return values where possible, and make more use of _cleanup_close_ | |||
2015-09-29 | core: small error message wording improvements | Lennart Poettering | |
2015-09-29 | core: properly use the ExitCode bus property when exiting is --user instance | Lennart Poettering | |
2015-09-29 | core: allow setting WorkingDirectory= to the special value ~ | Lennart Poettering | |
If set to ~ the working directory is set to the home directory of the user configured in User=. This change also exposes the existing switch for the working directory that allowed making missing working directories non-fatal. This also changes "machinectl shell" to make use of this to ensure that the invoked shell is by default in the user's home directory. Fixes #1268. | |||
2015-09-29 | man: also properly indent our examples to 8ch | Lennart Poettering | |
2015-09-29 | detect-virt: various modernizations | Lennart Poettering | |
2015-09-29 | journal-cat: various modernizations | Lennart Poettering | |
2015-09-29 | journal-cat: return a correct error, not -1 | Lennart Poettering | |
2015-09-29 | machine-id-commit: merge machine-id-commit functionality into machine-id-setup | Lennart Poettering | |
And remove machine-id-commit as separate binary. There's really no point in keeping this separate, as the sources are pretty much identical, and have pretty identical interfaces. Let's unify this in one binary. Given that machine-id-commit was a private binary of systemd (shipped in /usr/lib/) removing the tool is not an API break. While we are at it, improve the documentation of the command substantially. | |||
2015-09-29 | units: increase watchdog timeout to 3min for all our services | Lennart Poettering | |
Apparently, disk IO issues are more frequent than we hope, and 1min waiting for disk IO happens, so let's increase the watchdog timeout a bit, for all our services. See #1353 for an example where this triggers. | |||
2015-09-29 | sd-daemon: Simplify sd_booted() check | Lennart Poettering | |
We can just use access() to check whether /run/system/system/ is a directory, no need to involve stat(). The trick is to suffix the path name with a dash. | |||
2015-09-29 | systemctl: make "systemctl is-system-running" return "offline" if we are not ↵ | Lennart Poettering | |
booted with systemd This sounds like the better place to expose this than in "systemd-notify --booted". Also document the so far undocumented "unknown" state the command might return. And rearrange the table of states documented to be more like the one for "is-running". Also, don't document the precise exit code of this function, just say errors are reported != 0 or > 0... | |||
2015-09-29 | tty-ask-password: minor modernizations | Lennart Poettering | |
2015-09-29 | util: introduce common version() implementation and use it everywhere | Lennart Poettering | |
This also allows us to drop build.h from a ton of files, hence do so. Since we touched the #includes of those files, let's order them properly according to CODING_STYLE. | |||
2015-09-29 | util: unify implementation of NOP signal handler | Lennart Poettering | |
This is highly complex code after all, we really should make sure to only keep one implementation of this extremely difficult function around. | |||
2015-09-29 | core: remove set_default_unit() | Lennart Poettering | |
The new free_and_strdup() call does pretty much the same thing these days, no need to keep a private limited purpose version around. | |||
2015-09-29 | core: modernize prepare_reexecute() | Lennart Poettering | |
2015-09-29 | core: exit early if we hit OOM | Lennart Poettering | |
2015-09-29 | core: use %m rather than strerror() where we can | Lennart Poettering | |
2015-09-29 | main: minor clean-ups | Lennart Poettering | |
Add (void) casting for a couple of functions where we knowingly ignore the returning error code. Use EXIT_FAILURE where appropriate. Try to initialize structures at declaration time, or at once. | |||
2015-09-29 | tree-wide: take benefit of the fact that fdset_free() returns NULL | Lennart Poettering | |
2015-09-29 | core: order #includes in main.c | Lennart Poettering | |
2015-09-29 | strv: add strv_free_free() to strv.c and make use of it | Lennart Poettering | |
Let's teach it a new trick, and make it return NULL. | |||
2015-09-29 | tree-wide: port more code to use send_one_fd() and receive_one_fd() | Lennart Poettering | |
Also, make it slightly more powerful, by accepting a flags argument, and make it safe for handling if more than one cmsg attribute happens to be attached. | |||
2015-09-29 | core: sort includes of manager.[ch] according to CODING_STYLE | Lennart Poettering | |
2015-09-29 | Merge pull request #1403 from dvdhrm/prioq-comment | Michal Schmidt | |
prioq: add introduction comment | |||
2015-09-29 | prioq: add introduction comment | David Herrmann | |
Add comment to prioq.c explaining what it does. And more importantly, mention that we implement a Heap. It's more than annoying having to figure out what the code actually does, without ever mentioning the word 'heap'. | |||
2015-09-28 | Merge pull request #1396 from phomes/va-start | David Herrmann | |
sd-bus: va_start should use the last named parameter | |||
2015-09-27 | sd-bus: va_start should use the last named parameter | Thomas Hindoe Paaboel Andersen | |
2015-09-27 | Merge pull request #1392 from dvdhrm/bus-format2 | Lennart Poettering | |
sd-bus: add sd_bus_path_{encode,decode}_many() (v2) | |||
2015-09-27 | Merge pull request #1373 from pfl/dhcp6_opportunistic_configuration | Martin Pitt | |
networkd: Be opportunistic when declaring link configured | |||
2015-09-26 | sd-bus: add sd_bus_path_{encode,decode}_many() | David Herrmann | |
This introduces two new helpers alongside sd_bus_path_{encode,decode}(), which work similarly to their counterparts, but accept a format-string as input. This allows encoding and decoding multiple labels of a format string at the same time. | |||
2015-09-26 | Merge pull request #1391 from evverx/nspawn-completion | Daniel Mack | |
shell-completion: nspawn: add missing values for --link-journal | |||
2015-09-26 | hwdb: Update database of Bluetooth company identifiers | Marcel Holtmann | |
2015-09-26 | shell-completion: nspawn: add missing values for --link-journal | Evgeny Vereshchagin | |
2015-09-25 | update NEWS | Daniel Mack | |
2015-09-25 | Merge pull request #1388 from darkcircle/ko-translation | Daniel Mack | |
add a new Korean translation | |||
2015-09-25 | add a new Korean translation | Seong-ho Cho | |
2015-09-25 | Merge pull request #1382 from filbranden/cpuaffinity2 | Daniel Mack | |
Use parse_cpu_set in CPUAffinity support (for units) | |||
2015-09-25 | Merge pull request #1380 from evverx/journalctl-bash-completion | Daniel Mack | |
Update journalctl bash completion | |||
2015-09-24 | load-fragment: Use parse_cpu_set in CPUAffinity support | Filipe Brandenburger | |
Tested with a dummy service running 'sleep', modifying its CPUAffinity, restarting the service and checking the ^Cpus_allowed entries in the /proc/PID/status file. | |||
2015-09-24 | util: Add test for parse_cpu_set | Filipe Brandenburger | |
2015-09-25 | shell-completion: journalctl: add missing options | Evgeny Vereshchagin | |
2015-09-24 | util: refactor cpu_set parsing into its own function | Filipe Brandenburger | |
Use the new code in config_parse_cpu_affinity2. Tested by modifying CPUAffinity=... setting in /etc/systemd/system.conf and reloading the daemon, then checking ^Cpus_allowed in /proc/1/status to confirm the correct CPU mask is in place. | |||
2015-09-25 | shell-completion: journalctl: add missing fields | Evgeny Vereshchagin | |
2015-09-24 | Merge pull request #1377 from evverx/man-systemd-slice | Lennart Poettering | |
man: systemd.slice: add link to cgroups api docs | |||
2015-09-24 | Merge pull request #1376 from dvdhrm/hostnamed-argc | Lennart Poettering | |
hostnamed: drop redundant code |