[systemd-devel] [PATCH 3/8] power: refactor the three power management binaries to src/power

Lennart Poettering lennart at poettering.net
Thu Apr 23 08:44:24 PDT 2015


On Fri, 27.02.15 03:26, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> I'm not sure we want this... Can you add some justification? Do they share
> code?

I am pretty sure we don't want this.

shutdown.c really belongs in src/core/. It's a binary that replaces
PID 1 during shutdown, and becomes PID 1 itself. It gets some private
data passed from the real systemd, and thus is more or less just an
external component of it. It also has nothing to do with "power"
management at all.

shutdownd.c is also has nothing to do with power management. And if we
want to change anything about it, then probably only to delete it from
the tree. In fact, Daniel is working of getting rid of it and merging
its feature set into logind.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list