remove tmpfs mounted /tmp
[util-vserver.git] / util-vserver.spec
index 07478b1..6c2533f 100644 (file)
@@ -38,6 +38,7 @@ URL:          http://savannah.nongnu.org/projects/util-vserver/
 Source0:       http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%fullver.tar.bz2
 #Source1:      http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%fullver.tar.bz2.asc
 Patch1:                f12.patch
+Patch2:                remove-tmpfs.patch
 BuildRoot:     %_tmppath/%name-%version-%release-root
 Requires:      init(%name)
 Requires:      %name-core = %version-%release
@@ -196,6 +197,7 @@ Linux-VServer API from Python.
 %prep
 %setup -q -n %name-%fullver
 %patch1 -p0
+%patch2 -p1
 autoreconf -fi
 
 %build
@@ -252,7 +254,7 @@ test "$1" != 0 || rm -rf %_localstatedir/cache/vservers/* 2>/dev/null || :
 %chkconfig --add vprocunhide
 %chkconfig --add util-vserver
 %chkconfig util-vserver on
-
+service util-vserver restart
 
 %preun sysv
 test "$1" != 0 || %_initrddir/vprocunhide stop &>/dev/null || :