[Bug 659872] Re: Aliases in /etc/hosts overwritten

2013-08-16 Thread mjpelmear
Just ran into this today after upgrading from 10.04 to 13.04. What is the deal here? This is a major issue affecting web developers (and others). I don't see why network-manager should be overwriting changes I make in /etc/hosts. (I could understand a block that it maintains within the file.)

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2013-04-13 Thread Ge Yang
Right, this also happens on 12.10. This basically means that one can not change host name properly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts overwritten To

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2013-03-05 Thread Alex Andrascu
This also happens on 12.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts overwritten To manage notifications about this bug go to:

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2012-08-22 Thread ssanbeg
In 12.04 server, without NM installed, the /etc/hosts file is *still* being overwritten as such: hostname.sub-domain.company.top-level-domain becomes hostname.sub-domain -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2012-07-23 Thread Alexandr Novel
workarounds for 127.1.0.x or 127.1.1.x do not work in 12.04 still overwrites, chattr is better -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts overwritten To

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2012-07-23 Thread Thomas Hood
In 12.04, NM does not touch /etc/hosts. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts overwritten To manage notifications about this bug go to:

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-09-19 Thread Ubuntu QA's Bug Bot
** Tags added: testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts overwritten To manage notifications about this bug go to:

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-08-03 Thread Alex Connell
Well clearly It's a bug and it's a nuisance, so why not fix it? Why is the network manager rewriting this file all of a sudden? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-08-03 Thread Clint Byrum
Alex, the policy on Stable Release Updates, https://wiki.ubuntu.com/StableReleaseUpdates , is pretty clear that fixes to core components, like network manager, are only appropriate if they are of a high impact. Thus far this one has been shown to be of low to moderate impact, and has a work

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-06-06 Thread Martin Pitt
This has been in maverick-proposed for 100 days, and is verification- failed. I removed the proposed package now, as this doesn't seem to make much progress. Also, Maverick has lived with this bug for over a year, so there's not much point fixing it now IMHO. ** Changed in: network-manager

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-04-16 Thread John Vincent
Since this is not directly relevant to this bug report, could you please file a new bug against nm-applet, so we can work on this: 1000 apologies, I got carried away at seeing a default /etc/hosts posted, and I'm an exuberant moron. I shall gleefully but gratefully impose upon your kindness by

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-04-15 Thread John Vincent
Hi Mathieu, My ignorance is fairly colossal, but I have the latest network-manager 0.8.1+git.20100810t184654.ab580f4-0ubuntu2 - and I've been struggling with this .local domain Avahi doesn't much care for, for a few weeks now. My /etc/hosts is (and I have ip6 on Ignore): 192.168.1.3 ubuntu

