parent
85a6551255
commit
0d8315b35b
|
@ -0,0 +1,32 @@
|
|||
diff -up util-linux-2.20.1/libmount/src/context_mount.c.kzak util-linux-2.20.1/libmount/src/context_mount.c
|
||||
--- util-linux-2.20.1/libmount/src/context_mount.c.kzak 2011-10-18 14:22:27.000000000 +0200
|
||||
+++ util-linux-2.20.1/libmount/src/context_mount.c 2012-04-17 15:25:14.273287922 +0200
|
||||
@@ -46,9 +46,10 @@ static int fix_optstr(struct libmnt_cont
|
||||
|
||||
fs = cxt->fs;
|
||||
|
||||
- /* The propagation flags should not be used together with any other flags */
|
||||
+ /* The propagation flags should not be used together with any other
|
||||
+ * flags (except MS_REC and MS_SILENT) */
|
||||
if (cxt->mountflags & MS_PROPAGATION)
|
||||
- cxt->mountflags &= MS_PROPAGATION;
|
||||
+ cxt->mountflags &= (MS_PROPAGATION | MS_REC | MS_SILENT);
|
||||
|
||||
if (!mnt_optstr_get_option(fs->user_optstr, "user", &val, &valsz)) {
|
||||
if (val) {
|
||||
diff -up util-linux-2.20.1/mount/mount.c.kzak util-linux-2.20.1/mount/mount.c
|
||||
--- util-linux-2.20.1/mount/mount.c.kzak 2012-04-17 15:24:52.817199995 +0200
|
||||
+++ util-linux-2.20.1/mount/mount.c 2012-04-17 15:25:14.274287916 +0200
|
||||
@@ -586,9 +586,10 @@ parse_opts (const char *options, int *fl
|
||||
|
||||
*flags |= mounttype;
|
||||
|
||||
- /* The propagation flags should not be used together with any other flags */
|
||||
+ /* The propagation flags should not be used together with any
|
||||
+ * other flags (except MS_REC and MS_SILENT) */
|
||||
if (*flags & MS_PROPAGATION)
|
||||
- *flags &= MS_PROPAGATION;
|
||||
+ *flags &= (MS_PROPAGATION | MS_REC | MS_SILENT);
|
||||
}
|
||||
|
||||
/* Try to build a canonical options string. */
|
|
@ -2,7 +2,7 @@
|
|||
Summary: A collection of basic system utilities
|
||||
Name: util-linux
|
||||
Version: 2.20.1
|
||||
Release: 2.2%{?dist}
|
||||
Release: 2.3%{?dist}
|
||||
License: GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ and BSD with advertising and Public Domain
|
||||
Group: System Environment/Base
|
||||
URL: http://kernel.org/~kzak/util-linux/
|
||||
|
@ -94,6 +94,8 @@ Patch10: util-linux-2.20-mount.patch
|
|||
Patch11: util-linux-2.20-logger.patch
|
||||
# 747038 - Mount does not handle context mount correctly
|
||||
Patch12: util-linux-2.20-mount-hint.patch
|
||||
# 813315 - recursive propagation mounts are not recursive
|
||||
Patch13: util-linux-2.20-mount-rec.patch
|
||||
|
||||
%description
|
||||
The util-linux package contains a large variety of low-level system
|
||||
|
@ -212,7 +214,8 @@ cp %{SOURCE8} %{SOURCE9} .
|
|||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
|
||||
%patch13 -p1
|
||||
|
||||
%build
|
||||
unset LINGUAS || :
|
||||
|
||||
|
@ -760,6 +763,9 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 17 2012 Karel Zak <kzak@redhat.com> 2.20.1-2.3
|
||||
- fix #813315 - recursive propagation mounts are not recursive
|
||||
|
||||
* Thu Jan 19 2012 Michal Luscon <mluscon@redhat.com> 2.20.1-2.2
|
||||
- fix #747250 - /run shows up twice in /proc/mounts
|
||||
- fix #769636 - systemd NFS Mounts Ignore "exec" Flag
|
||||
|
|
Loading…
Reference in New Issue