mirror of
https://github.com/systemd/systemd
synced 2025-10-07 12:44:45 +02:00
Compare commits
6 Commits
f22187bd7e
...
d38dd7d17a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d38dd7d17a | ||
![]() |
6a26f25b74 | ||
![]() |
bd427d005c | ||
![]() |
7c208a64ba | ||
![]() |
66867d5308 | ||
![]() |
4db4641a65 |
4
TODO
4
TODO
@ -128,6 +128,10 @@ Deprecations and removals:
|
|||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
* Split vconsole-setup in two, of which the second is started via udev (instead
|
||||||
|
of the "restart" job it currently fires). That way, boot becomes purely
|
||||||
|
positive again, and we can nicely order the two against each other.
|
||||||
|
|
||||||
* Add ELF section to make systemd main binary recognizable cleanly, the same
|
* Add ELF section to make systemd main binary recognizable cleanly, the same
|
||||||
way as we make sd-boot recognizable via PE section.
|
way as we make sd-boot recognizable via PE section.
|
||||||
|
|
||||||
|
@ -236,15 +236,6 @@ static int scope_coldplug(Unit *u) {
|
|||||||
if (r < 0)
|
if (r < 0)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
if (!IN_SET(s->deserialized_state, SCOPE_DEAD, SCOPE_FAILED) && u->pids) {
|
|
||||||
PidRef *pid;
|
|
||||||
SET_FOREACH(pid, u->pids) {
|
|
||||||
r = unit_watch_pidref(u, pid, /* exclusive= */ false);
|
|
||||||
if (r < 0)
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bus_scope_track_controller(s);
|
bus_scope_track_controller(s);
|
||||||
|
|
||||||
scope_set_state(s, s->deserialized_state);
|
scope_set_state(s, s->deserialized_state);
|
||||||
@ -511,8 +502,7 @@ static int scope_serialize(Unit *u, FILE *f, FDSet *fds) {
|
|||||||
(void) serialize_item(f, "state", scope_state_to_string(s->state));
|
(void) serialize_item(f, "state", scope_state_to_string(s->state));
|
||||||
(void) serialize_bool(f, "was-abandoned", s->was_abandoned);
|
(void) serialize_bool(f, "was-abandoned", s->was_abandoned);
|
||||||
|
|
||||||
if (s->controller)
|
(void) serialize_item(f, "controller", s->controller);
|
||||||
(void) serialize_item(f, "controller", s->controller);
|
|
||||||
|
|
||||||
SET_FOREACH(pid, u->pids)
|
SET_FOREACH(pid, u->pids)
|
||||||
serialize_pidref(f, fds, "pids", pid);
|
serialize_pidref(f, fds, "pids", pid);
|
||||||
|
@ -236,6 +236,7 @@ void manager_driver_message_internal(Manager *m, pid_t object_pid, const char *f
|
|||||||
.max_level_kmsg = -1, \
|
.max_level_kmsg = -1, \
|
||||||
.max_level_console = -1, \
|
.max_level_console = -1, \
|
||||||
.max_level_wall = -1, \
|
.max_level_wall = -1, \
|
||||||
|
.max_level_socket = -1, \
|
||||||
}
|
}
|
||||||
|
|
||||||
/* gperf lookup function */
|
/* gperf lookup function */
|
||||||
|
@ -13,6 +13,7 @@ DefaultDependencies=no
|
|||||||
Before=sysinit.target systemd-tmpfiles-setup-dev-early.service
|
Before=sysinit.target systemd-tmpfiles-setup-dev-early.service
|
||||||
ConditionCapability=CAP_SYS_MODULE
|
ConditionCapability=CAP_SYS_MODULE
|
||||||
ConditionFileNotEmpty=/lib/modules/%v/modules.devname
|
ConditionFileNotEmpty=/lib/modules/%v/modules.devname
|
||||||
|
ConditionPathExists={{KMOD}}
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user