[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
** Changed in: resolvconf (Ubuntu) Status: Confirmed = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: resolvconf (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Added Release Notes since I believe this would be useful to list in the release notes. See bug #1355868 (marked duplicate of this bug) for my suggested wording of the note. This problem is still current, since even though the bug #1308378 was fixed, the problem affects for example people who have originally installed 10.04 LTS, then upgraded to that to 12.04 LTS and now have continued to upgrade to 14.04 LTS. The 12.04 LTS - 14.04 LTS upgrades started this week. ** Also affects: ubuntu-release-notes 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/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
On Thu, Apr 24, 2014 at 07:49:17AM -, Timo Jyrinki wrote in bug #1308378: I think I know the actual reason (or one of those) it may be missing for many people including me in 12.04 LTS: https://help.ubuntu.com/community/LiveCDCustomization - as an example, this in a modified form (just installing additional packages and resolv.conf as the only modified/removed file) was started to be used for Finnish Remix CD:s around 2007 and probably many other remixes have used the same wiki page as guidance. I'm not sure about the various more automated remix tools around. The instructions use copying host's resolv.conf to etc so that network works inside chroot, and then it cleans up by removing the copied /etc/resolv.conf. This was maybe ok when /etc/resolv.conf was not a symlink and Network Manager modified it directly, like in 10.04 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Dear Sir,(Thomas Hood), I am very heartily thankful to you for giving me good reply. Sir, As per your given reply, I did on my Ubuntu Computer and got success. These following things have been done on my computer .. Fristly, Edited Network Interfaces using the following command.. on terminal sudo gedit /etc/network/interfacesENTER auto eth0 iface eth0 inet static address 10.10.80.180 netmask 255.255.0.0 broadcast 10.10.80.255 gateway 10.10.1.2 dns-nameservers 10.10.1.2 208.67.222.222 208.67.220.220 saved the changes and restarted the service using following command.. on terminal sudo /etc/init.d/networking restart ENTER NOW I can access the INTERNET without any problem. and Restarted the computer 2 0r 3 times. nothing has been changed Whatever IP addressess I have given are remained same. i would like to say Thank you one and all. kindly Help me always in future. BASAVARAJ FROM INDIA. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Mullvad is another VPN client guilty of trashing /etc/resolv.conf. http://askubuntu.com/questions/265376/major-problem-with-dns-in- ubuntu-12-04-and-vpn/268077 Here's a new summary of the possible causes of the missing symlink and the contributors possibly affected. Images Bad Linux Mint image (bug #1004421): toby-murray, albert-bendicho Bad Ubuntu EC2 cloud image (bug #1003595): louisli Bad Ubuntu Secure Remix image (bug #1051348): jrog Using Linode image (which lacks resolvconf): Solomon Third-party image-building tools Buggy debian-live and/or remastersys used: bluelight-auroville Third-party network configurers Using Juniper AnyConnect: trulyliu Using FortiClient SSL VPN client: Etienne V. Using Mullvad VPN client: Anonymous Ubuntu tools Buggy uck used (bug #946480) Buggy Casper used (bug #946215) Buggy NetworkManager used (bug #1072341): cerin Buggy kppp used (bug #1086336) Other Possibly some issue with ubuntu 12.04 amd64+mac image: peterlauri Possibly some bug in a package in the Precise beta phase: ripps818 Possibly due to issues while updating: davidpeter Declined debconf invitation to linkify /etc/resolv.conf Couldn't reproduce: pdf Didn't reply: ubck -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Dear Sir, I have statically configured the IP Address in /etc/network/interfaces… of ubuntu 12.04 auto eth0 iface eth0 inet static address 10.10.80.180 netmask 255.255.0.0 network 10.10.80.0 broadcast 10.10.80.255 gateway 10.10.1.2 after that, I have configured /etc/resolv.conf file as well… nameserver 10.10.1.2 nameserver 208.67.222.222 nameserver 208.67.220.220 lastly, I restarted service by this following command….. sudo /etc/init.d/networking restart….. ENTER then I got successfully.. The Problem is when I restart the computer, then there /etc/resolv.conf file does not show the mentioned nameservers. but /etc/network/interfaces does not get changed. it remains same. Please help me in this regard…. how to fix it nameservers permanently In /etc/resolv.conf file. Heartily Thank you one and all. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Basavaraj Chougala: The file /etc/network/interfaces is not dynamically generated. The content of the file /etc/resolv.conf is dynamically generated. To cause nameserver addresses accessible over eth0 to be included in resolv.conf, add a dns-nameservers option line to /etc/network/interfaces, as follows. auto eth0 iface eth0 inet static address 10.10.80.180 netmask 255.255.0.0 broadcast 10.10.80.255 gateway 10.10.1.2 dns-nameservers 10.10.1.2 208.67.222.222 208.67.220.220 After editing /etc/network/interfaces, do the following to cause the nameserver addresses to be included in resolv.conf. sudo ifdown eth0 sudo ifup eth0 Also make sure that /etc/resolv.conf is a symbolic link to ../run/resolvconf/resolv.conf. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
@Cerin: Was your comment (#117) intended for this bug report? (This report is about the /etc/resolv.conf symlink sometimes being missing after installation of the resolvconf package, but your comment was about a difficulty switching between Wi-Fi networks.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Is there any temporary solution for this? In order to switch between wifi networks, or switch to/from a wired/wireless connection, I have to disable wifi with Network Manager and then unplug any wired connection, and then re-enable the connection I want to use. As you can imagine, this is insanely frustrating. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
I also have this problem on my computer after a 11.10 - 12.04 upgrade debconf-show resolvconf returns : resolvconf/downup-interfaces: resolvconf/linkify-resolvconf: false resolvconf/link-tail-to-original: false resolvconf/fixing-immutable: resolvconf/reboot-recommended-after-removal: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
resolvconf/linkify-resolvconf: false This is always the case after installation because the Ubuntu resolvconf postinst does the following. db_set resolvconf/linkify-resolvconf false This is done for a good reason: it is done in order to prevent the postinst from attempting to linkify again on upgrade. Thus the admin can remove the symlink /etc/resolv.conf if she wants to and even though she doesn't bother to change the answer to resolvconf/linkify-resolvconf, the symlink won't be recreated on package upgrade. As I wrote in #1085849, however, I'd like to see another mechanism used to achieve the same end, so that we can tell what the original answer to resolvconf/linkify-resolvconf was in cases like this where the symlink is mysteriously missing after installation. In Debian I have just implemented this feature another way. The Debian postinst doesn't change resolvconf/linkify-resolvconf; instead it creates a flag file and refrains from linkifying again if the flag file is present. I hope that Ubuntu adopts this mechanism too when 1.71 is merged. Anyway, Vince, despite the foregoing, can you shed any light on why the symlink /etc/resolv.conf might have been missing from your system after upgrade? Which distro and flavor did you install originally? Is it virtual hardware? Any unusual images used? Any unusual preseeding done? Any unusual VPN client or similar installed? (You probably already know that you can recreate the symlink by running sudo dpkg-reconfigure resolvconf.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Another occurrence of this phenomenon: http://ubuntuforums.org/showthread.php?t=2114266 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
** Changed in: resolvconf (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
@a_paddy: Thanks. See comment #82 for the most recent summary of causes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
I can confirm that FortiClient is a cause of this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Hi Thomas, will test all solutions you mentioned and report (have tried dpkg-reconfigure, will try again). Positive feedback, our complete server park upgraded to 12.04 without problems (one server crashed during upgrade and ubuntu still recovered nicely). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
I wrote in comment #107: Can you please post the error message and an exact description of the symptoms of the failure? I now remember that you (Anders) already posted the error message in comment #102. Setting up resolvconf (1.63ubuntu16) ... start: Job is already running: resolvconf invoke-rc.d: initscript resolvconf, action start failed. dpkg: error processing resolvconf (--configure): subprocess installed post-installation script returned error exit status 1 When I first read this I thought, Probably his image contains an older version of invoke-rc.d, or something like that, such that an already running resolvconf job is incorrectly handled as an error condition. Then I asked you what image you installed from. I just doublechecked on an up-to-date Precise (12.04.1) and on an up-to- date Quantal (12.10) system. On each of these, if resolvconf is running then start resolvconf returns 1 but invoke-rc.d resolvconf start returns 0. On your machine invoke-rc.d resolvconf start seems to return nonzero. What version of sysv-rc did the affected system have at the time of the error? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Anders, please do the following on the affected system when it is in the state such that an attempt to configure resolvconf fails with the error message quoted in comment #102. Open a terminal and enter sudo su and your password. This gives you a shell with root privileges. Run the following commands. status resolvconf start resolvconf ; echo $? /etc/init.d/resolvconf start ; echo $? invoke-rc.d resolvconf start ; echo $? Then exit the shell. Post the output here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
One of the possible causes of this (bug #1000244) may have been eliminated in the latest release -- resolvconf 1.69ubuntu1 -- which fixes bug #1085862. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
That it is not new installs but old ones that fail to upgrade properly is intriguing. Let's get to the bottom of this! Is there any way I can force apt or dpkg to install it If you mean ... to install it (resolvconf) properly then the answer is that you do dpkg-reconfigure resolvconf after upgrade. nothing has broken for us besides that apt-get dist-upgrade fails on resolvconf Can you please post the error message and an exact description of the symptoms of the failure? Also, on some machine where you have reproduced the problem, run apport-collect 1000244; and make sure you include (the relevant part of) /var/log/apt/term.log. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Sorry for the late reply. I tested upgrading some other servers we use and the process went well. The servers failing are our oldest in production. Meaning we have updated them since version 9 (or perhaps even 8) to long term releases of Ubuntu. I.e., gradually with apt-get (without problems to speak of). I will probably not be able to retrieve the exact image we used. I will see if others types of servers upgrades fail in the coming days. On the failing machines I would like to keep the resolvconf package as you suggest Thomas. Is there any way I can force apt or dpkg to install it, or get more verbose outpout reg. why it fails to install? As long as the install goes through and I keep a static /etc/resolv.conf file everything works fine. I've tested the build and nothing has broken for us besides that apt-get dist-upgrade fails on resolvconf (and perhaps future dist-upgrades are blocked). Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Thanks for the support Thomas and Steve. The blog answered most questions, the option to keep resolv.conf as a regular file is what I probably need. The upgrade process seemed to use this option automatically (no symlink was present after upgrade). Still, when upgrading it fails as noted in post 102 and reconfigure is impossible (with or without symlink hacks). I have tested on two staging machines now (can reproduce this on more machines). I will get back with the image id and some additional information when I find it. Let me know were to move the discussion. If the problem is too severe for recovery I can always build new machines (preferably not). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Having a static file instead of a symlink at /etc/resolv.conf is supported. It's recommended in that case to keep the resolvconf package installed, since the presence of resolvconf prevents some other packages from overwriting /etc/resolv.conf. The bug is in the image. When we know what image you are using we'll know where to look for reports of this bug or where a new report should be filed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Hi Anders. Please read Stéphane Graber's blog post about the introduction of resolvconf and other changes to DNS in Ubuntu 12.04. http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
I agree that we should not mess with default settings. However, many cloud images have changes reg. resolv.conf and backwards compatibility is a good thing when doing upgrades. Error message. Unpacking replacement unattended-upgrades ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up resolvconf (1.63ubuntu16) ... start: Job is already running: resolvconf invoke-rc.d: initscript resolvconf, action start failed. dpkg: error processing resolvconf (--configure): subprocess installed post-installation script returned error exit status 1 Setting up unattended-upgrades (0.76ubuntu1) ... Errors were encountered while processing: resolvconf E: Sub-process /usr/bin/dpkg returned an error code (1) Will read the related blog asp. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Hi Anders, First, stock Ubuntu 12.04 and 12.10 don't malfunction like this. What image are you using? Please give the exact version number. Where did you get this image? Who built it? Second, this isn't the same error as others have reported here (bug #1000244) so we should move discussion of your problem somewhere more appropriate ASAP. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Could you please add some quick clarifications for this Thomas? Might be good for all users. 1) The message (as of today’s dist-upgrade) still shows critical error - while I understand it is an warning. Many threads discuss this problem. Is this correct, is dist-upgrade related problems in this case a Critical Error or is it a Warning? 2) On ubuntu cloud clones (e.g., amazon elastic builds) will this break any resolvconf functionality not intended by the clone administrator/creator. I.e., the person(s) hard-coding the /etc/resolv.conf file (not symlink) with information, or will it continue to work without properly (defaulting to prior 12.04 config files etc). 3) The resolveconf system is often bundled with kernel updates. If I accept this Error as a Warning and see broken updates in apt, will I then be able to update to later kernels? 4) added as fix released in some related bugs (incomplete here) while upgrade process from version x to y (distributions) are likely to produce these errors - this is incorrect. Note: I specifically need kernel updates to nfs servers and it has dependencies on resolvconf in the update packages (from what I can understand from apt-get -s). INFO: 1) uname -a Linux ip-10-39-8-203 3.2.0-35-virtual #55-Ubuntu SMP Wed Dec 5 18:02:05 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux 2) sudo dpkg-reconfigure DOES NOT WORK or chattr (all with many reboots) 3) cannot set immutable bit easily (standard amazon elastic clone). However, with hacks from https://bugs.launchpad.net/ubuntu/+bug/1003595 I can make it use a symlink. Still dist-upgrade and dpkg reconf. process fails with error. 4) nr 3 hacks works despite output (symlink present after reboot with same info as before adding symling): # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 172.16.0.23 search eu-west-1.compute.internal 5) ls -l /etc/resolv.conf lrwxrwxrwx 1 root root 29 Jun 16 2012 /etc/resolv.conf - ../run/resolvconf/resolv.conf related: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244 https://bugs.launchpad.net/ubuntu/+bug/1003595 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
Anders, your follow-up message doesn't state what error message you're seeing on upgrade. There's nothing I see linking your problem to this bug report. There is certainly no generic critical error on upgrade for users who are not manually modifying the state of /etc/resolv.conf on their systems. In response to your point 2) in particular, manually configuring nameserver settings in /etc/resolv.conf, rather than using either dhcp- provided settings or configuring in /etc/network/interfaces, is strongly discouraged. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1000244] Re: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes
** Summary changed: - /etc/resolv.conf symlink does not exist after initial installation of resolvconf package + Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1000244 Title: Symlink /etc/resolv.conf does not exist after installation or upgrade of resolvconf -- various causes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs