Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/etc/rc.d



> On Tue, 08 Sep 2009, Christoph Egger wrote:
> > Modified Files:
> >     src/etc/rc.d: network
> > 
> > Log Message:
> > Do not flush routes if root file system is nfs mounted.
> > Fixes boot problem when the nfs server is in a different
> > subnet.
> 
> Why do you need this special case code, when a simple
> flushroutes=NO in /etc/rc.conf will do the job?

I prefer a default value that works out-of-the box.

> Perhaps sysinst should automatically set
> flushroutes=NO if it knows you have root on NFS.

there's another problem still to address:

if you have multiple interfaces and you have
'dhcp' in /etc/ifconfig.<if> then
dhcpcd tries to remove and re-add the default route.
dhcpcd shouldn't touch the default route if root is on NFS
because you end up with

nfs_timer: ignoring error 65
nfs_timer: ignoring error 65
nfs_timer: ignoring error 65
[...]


Christoph


Home | Main Index | Thread Index | Old Index