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.)
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
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:
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.
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
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:
** 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:
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
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
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
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
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
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
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
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
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
** 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
--
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:
** 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
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
...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
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
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
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
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
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
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,
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
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
** 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
** 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
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
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
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
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?
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*
** 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,
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,
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
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
** 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
41 matches
Mail list logo