From 1405dc1831a7570f6e6fcfa0c8c56a60c13bfce1 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 30 Jan 2018 22:54:43 +0100 Subject: No USB drives and no cdroms/dvdroms in /etc/fstab. They conflict with GVFS. --- install-itzks-workstation | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install-itzks-workstation b/install-itzks-workstation index e73f288..1793f6c 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -75,6 +75,12 @@ sed -i 's/NEED_GSSD=.*/NEED_GSSD=/' /etc/default/nfs-common # Disable NIS netgroup cache in NSCD, has been buggy in glibc since Debian jessie... sed -r -i /etc/nscd.conf -e "s/(\s+)enable-cache(\s+)netgroup(\s+)yes/\1enable-cache\2netgroup\3no/" +#################### +# Make sure, no USB devices are listed in /etc/fstab +sed -r -i /etc/fstab -e "s@^/dev/usb[0-9]+.*@@g" +# and neither list cdrom / dvdrom drives in /etc/fstab +sed -r -i /etc/fstab -e "s@^/dev/scd[0-9]+.*@@g" + #################### # WiFi-config for NetworkManager -- cgit v1.2.3