[util-linux-ng/f13/master] 2.17.2-8: fix #620924
kzak
kzak at fedoraproject.org
Thu Aug 5 10:40:04 UTC 2010
commit 90527d853e2cb5385d57e306a63bc812bb4a062f
Author: Karel Zak <kzak at redhat.com>
Date: Thu Aug 5 11:47:58 2010 +0200
2.17.2-8: fix #620924
Signed-off-by: Karel Zak <kzak at redhat.com>
mount.tmpfs | 4 +---
util-linux-ng.spec | 5 ++++-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/mount.tmpfs b/mount.tmpfs
index 4fc7e60..5495c9d 100644
--- a/mount.tmpfs
+++ b/mount.tmpfs
@@ -19,10 +19,8 @@ case $1 in
esac
restricted=1
-ruid=$(id --user --real)
-euid=$(id --user)
-if [ $ruid -eq 0 ] && [ $ruid -eq $euid ]; then
+if [ $UID -eq 0 ] && [ $UID -eq $EUID ]; then
restricted=0
fi
diff --git a/util-linux-ng.spec b/util-linux-ng.spec
index 6e823f8..0ebf3c9 100644
--- a/util-linux-ng.spec
+++ b/util-linux-ng.spec
@@ -2,7 +2,7 @@
Summary: A collection of basic system utilities
Name: util-linux-ng
Version: 2.17.2
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ and BSD with advertising and Public Domain
Group: System Environment/Base
URL: ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng
@@ -740,6 +740,9 @@ fi
%changelog
+* Thu Aug 5 2010 Karel Zak <kzak at redhat.com> 2.17.2-8
+- fix #620924 - /sbin/mount.tmpfs uses not available /usr/bin/id
+
* Mon Aug 2 2010 Karel Zak <kzak at redhat.com> 2.17.2-7
- fix #618957 - ISO images listed in fstab are mounted twice at boot
More information about the scm-commits
mailing list