Reboot after upgrade problem

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6970 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-07-26 22:48:16 +00:00
parent 854c6f8e4c
commit ae3efc810c
3 changed files with 18 additions and 0 deletions

View File

@ -12,6 +12,8 @@ Changes in 4.0.1
6) Relax ADDRTYPE restriction. 6) Relax ADDRTYPE restriction.
7) Be sure that chkconfig runs after upgrade from < 4.0.0
Changes in 4.0.0 Final Changes in 4.0.0 Final
1) Fix lite install.sh manpage problem. 1) Fix lite install.sh manpage problem.

View File

@ -69,6 +69,10 @@ Problems corrected in 4.0.1.
the /etc/shorewall/ecn file would cause invalid iptables commands the /etc/shorewall/ecn file would cause invalid iptables commands
to be generated. This problem occurred with both compilers. to be generated. This problem occurred with both compilers.
8) Shorewall now starts at reboot after an upgrade from shorewall <
4.0.0. Previously, Shorewall was not started automatically after an
upgrade using the RPM.
Other changes in Shorewall 4.0.1. Other changes in Shorewall 4.0.1.
1) A new EXPAND_POLICIES option is added to shorewall.conf. The 1) A new EXPAND_POLICIES option is added to shorewall.conf. The
@ -662,6 +666,10 @@ Migration Considerations:
invocation are automatically propagated to lower level macros. invocation are automatically propagated to lower level macros.
Macro invocations may be nested to a maximum level of 5. Macro invocations may be nested to a maximum level of 5.
w) The PKTTYPE option is ignored by Shorewall-perl. Shorewall-perl
will use Address type match if it is available; otherwise, it
will behave as if PKTTYPE=No had been specified.
------------------------------------------------------------------------ ------------------------------------------------------------------------
P R E R E Q U I S I T E S P R E R E Q U I S I T E S
------------------------------------------------------------------------ ------------------------------------------------------------------------

View File

@ -65,6 +65,14 @@ if [ $1 = 0 ]; then
fi fi
%triggerpostun -- shorewall < 4.0.0
if [ -x /sbin/insserv ]; then
/sbin/insserv /etc/rc.d/shorewall
elif [ -x /sbin/chkconfig ]; then
/sbin/chkconfig --add shorewall;
fi
%files %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%attr(0544,root,root) /etc/init.d/shorewall %attr(0544,root,root) /etc/init.d/shorewall