SPECS: util-vserver.spec - added new init scripts to files
baggins
baggins at pld-linux.org
Wed Nov 23 15:51:13 CET 2005
Author: baggins Date: Wed Nov 23 14:51:13 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added new init scripts to files
---- Files affected:
SPECS:
util-vserver.spec (1.87 -> 1.88)
---- Diffs:
================================================================
Index: SPECS/util-vserver.spec
diff -u SPECS/util-vserver.spec:1.87 SPECS/util-vserver.spec:1.88
--- SPECS/util-vserver.spec:1.87 Wed Nov 23 15:41:26 2005
+++ SPECS/util-vserver.spec Wed Nov 23 15:50:25 2005
@@ -11,7 +11,7 @@
Summary(pl): Narzędzia dla linuksowych serwerów wirtualnych
Name: util-vserver
Version: 0.30.209
-Release: 0.2
+Release: 0.3
License: GPL
Group: Applications/System
Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
@@ -420,8 +420,12 @@
%postun lib -p /sbin/ldconfig
%post init
+/sbin/chkconfig --add vrootdevices
/sbin/chkconfig --add vprocunhide
/sbin/chkconfig --add vservers
+if [ ! -f /var/lock/subsys/vrootdevices ]; then
+ echo "Type \"/etc/rc.d/init.d/vrootdevices start\" to assign virtual root devices" 1>&2
+fi
if [ ! -f /var/lock/subsys/vprocunhide ]; then
echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
fi
@@ -437,8 +441,12 @@
if [ -r /var/lock/subsys/vprocunhide ]; then
/etc/rc.d/init.d/vprocunhide stop >&2
fi
+ if [ -r /var/lock/subsys/vrootdevices ]; then
+ /etc/rc.d/init.d/vrootdevices stop >&2
+ fi
/sbin/chkconfig --del vservers
/sbin/chkconfig --del vprocunhide
+ /sbin/chkconfig --del vrootdevices
fi
%post legacy
@@ -562,8 +570,10 @@
%files init
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vrootdevices
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers
%attr(754,root,root) /etc/rc.d/init.d/vprocunhide
+%attr(754,root,root) /etc/rc.d/init.d/vrootdevices
%attr(754,root,root) /etc/rc.d/init.d/vservers
%files build
@@ -662,6 +672,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.88 2005/11/23 14:50:25 baggins
+- added new init scripts to files
+
Revision 1.87 2005/11/23 14:41:26 baggins
- fixed source enumeration
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/util-vserver.spec?r1=1.87&r2=1.88&f=u
More information about the pld-cvs-commit
mailing list