aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-06-29 15:14:01 +0200
committerTom Gundersen <teg@jklm.no>2012-06-29 15:14:01 +0200
commit3c372cfdc3bee1930e86c2b4dc210a374e8487f6 (patch)
treec62f6d152cd378a24dc484a5b43ee916a38ab5aa
parent6fe21269e5d54c52c168eac40225dca12a79c355 (diff)
downloadinitscripts-3c372cfdc3bee1930e86c2b4dc210a374e8487f6.tar.xz
vconsole: configure it only after udev has settled
If we configure the console too early, the settings will be lost when the KMS driver is loaded. This fixes FS#30482, which is a duplicate of FS#29781 (which was fixed and then broken again by me). Reported-by: Robert <rbrtdlz@googlemail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.sysinit5
1 files changed, 3 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 70025a1..1106503 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -30,8 +30,6 @@ mountpoint -q /dev/shm || mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
# log all console messages
bootlogd -p /run/bootlogd.pid
-status 'Configuring Virtual Consoles' /usr/lib/systemd/systemd-vconsole-setup
-
if [[ ! -e /run/initramfs/root-fsck ]]; then
# remount root ro to allow for fsck later on, we remount now to
# make sure nothing can open files rw on root which would block a remount
@@ -68,6 +66,9 @@ fi
# Start/trigger UDev, load MODULES and settle UDev
udevd_modprobe sysinit
+# this must be done after udev has loaded the KMS modules
+status 'Configuring Virtual Consoles' /usr/lib/systemd/systemd-vconsole-setup
+
# bring up the loopback interface
[[ -d /sys/class/net/lo ]] &&
status "Bringing up loopback interface" ip link set up dev lo