[systemd/f18] switch-root: remount MS_PRIVATE

Lennart Poettering lennart at fedoraproject.org
Sat Aug 11 23:40:14 UTC 2012


commit c7ab700aabca3378d1248e68aba51a4570031cf7
Author: Lennart Poettering <lennart at poettering.net>
Date:   Sun Aug 12 01:39:24 2012 +0200

    switch-root: remount MS_PRIVATE

 systemd.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index edfba5b..91ea03f 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -5,7 +5,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        188
-Release:        2%{?gitcommit:.git%{gitcommit}}%{?dist}
+Release:        3%{?gitcommit:.git%{gitcommit}}%{?dist}
 # For a breakdown of the licensing, see README
 License:        LGPLv2+ and MIT and GPLv2+
 Summary:        A System and Service Manager
@@ -59,6 +59,8 @@ Source2:        systemd-sysv-convert
 Source3:        udlfb.conf
 # Stop-gap, just to ensure things work fine with rsyslog without having to change the package right-away
 Source4:        listen.conf
+Patch0:         0001-shutdown-recursively-mark-root-as-private-before-piv.patch
+Patch1:         0001-switch-root-remount-to-MS_PRIVATE.patch
 
 Obsoletes:      SysVinit < 2.86-24, sysvinit < 2.86-24
 Provides:       SysVinit = 2.86-24, sysvinit = 2.86-24
@@ -158,6 +160,8 @@ glib-based applications using libudev functionality.
 
 %prep
 %setup -q %{?gitcommit:-n %{name}-git%{gitcommit}}
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{?gitcommit: ./autogen.sh }
@@ -529,6 +533,10 @@ fi
 %{_libdir}/pkgconfig/gudev-1.0*
 
 %changelog
+* Sat Aug 11 2012 Lennart Poettering <lpoetter at redhat.com> - 188-3
+- Remount file systems MS_PRIVATE before switching roots
+- https://bugzilla.redhat.com/show_bug.cgi?id=847418
+
 * Wed Aug 08 2012 Rex Dieter <rdieter at fedoraproject.org> - 188-2
 - fix scriptlets
 


More information about the scm-commits mailing list