Yu Watanabe
db9ecf0501
license: LGPL-2.1+ -> LGPL-2.1-or-later
2020-11-09 13:23:58 +09:00
Lennart Poettering
ac9f55ed40
tree-wide: implement new log control API dbus interface in all our daemons
2020-04-21 17:08:16 +02:00
Lennart Poettering
269e4d2d6b
shared: split out polkit stuff from bus-util.c → bus-polkit.c
...
It's enough, complex stuff to warrant its own source file.
No other changes, just splitting out.
2020-01-22 12:34:10 +01:00
Lennart Poettering
e4c5d78e5f
portabled: Make use of SYNTHETIC_ERRNO()
2019-07-04 19:45:23 +02:00
Zbigniew Jędrzejewski-Szmek
ca78ad1de9
headers: remove unneeded includes from util.h
...
This means we need to include many more headers in various files that simply
included util.h before, but it seems cleaner to do it this way.
2019-03-27 11:53:12 +01:00
Lennart Poettering
92e31da100
tree-wide: make sure to flush/close all bus connections when our daemons exit
...
Let's make sure everything is written out ebfore we exit, so that no
messages keep our bus connections referenced.
Fixes : #11462
2019-01-17 16:12:38 +01:00
Yu Watanabe
b07ec5a173
machine-image: introduce image_hash_ops and use it
2018-12-02 12:18:54 +01:00
Lennart Poettering
6bf3c61c57
log: introduce new helper call log_setup_service()
...
Let's reduce the common boilerplate and have a single setup function
used by all service code to setup logging.
2018-11-20 11:18:22 +01:00
Lennart Poettering
5e332028f2
util-lib: move main() definition macros to its own header file
...
This way, we can extend the macro a bit with stuff pulled in from other
headers without this affecting everything which pulls in macro.h, which
is one of our most basic headers.
This is just refactoring, no change in behaviour, in prepartion for
later changes.
2018-11-19 21:14:34 +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
Lennart Poettering
61d0578b07
add new portable service framework
...
This adds a small service "systemd-portabled" and a matching client
"portablectl", which implement the "portable service" concept.
The daemon implements the actual operations, is PolicyKit-enabled and is
activated on demand with exit-on-idle.
Both the daemon and the client are an optional build artifact, enabled
by default rhough.
2018-05-24 17:01:57 +02:00