[X2Go-Commits] [x2gothinclient] 01/01: override systemd-udevd for bullseye to mount usb storage in shared space.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 8 17:52:53 CET 2020


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gothinclient.

commit 9abcc4e1d470eca2b3367dbd974e835f28a9e5c7
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date:   Tue Dec 8 10:52:39 2020 -0600

    override systemd-udevd for bullseye to mount usb storage in shared space.
---
 debian/changelog                      | 1 +
 management/sbin/x2gothinclient_create | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 94d57e8..783b6db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ x2gothinclient (1.5.0.2-0x2go2) UNRELEASED; urgency=medium
   [ Oleksandr Shneyder ]
   * Update classic TCE to debian buster.
   * create /var/lib/systemd in tmpfs for bullseye.
+  * override systemd-udevd for bullseye to mount usb storage in shared space.
 
   [ Mike Gabriel ]
   * New upstream release (1.5.0.2):
diff --git a/management/sbin/x2gothinclient_create b/management/sbin/x2gothinclient_create
index 06d478b..2a0190a 100755
--- a/management/sbin/x2gothinclient_create
+++ b/management/sbin/x2gothinclient_create
@@ -161,6 +161,11 @@ if [ "$TC_DISTRO_CODENAME" = "bullseye" ]; then
 	cat >> "$TC_CHROOT/etc/fstab" <<EOF
 none	/var/lib/systemd	tmpfs	size=50M,mode=755					0	0
 EOF
+mkdir $TC_CHROOT/etc/systemd/system/systemd-udevd.service.d
+	cat >> "$TC_CHROOT/etc/systemd/system/systemd-udevd.service.d/systemd-udevd_x2go.conf" <<EOF
+[Service]
+PrivateMounts=no
+EOF
 fi
 
 if [ "x$TC_DISTRO_CODENAME" = "xwheezy" ] && [ "x$TC_FLAVOUR" = "xminidesktop" ]; then

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git


More information about the x2go-commits mailing list