File eb20a26-utab-explain.diff of Package pam_mount.import5086

parent ebeca48d6740cc18dcb4bac15f19b5808c67ae72 (v2.11)
commit eb20a2681362520a9728038a9ff3bdbba58eb1cb
Author: Jan Engelhardt <jengelh@medozas.de>
Date:   Wed Aug 10 12:48:44 2011 +0200

mount.crypt: clarify situation about current absence of utab support
---
 src/mtcrypt.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/mtcrypt.c b/src/mtcrypt.c
index b416dc3..d74a07c 100644
--- a/src/mtcrypt.c
+++ b/src/mtcrypt.c
@@ -674,9 +674,11 @@ int main(int argc, const char **argv)
 	int ret;
 
 	if (stat("/etc/mtab", &sb) == 0 && (sb.st_mode & S_IWUGO) == 0)
-		fprintf(stderr, "BIG FAT WARNING: This version of mount.crypt "
-		        "does not support unmounting crypto volumes through "
-		        "umount(8) on systems with read-only mtab yet.\n");
+		fprintf(stderr, "NOTE: mount.crypt does not support utab "
+		        "(systems with no mtab or read-only mtab) yet. This "
+		        "means that you will temporarily need to call "
+		        "umount.crypt(8) rather than umount(8) to get crypto "
+		        "volumes unmounted.\n");
 
 	ret = HX_init();
 	if (ret <= 0) {
-- 
# Created with git-export-patch
openSUSE Build Service is sponsored by