#889 Disable automount on KDE live images (#2073708)
Merged 2 years ago by ngompa. Opened 2 years ago by adamwill.
adamwill/fedora-kickstarts f36-kde-disable-automount  into  f36

file modified
+9
@@ -85,6 +85,15 @@ 

  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

+ 

  # make sure to set the right permissions and selinux contexts

  chown -R liveuser:liveuser /home/liveuser/

  restorecon -R /home/liveuser/

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 awilliam@redhat.com

This is intended to fix blocker bug https://bugzilla.redhat.com/show_bug.cgi?id=2073708 . See this comment for details on what it does, why, and how I tested it. You can grab this ISO if you want to test it out yourself.

Pull-Request has been merged by ngompa

2 years ago
Metadata