/proc/sys/net/ipv4/ip_forward resets to 0 after reboot

Karl Goetz kamping_kaiser at kgoetz.id.au
Fri Dec 7 22:19:58 GMT 2007


On Fri, 2007-12-07 at 09:57 -1000, R. Scott Belford wrote:
> Daniel Kahn Gillmor wrote:
> > On Thu 2007-12-06 13:52:09 -0500, Tom Wolfe wrote:
> > 
> >> I swtiched to using sysctl.conf after reading that the
> >> /etc/network/options is deprecated
> > 
> > right, good call.
> 
> I was told differently on this list.  The Edubuntu Wiki suggests that it 
> is a solution.  If it is in fact deprecated, and I believe you, then we 
> really need to get on the same page of what *does* work with 7.10.

As i understand, its been depreciated since '05.
i have a memory of the man page being wrong on this too (it was a while
ago when i checked though)
kk

> 
> > 
> >> Still the same problem.
> >>
> >> I've resorted to a cron job that sets it to 1 ever minute.... quite a
> >> hack so I'd love to know the real cause of the problem.

Thats overkill - set once, and it stays like that until reboot (unless
theres a new upstartism involved.

> >>
> >> NOte that I didn't do a standard Edubuntu install, I had Edubuntu
> >> workstation, and then installed LTSP, etc. on top of it. I imagine I
> >> have a config missing somewhere.

doesnt matter, this is roughly how i setup my LTSP network (admitedly
back on 6.06)

> > 
> > on my debian lenny system here, /etc/sysctl.conf is initially read by
> > /etc/init.d/procps from the procps package during system
> > initialization (linked from /etc/rcS.d/S30procps).  lenny uses
> > traditional sysvinit, though -- i think edubuntu is using upstart now,
> > so maybe it does something differently?  or maybe yer distro
> > migrations broke your initscripts somehow?
> > 
> > If a stock edubuntu install were to not initialize /proc/sys from
> > /etc/sysctl.conf, that would be a serious bug worth reporting.
> 
> I definitely need to echo that making changes to /etc/sysctl.conf *do* 
> *not* have any affect on ip_forwarding.  It is annoying, it does not 
> make sense, but I thought that it was just me.  I enable ip_forwarding 
> through a line in rc.local.

did you uncomment the ipv4 line, or try adding a new one? perhaps a typo
in your new line? otherwise file a bug report imo.
kk

> 
> 
> > 
> >    --dkg
> > 
> > PS no need to CC me, i read the list.
> > 
> 
> --scott

-- 
Karl Goetz,
Debian user / Ubuntu contributor / gNewSense contributor
http://www.kgoetz.id.au




More information about the edubuntu-users mailing list