1
0
mirror of https://github.com/systemd/systemd synced 2025-10-07 12:44:45 +02:00

Compare commits

..

No commits in common. "d38dd7d17a67fda3257905fa32f254cd7b7d5b83" and "f22187bd7e23f8f262180a3e29cc92e2142382de" have entirely different histories.

4 changed files with 11 additions and 7 deletions

4
TODO
View File

@ -128,10 +128,6 @@ Deprecations and removals:
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
way as we make sd-boot recognizable via PE section.

View File

@ -236,6 +236,15 @@ static int scope_coldplug(Unit *u) {
if (r < 0)
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);
scope_set_state(s, s->deserialized_state);
@ -502,7 +511,8 @@ static int scope_serialize(Unit *u, FILE *f, FDSet *fds) {
(void) serialize_item(f, "state", scope_state_to_string(s->state));
(void) serialize_bool(f, "was-abandoned", s->was_abandoned);
(void) serialize_item(f, "controller", s->controller);
if (s->controller)
(void) serialize_item(f, "controller", s->controller);
SET_FOREACH(pid, u->pids)
serialize_pidref(f, fds, "pids", pid);

View File

@ -236,7 +236,6 @@ void manager_driver_message_internal(Manager *m, pid_t object_pid, const char *f
.max_level_kmsg = -1, \
.max_level_console = -1, \
.max_level_wall = -1, \
.max_level_socket = -1, \
}
/* gperf lookup function */

View File

@ -13,7 +13,6 @@ DefaultDependencies=no
Before=sysinit.target systemd-tmpfiles-setup-dev-early.service
ConditionCapability=CAP_SYS_MODULE
ConditionFileNotEmpty=/lib/modules/%v/modules.devname
ConditionPathExists={{KMOD}}
[Service]
Type=oneshot