Hi,

On Tue, Oct 03, 2006 at 09:49:14AM +0300, Rémi Denis-Courmont wrote:
> tags 390771 + help confirmed
> thanks
> 
>       Hi,
> 
> On Tue, Oct 03, 2006 at 08:55:30AM +1000, Anand Kumria wrote :
> > Miredo should start once the sysadmin has installed it.
> > 
> > The current setup is akin to 'apt-get install <prog>' and _then_ having
> > to chmod a+rx /usr/bin/<prog>
> > 
> > There are already mechanisms in place for system-administrators to
> > prevent startup (e.g. invoke-rc.d). An explicit install should result in
> > an explicit startup.
> 
> The actual intent of not starting miredo by default is simply to not
> make postinst fail if /dev/net/tun is absent (which is unfortunately the
> default).
> 
> Had it not been for that, I'd have it default to on.

A 'modprobe 'tun' in the startup script and then checking if
/dev/net/tun exists ought to be enough.

That'll work with standard kernels (just tested), custom kernels which have 
it modular(just tested), customer kernels which have it inbuilt
(untested).

It won't work for custom kernels where the default is not to build tun
(also not tested) and the check for /dev/net/tun should catch those 
anyway.

Regards,
Anand

-- 
 `When any government, or any church for that matter, undertakes to say to
  its subjects, "This you may not read, this you must not see, this you are
  forbidden to know," the end result is tyranny and oppression no matter how
  holy the motives' -- Robert A Heinlein, "If this goes on --"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to