[arch-projects] [mkinitcpio] [PATCH] sd-vconsole: Reenable systemd-vconsole-setup.service
systemd v232 dropped the Wants and nothing activates the service anymore. The binary is still activated via udev, but that doesn't seem to get triggered properly, possibly because the i915 module is loaded via modules-load or it replaces the uefi fb. BTW, without any means of activation, the service unit as shipped by upstream is useless. We'll see whether they remove it completely. --- install/sd-vconsole | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/sd-vconsole b/install/sd-vconsole index 93cbbcd0c1a9f74f..e5423df742c80ad8 100644 --- a/install/sd-vconsole +++ b/install/sd-vconsole @@ -57,6 +57,10 @@ build() { fi ) + # Needed since v232 + add_symlink "/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service" \ + "../systemd-vconsole-setup.service" + # Set up the console only after any manually loaded GPU drivers (e.g. i915) add_systemd_drop_in systemd-vconsole-setup.service after-modules <<EOF [Unit] -- 2.10.2
On Sat, Nov 19, 2016 at 11:13:10PM +0100, Jan Alexander Steffens (heftig) via arch-projects wrote:
systemd v232 dropped the Wants and nothing activates the service anymore. The binary is still activated via udev, but that doesn't seem to get triggered properly, possibly because the i915 module is loaded via modules-load or it replaces the uefi fb.
BTW, without any means of activation, the service unit as shipped by upstream is useless. We'll see whether they remove it completely.
8125e8d38e3a claims that this should all "just work", but you're suggesting it isn't. Maybe we need to inquire upstream about the behavior?
--- install/sd-vconsole | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/install/sd-vconsole b/install/sd-vconsole index 93cbbcd0c1a9f74f..e5423df742c80ad8 100644 --- a/install/sd-vconsole +++ b/install/sd-vconsole @@ -57,6 +57,10 @@ build() { fi )
+ # Needed since v232 + add_symlink "/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service" \ + "../systemd-vconsole-setup.service" + # Set up the console only after any manually loaded GPU drivers (e.g. i915) add_systemd_drop_in systemd-vconsole-setup.service after-modules <<EOF [Unit] -- 2.10.2
participants (2)
-
Dave Reisner
-
Jan Alexander Steffens (heftig)