1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
Commit Graph

36739 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
51e2378642 volatile-root: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
0420d20dd2 tty-ask-password-agent: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
47031c9276 sysv-generator: configure logging before use and define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
1b425cb28f stdio-bridge: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
7caefb8140 sleep: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
6e61c701f2 remount-fs: configure logging before use and define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
72d0d7a628 random-seed: configure logging before use and define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
2ab2a55bd6 quotacheck: configure logging before use and define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
44c5d0442e portabled: add missing STOPPING=1 notification 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
166a9dc66f portabled: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
24d5223fc9 path: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
fb1fa5a882 makefs: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
aac0b2e8f3 notify: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
9b58b5ad34 machined: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
cc639ee79d user-runtime-dir: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
c11cfa2865 logind: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
b453c447e0 inhibit: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
634a0ad3e5 cat: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
5272ae42ce import: define mains through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
3c79f0b3ce id128: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
06213aae94 hwdb: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
43ead4114b hostnamectl: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
9013653e3c fsck: configure logging before use and define main through macro
There's a slight change in logic: before, when rebooting the machine, we could
also request quotacheck (by touching /run/systemd/quotacheck) if the fsck
helper set FSCK_ERROR_CORRECTED.  This is just a race, and doesn't matter much
in practice.
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
c88f45e744 escape: use free_and_replace 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
5f200747f6 escape: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
bdab09849e detect-virt: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
4515a95ee0 coredump: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
02434ea263 boot-check-no-failures: define main through macro 2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
9a5cedc319 ac-power: define main through macro
I decided to use a separate definition for this because it's too easy to return
positive from functions which don't need this distinction and only return
negative on error and success otherwise.
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
a974a6569e Introduce main definer and use it in cgtop
This actually fixes one bogus return code in error path.
2018-11-17 09:03:54 +01:00
Lennart Poettering
4472fa6d2c conf-parse: use strjoina() where appropriate 2018-11-17 08:47:27 +01:00
Lennart Poettering
46f2d09f31 conf-parse: drop unused prototype 2018-11-17 08:47:27 +01:00
Lennart Poettering
222c8d4e22 macro: remove double evaluation in FLAGS_SET() 2018-11-17 08:45:24 +01:00
Lennart Poettering
bca89fe84d rc-local-generator: add comment explaining the background of the generator
This is not obvious, hence it deserves some form of documentation.
However, it's also ultimately an implementation detail, hence let's not
add this to the man page, but as a code comment, that is visible right
at the top of source file.

Fixes: #10675
2018-11-17 08:43:57 +01:00
Evgeny Vereshchagin
090a20cfaf tests: add a fuzzer for process_audit_string 2018-11-16 23:14:31 +01:00
asavah
6917857ed4 fix build with -Defi=false 2018-11-16 21:51:47 +01:00
Lennart Poettering
07be866903 logind: voidify more things 2018-11-16 21:50:37 +01:00
Lennart Poettering
c282daed68 logind: when we need to execute a sleep operation we don't support, fall back to suspend
If suspend-then-hibernate, hybrid-sleep or plain hibernation is
supposed to be execute due to a key press/lid switch but is not
supported, automatically fall back to plain suspend (and log about it).

Fixes: #10558
2018-11-16 21:50:24 +01:00
Zbigniew Jędrzejewski-Szmek
3151a11061 TODO: add entry 2018-11-16 19:47:07 +01:00
Zbigniew Jędrzejewski-Szmek
aac99f303a core: introduce a helper function to wrap unit_log_{success,failure}
It's inline so that the compiler can easily optimize away the call to get
status string.
2018-11-16 19:47:07 +01:00
Lennart Poettering
14c4da2ffe
Merge pull request #10805 from poettering/migrate-boot-loader-interface
migrate boot loader interface doc from wiki into markdown (split out of #10495)
2018-11-16 17:55:08 +01:00
Lennart Poettering
464e48f495
Merge pull request #10751 from yuwata/sd-event-util
Reuse sd_event_source object for timer event
2018-11-16 17:54:43 +01:00
Lennart Poettering
ae3cc6ec0d
Merge pull request #10770 from poettering/unit-done-log
improvements to structure log events from PID1
2018-11-16 17:54:19 +01:00
Lennart Poettering
ca0e33734e
Merge pull request #10777 from poettering/seccomp-filter-others
list syscalls supported by the local kernel but not in any syscall groups explicitly in "systemd-analyze syscall-filter"
2018-11-16 17:53:50 +01:00
Lennart Poettering
6415fecd4c
Merge pull request #10785 from poettering/cgroup-join-removal
remove JoinControllers= setting
2018-11-16 17:53:26 +01:00
Lennart Poettering
3382cf28b6
Merge pull request #10802 from poettering/hide-only-on
man: let's deprecate PermissionsStartOnly=
2018-11-16 17:53:01 +01:00
Lennart Poettering
1b259a5bf3
Merge pull request #10804 from poettering/sd-boot-updates
various sd-boot/EFI fixes (split out from #10495)
2018-11-16 17:52:37 +01:00
Lennart Poettering
db0ba2a4a4
Merge pull request #10806 from poettering/logind-many-fixes
various smaller fixes and improvements to logind (split out of #10495)
2018-11-16 17:52:11 +01:00
Lennart Poettering
6fdc4831bb docs: tweak index.md generation and run it again 2018-11-16 17:44:27 +01:00
Lennart Poettering
2fe8213230 docs: migrate boot loader interface from fdo wiki to git
This imports
https://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface/
into our sources, and extends it substantially with various variables
now supported.
2018-11-16 17:43:59 +01:00