readahead: Explicitly add a mark on /usr when collecting /
readahead adds a fanotify mark on /, but that doesn't read into /usr
since it's on a separate mount under ostree. Since /usr contains all the
binaries, readahead without it is pretty useless.
If the root to collect is /, add another mark on /usr. Probably this
should check if it's a separate mount but actually the same device, but
this is good enough for now.
Since automake 1.11.2 it is recommended that packages
use AM_DISTCHECK_CONFIGURE_FLAGS instead of
DISTCHECK_CONFIGURE_FLAGS as the latter is intended
to be a user variable.
sd-event does not allow multiple handlers for a single signal. However,
logind sets up signal handlers for each session with VT_PROCESS set (that
is, it has an active controller). Therefore, registering multiple such
controllers will fail.
Lets make the VT-handler global, as it's mostly trivial, anyway. This way,
the sessions don't have to take care of that and we can simply acknowledge
all VT-switch requests as we always did.
99646b0...
by
Olivier Brunel <email address hidden>
login: set_controller should fail if prepare_vt fails
If controllers can expect logind to have "prepared" the VT (e.g. set it to
graphics mode, etc) then TakeControl() should fail if said preparation
failed (and session_restore_vt() was called).
(David: fixed up !CONFIG_VT case and errno-numbers)