Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 17 Mar 2011 03:11:04 +0300
From: Solar Designer <>
Subject: Re: VLANs in Owl way?

On Thu, Mar 17, 2011 at 12:59:11AM +0100, Piotr Meyer wrote:
> On Thu, Mar 17, 2011 at 02:15:40AM +0300, Solar Designer wrote:
> > Why are you commenting out the default route setup?  This change looks
> > wrong to me.
> Because, when GATEWAY and GATEWAYDEV are set in /etc/sysconfig/network
> then commented lines adds gw to any interface. In original code problem
> wasn't exists because /etc/sysconfig/network was included after those
> lines. But vlan code relies on presence keyword VLAN in 'network' file,
> and /etc/sysconfig/network must be included from beginning...

Are you saying that the lines that you're commenting out were dead code
before your change, because GATEWAY and GATEWAYDEV were never(?) set by
that point?

Have you tested your patched scripts on a system that does _not_ use
VLANs - that is, on a system with just a very basic networking config
(such as what "settle" produces)?


Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