From f5aba4443f5c1342575a64651221319fafae7830 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Apr 22 2022 00:20:47 +0000 Subject: Disable automount on KDE live images (#2073708) It's mounting non-removable devices and causing problems for anaconda. Note, KDE will still show a notification with a button for mounting the device, and it shows in the file manager where clicking on it mounts it; the behaviour is about the same as Fedora 35 (slightly better, as the notification shows on subsequent plugs of the same stick, which it did not in F35). Signed-off-by: Adam Williamson --- diff --git a/libexec/livesys/sessions.d/livesys-kde b/libexec/livesys/sessions.d/livesys-kde index 992e8f5..7223a87 100755 --- a/libexec/livesys/sessions.d/livesys-kde +++ b/libexec/livesys/sessions.d/livesys-kde @@ -67,3 +67,12 @@ cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL [Migration] alreadyMigrated=true KWALLET_EOL + +# Disable automount of 'known' devices +# https://bugzilla.redhat.com/show_bug.cgi?id=2073708 +cat > /home/liveuser/.config/kded_device_automounterrc << AUTOMOUNTER_EOF +[General] +AutomountEnabled=false +AutomountOnLogin=false +AutomountOnPlugin=false +AUTOMOUNTER_EOF