Re: [Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-04-15 Thread Mathieu Trudel-Lapierre
On Fri, Apr 15, 2011 at 3:06 AM, John Vincent 659...@bugs.launchpad.net wrote: [...] I also get this warning message from Avahi: Avahi has detected a .local domain and is shutting down. And no one really seems to know much about it. My ISP swears it has nothing to do with them. Avahi say to

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-03-19 Thread chrisisbd
I think *any* rewriting of /etc/hosts by Network Manager (or anything else for that matter) is simply *wrong*. I have a local DNS server on my LAN which provides everything needed, in particular it provides an FQDN for my system. Thus my /etc/hosts is:- 127.0.0.1 localhost # The following

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-03-15 Thread Mathieu Trudel-Lapierre
Marking this verification-failed since there has not been reports of the fix working yet, and bug 729091 specifically mentions a case where the fix causes a regression. Setting back to In Progress: I'll need to look at whether the whole change set for not touching /etc/hosts can be backported to

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-03-04 Thread Mathieu Trudel-Lapierre
The current package appears to introduce a regression, as identified in bug 729091. ** Tags added: regression-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-25 Thread Martin Pitt
** Also affects: network-manager (Ubuntu Maverick) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts overwritten --

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-25 Thread Martin Pitt
Accepted network-manager into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in:

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-25 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/maverick-proposed/network-manager -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts overwritten -- ubuntu-bugs mailing list

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-14 Thread StephanBeal
Aaaa! i have a setup where i must alias 127.0.0.1 to external (real/existing) hostnames so that a clone of a customer website cannot reach the outside world. After a restart of my machine, NM hosed the aliases, which allowed my app to contact the production webserver, deleting live db data

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-14 Thread StephanBeal
...and the 127.1.1.x remap is a painful workaround because i now have to go adjust all of my DB grants, which use 127.0.0.1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-14 Thread StephanBeal
PS: Network Mismanager version: Version: 0.8.1+git.20100810t184654.ab580f4-0ubuntu2 on x86/64-bit. Above a fixed version is listed: 20100810t184654.ab580f4 but the update process isn't giving it to me. Where can i get this? -- You received this bug notification because you are a member of

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-14 Thread Mathieu Trudel-Lapierre
StephanBeal, Please be polite and remain calm; we appreciate the issues you're facing but can't help unless everyone remains respectful of everyone else. You should already have the correct version in update-manager; as 0.8.1+git.20100810t184654.ab580f4-0ubuntu3. You can confirm this by checking

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-14 Thread Mathieu Trudel-Lapierre
Hrm, oops, 0.8.1+git.20100810t184654.ab580f4-0ubuntu2 is actually the latest in Maverick, the fix is only in Natty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872 Title: Aliases in /etc/hosts

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-14 Thread Mathieu Trudel-Lapierre
Please try the following package from my PPA for testing prior to an upload to -proposed: https://edge.launchpad.net/~mathieu-tl/+archive/nm And the package is network-manager 0.8.1+git.20100810t184654.ab580f4-0ubuntu2.1~mtrudel1~preproposed ; it's the only NetworkManager package in that PPA for

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-02-03 Thread Gray Bowman
I was just bitten by this, today, on a fully updated machine. I was able to use the 127.1.1.1 workaround, but would prefer a real fix. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/659872

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2011-01-16 Thread Dave M G
Hello. I started a thread some time ago on the Ubuntu forums about this issue: http://ubuntuforums.org/showthread.php?t=1596603page=2 Through responses on that thread, I eventually came here. I have two computers, and on one this bug seems to no longer be an issue. However, on my other computer,

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-11-10 Thread Mark Alan
Same problem here. I am using a line starting with a 127.1.1.1 to keep my local host names. -- Aliases in /etc/hosts overwritten https://bugs.launchpad.net/bugs/659872 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-25 Thread Ahdong
I met the same problem today, So I added my own line after 127.0.1.1. -- Aliases in /etc/hosts overwritten https://bugs.launchpad.net/bugs/659872 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-20 Thread Mathieu Trudel
** Description changed: Binary package hint: network-manager --- WORKAROUND: You can use aliases against another loopback address in the 127.x.y.z range, such as 127.1.1.z. Addresses within 127.0.y.z are rewritten by NM. + --- + SRU JUSTIFICATION: + In its current state NetworkManager

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-19 Thread Mathieu Trudel
** Description changed: Binary package hint: network-manager + + --- + WORKAROUND: + You can use aliases against another loopback address in the 127.x.y.z range, such as 127.1.1.z. Addresses within 127.0.y.z are rewritten by NM. + --- I develop several web sites on my laptop, and each

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-19 Thread Mathieu Trudel
There's a fix available upstream: http://cgit.freedesktop.org/NetworkManager/NetworkManager/patch/?id=ee9ce6027b3fc0cb4aa14442ef8b628b80b726eb I'll try to get a package ready by end-of-day for testing in my PPA and in Natty, then we can consider updating this as a SRU. -- Aliases in /etc/hosts

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-19 Thread Jean-Baptiste Lallement
This bug looks close but if it's not completely the same. tell me and I'll open a new bug. In my case eth0 is manually defined and N-M modifies the host in the following way 192.168.0.3 black # Added by NetworkManager 127.0.0.1 localhost.localdomain localhost ::1 black

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-19 Thread Launchpad Bug Tracker
This bug was fixed in the package network-manager - 0.8.1+git.20100810t184654.ab580f4-0ubuntu3 --- network-manager (0.8.1+git.20100810t184654.ab580f4-0ubuntu3) natty; urgency=low [ Anders Kaseorg ] * Remove stale entries for the system hostname from /etc/hosts when bringing

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-19 Thread Mathieu Trudel
Jean-Baptiste, To me it looks like a different issue specific to IPv6 after all. In reality, you probably shouldn't even have this new IPv6 entry in /etc/hosts if your system is set to Ignore for IPv6 in NM. Can you please open a bug for that and report the number here just so we can track this?

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-14 Thread David Megginson
Followup: while Networkmanager overwrote any 127.0.0.* address, I discovered that it will leave 127.1.1.* (etc.) alone, so I was able to add 127.1.1.1 myhost1.localdomain 127.1.1.2 myhost2.localdomain etc. and not have it overwritten by NM. Thanks to Mathieu for the suggestion -- there *is*

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-14 Thread Ralph Janke
** Changed in: network-manager (Ubuntu) Status: New = Triaged ** Changed in: network-manager (Ubuntu) Importance: Undecided = Low -- Aliases in /etc/hosts overwritten https://bugs.launchpad.net/bugs/659872 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-14 Thread Mathieu Trudel
Actually, there is a workaround, and that would be to use another 127.x.y.z address just for the aliases. Could you try setting up your aliases with say, 127.0.0.5 and letting us know whether it works fine for you (and doesn't get overwritten by NM). This seems like a very valid use case though,

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-14 Thread David Megginson
Great suggestion, Mathieu -- unfortunately, NM overwrote all the 127.0.0.n lines (not just 127.0.0.1), so back to the drawing board. I can't think of any way to do this without setting up a full DNS server just for my laptop. I'm betting there are a lot of other people doing web development who

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-14 Thread David Megginson
Logged upstream as well: https://bugzilla.gnome.org/show_bug.cgi?id=632157 ** Bug watch added: GNOME Bug Tracker #632157 https://bugzilla.gnome.org/show_bug.cgi?id=632157 -- Aliases in /etc/hosts overwritten https://bugs.launchpad.net/bugs/659872 You received this bug notification because

[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-10-13 Thread David Megginson
** Attachment added: Dependencies.txt https://bugs.launchpad.net/bugs/659872/+attachment/1690874/+files/Dependencies.txt ** Attachment added: IpAddr.txt https://bugs.launchpad.net/bugs/659872/+attachment/1690875/+files/IpAddr.txt ** Attachment added: IwConfig.txt