FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Development

 
 
LinkBack Thread Tools
 
Old 10-28-2009, 04:06 AM
Eric
 
Default NetworkManager bug / question.

We at Team America discovered a possible known and fixed bug
with NetworkManager, it kept assigning default gw different
than that which we can clearly see in NetworkManager.

1)
We dug into it and found it was reading /etc/network/interfaces,
and ahah, there was the erroneous default router ip. We fixed
it, then /etc/init.d/NetworkManager restart and it still had the
same wrong IP, Where was it getting it from?

2)
We found a workaround article, paraphrasing, "stick a file in
/etc/network/if-up.d/ called whateva, and in that file,
route del gw
route add default gw 192.168.good.one
What? you mean we stick any file in that directory and it gets
run? Isn't that a bad Idea? it's kinda like rc scripts, but those
are organized, S98startItUp runs after S97startItFirst. How does if-up
deamon know which to run first in the 'run whateva in here' directory?

Thanks
Team AmEricA



--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
 
Old 10-28-2009, 12:22 PM
Derek Broughton
 
Default NetworkManager bug / question.

Eric wrote:

> 2)
> We found a workaround article, paraphrasing, "stick a file in
> /etc/network/if-up.d/ called whateva, and in that file,
> route del gw
> route add default gw 192.168.good.one
> What? you mean we stick any file in that directory and it gets
> run? Isn't that a bad Idea?

Why? I hope not, because I've been using this for eons!

> it's kinda like rc scripts, but those
> are organized, S98startItUp runs after S97startItFirst. How does if-up
> deamon know which to run first in the 'run whateva in here' directory?

The same way. afaik, they both use run-parts, which runs them "in the
lexical sort order of their names".
--
derek


--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
 

Thread Tools




All times are GMT. The time now is 09:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org