[X2Go-Commits] [live-build-x2go] 06/18: added more debug code as stretch still doesn't mount/copy the secret key files, even though the blockdevs list is not empty

git-admin at x2go.org git-admin at x2go.org
Wed Jan 24 18:08:46 CET 2018


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

x2go pushed a commit to branch feature/mate-minidesktop
in repository live-build-x2go.

commit d2b51c871c5f836a3b042450833c3c1fd0e394bc
Author: Stefan Baur <kontakt at baur-itcs.de>
Date:   Wed Dec 6 20:22:22 2017 +0100

    added more debug code as stretch still doesn't mount/copy the secret key files, even though the blockdevs list is not empty
---
 .../includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia b/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia
index c3eb08d..6c589f8 100755
--- a/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia
+++ b/config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia
@@ -95,7 +95,7 @@ GetSSHClientKeysFromMedia ()
 				if [ -n "$NEXTDEVICE" ] ; then
 					MNTPT=$(echo $NEXTDEVICE | awk '{print $2}')
 					NEXTDEVICE=$(echo $NEXTDEVICE | awk '{print $1}')
-
+					echo -n "\n$(date +'%F | %T | ')'$0' Checking status of Device '$NEXTDEVICE' for BLOCKDEV '$BLOCKDEV'." | tee -a /dev/tty8
 					if [ -n "$MNTPT" ] ; then
 						echo -n "\n$(date +'%F | %T | ')'$0' Device '$NEXTDEVICE' is mounted at: '$MNTPT'" | tee -a /dev/tty8
 						if check_for_config $MNTPT ; then
@@ -119,6 +119,9 @@ GetSSHClientKeysFromMedia ()
 							:
 						fi
 					fi
+				else
+                                        echo -n "\n$(date +'%F | %T | ')'$0' No NEXTDEVICE found for BLOCKDEV '$BLOCKDEV'." | tee -a /dev/tty8
+
 				fi
 			done
 			echo "BLOCKDEVS: '$BLOCKDEVS'" > /var/lib/live/config/opensshclientkeys

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


More information about the x2go-commits mailing list