SOURCES: iptables.init, ip6tables.init - do nothing in vserver

Pawel Golaszewski blues at pld-linux.org
Fri Mar 27 17:26:57 CET 2009


On Fri, 27 Mar 2009, glen wrote:
> Author: glen                         Date: Fri Mar 27 15:11:44 2009 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - do nothing in vserver
> 
> ---- Files affected:
> SOURCES:
>    iptables.init (1.8 -> 1.9) , ip6tables.init (1.12 -> 1.13) 
> ================================================================
> Index: SOURCES/iptables.init
> diff -u SOURCES/iptables.init:1.8 SOURCES/iptables.init:1.9
> --- SOURCES/iptables.init:1.8	Sat Mar  3 11:48:09 2007
> +++ SOURCES/iptables.init	Fri Mar 27 16:11:38 2009
> @@ -26,6 +26,11 @@
>  # Source 'em up
>  . /etc/rc.d/init.d/functions
>  
> +# Not supported in vserver
> +if is_yes "$VSERVER"; then
> +	exit 0
> +fi
> +
>  if [ "$(kernelver)" -lt "002003000" ]; then
>  	exit 0
>  fi
> 
> ================================================================
> Index: SOURCES/ip6tables.init
> diff -u SOURCES/ip6tables.init:1.12 SOURCES/ip6tables.init:1.13
> --- SOURCES/ip6tables.init:1.12	Sat Mar  3 11:53:32 2007
> +++ SOURCES/ip6tables.init	Fri Mar 27 16:11:39 2009
> @@ -27,6 +27,11 @@
>  # Source 'em up
>  . /etc/rc.d/init.d/functions
>  
> +# Not supported in vserver
> +if is_yes "$VSERVER"; then
> +	exit 0
> +fi
> +
>  if [ "$(kernelver)" -lt "002003000" ]; then
>  	exit 0
>  fi


Wrong, please revert.
You can add proper CAP and play with iptables. It's not-so-rare.


-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list