[systemd-devel] [PATCH v4] Add reboot to EFI support

Lennart Poettering lennart at poettering.net
Tue Apr 7 09:59:39 PDT 2015


On Fri, 03.04.15 18:03, Jan Janssen (medhefgo at web.de) wrote:

> ---
> Changes in v4:
>  - better logind API naming
>  - don't write to efi vars if they don't change

Thanks, applied!

systemctl's new switch goes directly to the EFI system though,
currently, and even if we connect to a remote system! Any chance you
can rework this to go directly to EFI only on local systems, and with
a fallback to logind in any case? With such a logic we should be able
to cover all relevant cases:

- when run unprivileged logind's PK hookup may allow access to this
  otherwise priviliged operation

- when run on a remote host via -H, going via the bus allows the right
  thing to happen

- when run in early boot with no logind around, the tool would still
  go directly to EFI, thus allowing the operation to succeed.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list