summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-26./tools/notsd-moveLuke Shumaker
2016-10-26tools/notsd-move: avoid dangling empty directoriesLuke Shumaker
2016-10-26tools/notsd-move: bus-util locationLuke Shumaker
2016-10-26tools/notsd-fixup--includes: fix mucking with typedefsLuke Shumaker
2016-10-26tools/notsd-fixup--includes: Fix a variable reuse bug.Luke Shumaker
2016-10-26tidyLuke Shumaker
2016-10-26tools/notsd-fixup: Split the makefile pass into a separate executable.Luke Shumaker
This avoids using bash read(1) to loop over the files, as we've already gotten decent speedups from avoiding bash read(1). This means we've got at least two more fork/exec's because of xargs, but it's probably worth it. But that's kind of premature-optimization; the time improvement here is probably just random noise. But, I think this makes the code more maintainable/manageable too, so I'm committing it.
2016-10-26tools/notsd-fixup: Merge the pre-includes pass the includes pass.Luke Shumaker
This shaves off a decent chunk of time, and simplifies the code.
2016-10-26tools/notsd-fixup--includes: Allow passing multiple arguments.Luke Shumaker
This substantially speeds things up because it doesn't have to set up and tear down the Python runtime for every single C file now.
2016-10-26tools/notsd-fixup--includes: port from bash to python for speedLuke Shumaker
This shaves off a decent chunk of time because Bash read(1) is slow because it can't buffer and has to read(2) one byte at a time.
2016-10-26tools/notsd-move: avoid invoking the editor for the merge commitLuke Shumaker
2016-10-26tools/notsd-fixup--includes: clean up, add cachingLuke Shumaker
So now it should cache calls to `cpp` or filesystem checks, which are comparatively expensive.
2016-10-22moreLuke Shumaker
2016-10-22moreLuke Shumaker
2016-10-22moreLuke Shumaker
2016-10-21moreLuke Shumaker
2016-10-21moreLuke Shumaker
2016-10-21more renamesLuke Shumaker
2016-10-21Add a script for finding renames, so I don't have to reinvent it every timeLuke Shumaker
2016-10-21pull tools/notsd-* changes from notsystemd/masterLuke Shumaker
2016-10-21Merge branch 'systemd/parabola' into notsystemd/premoveLuke Shumaker
2016-10-21Merge tag 'systemd/v231-4.parabola1' into systemd/parabolaLuke Shumaker
2016-10-21Merge tag 'systemd/v231-3.parabola1' into systemd/parabolaLuke Shumaker
2016-10-21# Rename "Linux Boot Manager" -> "Systemd Boot Manager"systemd/v231-4.parabola1Luke Shumaker
sed -i 's|Linux Boot Manager|Systemd Boot Manager|' src/boot/bootctl.c
2016-10-21# Rename "Linux Boot Manager" -> "Systemd Boot Manager"systemd/v231-3.parabola1Luke Shumaker
sed -i 's|Linux Boot Manager|Systemd Boot Manager|' src/boot/bootctl.c
2016-10-21FSDG: man/: Use FSDG operating systems as examples.Luke Shumaker
2016-10-21FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"Luke Shumaker
2016-10-21FSDG: os-release: Default ID to "gnu-linux" instead of "linux".Luke Shumaker
As far as I can tell, no code in this repository actually uses the ID field, so this is just a man page change.
2016-10-21FSDG: os-release: Default to NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-10-21FSDG: os-release: Default to PRETTY_NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-10-21FSDG: man/: Refer to the operating system as GNU/Linux.Luke Shumaker
This is not a blind replacement of "Linux" with "GNU/Linux". In some cases, "Linux" is (correctly) used to refer to just the kernel. In others, it is in a string for which code must also be adjusted; these instances are not included in this commit.
2016-10-21FSDG: man/: Use FSDG operating systems as examples.Luke Shumaker
2016-10-21FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"Luke Shumaker
2016-10-21FSDG: os-release: Default ID to "gnu-linux" instead of "linux".Luke Shumaker
As far as I can tell, no code in this repository actually uses the ID field, so this is just a man page change.
2016-10-21FSDG: os-release: Default to NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-10-21FSDG: os-release: Default to PRETTY_NAME "GNU/Linux" instead of "Linux".Luke Shumaker
2016-10-21FSDG: man/: Refer to the operating system as GNU/Linux.Luke Shumaker
This is not a blind replacement of "Linux" with "GNU/Linux". In some cases, "Linux" is (correctly) used to refer to just the kernel. In others, it is in a string for which code must also be adjusted; these instances are not included in this commit.
2016-10-21systemctl: suppress errors with "show" for nonexistent units and propertiessystemd/v231-4Zbigniew Jędrzejewski-Szmek
Show is documented to be program-parseable, and printing the warning about about a non-existent unit, while useful for humans, broke a lot of scripts. Restore previous behaviour of returning success and printing empty or useless stuff for units which do not exist, and printing empty values for properties which do not exists. With SYSTEMD_LOG_LEVEL=debug, hints are printed, but the return value is still 0. This undoes parts of e33a06a and 3dced37b7 and fixes #3856. We might consider adding an explicit switch to fail on missing units/properties (e.g. --ensure-exists or similar), and make -P foobar equivalent to --ensure-exists --property=foobar. (cherry picked from commit bd5b9f0a12dd9c1947b11534e99c395ddf44caa9)
2016-10-21Revert "pid1: reconnect to the console before being re-executed"systemd/v231-3Zbigniew Jędrzejewski-Szmek
This reverts commit affd7ed1a923b0df8479cff1bd9eafb625fdaa66. > So it looks like make_console_stdio() has bad side effect. More specifically it > does a TIOCSCTTY ioctl (via acquire_terminal()) which sees to disturb the > process which was using/owning the console. Fixes #3842. https://bugs.debian.org/834367 https://bugzilla.redhat.com/show_bug.cgi?id=1367766 (cherry picked from commit bd64d82c1c0e3fe2a5f9b3dd9132d62834f50b2d)
2016-10-21pid1: don't return any error in manager_dispatch_notify_fd() (#4240)Franck Bui
If manager_dispatch_notify_fd() fails and returns an error then the handling of service notifications will be disabled entirely leading to a compromised system. For example pid1 won't be able to receive the WATCHDOG messages anymore and will kill all services supposed to send such messages. (cherry picked from commit 9987750e7a4c62e0eb8473603150596ba7c3a015)
2016-10-21pid1: process zero-length notification messages againZbigniew Jędrzejewski-Szmek
This undoes 531ac2b234. I acked that patch without looking at the code carefully enough. There are two problems: - we want to process the fds anyway - in principle empty notification messages are valid, and we should process them as usual, including logging using log_unit_debug(). (cherry picked from commit 8523bf7dd514a3a2c6114b7b8fb8f308b4f09fc4)
2016-10-21If the notification message length is 0, ignore the message (#4237)Jorge Niedbalski
Fixes #4234. Signed-off-by: Jorge Niedbalski <jnr@metaklass.org> (cherry picked from commit 531ac2b2349da02acc9c382849758e07eb92b020)
2016-09-15fixLuke Shumaker
2016-09-15stuffLuke Shumaker
2016-09-13Merge branch 'systemd/parabola' into notsystemd/premoveLuke Shumaker
# Conflicts: # Makefile.am # tmpfiles.d/etc.conf.m4
2016-09-13Merge tag 'systemd/v231-1.parabola1' into systemd/parabolaLuke Shumaker
2016-09-13# Rename "Linux Boot Manager" -> "Systemd Boot Manager"systemd/v231-1.parabola1Luke Shumaker
sed -i 's|Linux Boot Manager|Systemd Boot Manager|' src/boot/bootctl.c
2016-09-13FSDG: man/: Use FSDG operating systems as examples.Luke Shumaker
2016-09-13FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"Luke Shumaker
2016-09-13FSDG: os-release: Default ID to "gnu-linux" instead of "linux".Luke Shumaker
As far as I can tell, no code in this repository actually uses the ID field, so this is just a man page change.