[Rear-users] SF.net SVN: rear:[684] trunk/usr/share/rear

gdha at users.sourceforge.net gdha at users.sourceforge.net
Wed Jul 13 12:52:37 CEST 2011


Revision: 684
          http://rear.svn.sourceforge.net/rear/?rev=684&view=rev
Author:   gdha
Date:     2011-07-13 10:52:37 +0000 (Wed, 13 Jul 2011)

Log Message:
-----------
- added 39_check_crypto_modules.sh to capture md4 module (required by cifs)
- add harmless /selinux directory to forecome an error when booting fedora15 (not fatal, rather cosmetic)
- added 15_save_rsync_version.sh to capture version of rsync (if we ever decide to use selinux/xattr aware tar/rsync)
PS: will send a separate mail with my experiments with selinux/xattr enabled backup/restore.

Added Paths:
-----------
    trunk/usr/share/rear/prep/NETFS/default/15_save_rsync_version.sh
    trunk/usr/share/rear/rescue/NETFS/default/39_check_crypto_modules.sh
    trunk/usr/share/rear/skel/default/selinux/

Added: trunk/usr/share/rear/prep/NETFS/default/15_save_rsync_version.sh
===================================================================
--- trunk/usr/share/rear/prep/NETFS/default/15_save_rsync_version.sh	                        (rev 0)
+++ trunk/usr/share/rear/prep/NETFS/default/15_save_rsync_version.sh	2011-07-13 10:52:37 UTC (rev 684)
@@ -0,0 +1,12 @@
+case $(basename $BACKUP_PROG) in
+
+	(rsync)
+		# $TMP_DIR/rsync_protocol used by 20_selinux_in_use.sh script
+		$BACKUP_PROG --version > "$TMP_DIR/rsync_protocol" 2>&1
+		;;
+
+	(*)
+		: # no action required
+		;;
+
+esac

Added: trunk/usr/share/rear/rescue/NETFS/default/39_check_crypto_modules.sh
===================================================================
--- trunk/usr/share/rear/rescue/NETFS/default/39_check_crypto_modules.sh	                        (rev 0)
+++ trunk/usr/share/rear/rescue/NETFS/default/39_check_crypto_modules.sh	2011-07-13 10:52:37 UTC (rev 684)
@@ -0,0 +1,10 @@
+# cifs module needs crypto module (FAILED: CIFS VFS: mdfour: Crypto md4 allocation error)
+lsmod=( $(lsmod | cut -d " " -f 1) )
+
+for module in "${lsmod[@]}" ; do
+	case "$module" in
+		(md*)
+			MODULES_LOAD=( "${MODULES_LOAD[@]}" $module )
+			;;
+	esac
+done


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rear-users mailing list