[Bug 1000244] Re: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-29 Thread Bob Tregilus
Guess you'd have to ask Clem and team about that one. I realize that
Linux Mint is based on Ubuntu as is Kubuntu. Recall, I run the KDE
version of Mint. So perhaps the Kubuntu folks made the change?

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-28 Thread Thomas Hood
Thanks for checking, Bob.

I am only surprised that /etc/resolv.conf points to
../var/run/resolvconf/resolv.conf instead of
../run/resolvconf/resolv.conf (as is normal in Ubuntu). Did Linux Mint
make this change, and if so, why?

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-23 Thread Bob Tregilus
Hey Thomas -

Okay, I just installed Linux Mint 14 64-bit KDE. (I was running Mint 13
KDE LTS.)

Immediately after the install the first thing I did was run the
following:

bob@elaterite ~ $ ls -l  /etc/resolv.conf
lrwxrwxrwx 1 root root 33 Dec 23 14:58 /etc/resolv.conf - 
../var/run/resolvconf/resolv.conf

bob@elaterite ~ $ ls -l /run/resolvconf
total 4
-rw-r--r-- 1 root root   0 Dec 23 15:09 enable-updates
drwxr-xr-x 2 root root  60 Dec 23 15:09 interface
-rw-r--r-- 1 root root 310 Dec 23 15:09 resolv.conf

bob@elaterite ~ $ ls -l /run/resolvconf/interface
total 4
-rw-r--r-- 1 root root 21 Dec 23 15:09 NetworkManager
bob@elaterite ~ $ 

Then I did a full upgrade with apt-get and it reported no resolv error.

Then I did a dist-upgrade to that latest kernel (no errors) and rebooted
and then ran the following again:

bob@elaterite ~ $ ls -l  /etc/resolv.conf
lrwxrwxrwx 1 root root 33 Dec 23 14:58 /etc/resolv.conf - 
../var/run/resolvconf/resolv.conf

bob@elaterite ~ $ ls -l /run/resolvconf
total 4
-rw-r--r-- 1 root root   0 Dec 23 16:46 enable-updates
drwxr-xr-x 2 root root  60 Dec 23 16:46 interface
-rw-r--r-- 1 root root 310 Dec 23 16:46 resolv.conf

bob@elaterite ~ $ ls -l /run/resolvconf/interface
total 4
-rw-r--r-- 1 root root 21 Dec 23 16:46 NetworkManager
bob@elaterite ~ $

So it looks like the symbolic link got created at install and didn't
break during upgrade, eh?

Thanks!

Bob

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-14 Thread Thomas Hood
I wrote that. The last sentence is a bit ugly but I was trying to keep
it short. More explicit would have been the following.

After a typical installation of Ubuntu 12.04, /etc/resolv.conf is a
symbolic link to ../run/resolvconf/resolv.conf. If, at the time the
machine is upgraded to Ubuntu 12.10, /etc/resolv.conf is absent or is a
static file instead of the aforementioned symbolic link then, if the
administrator wants software running on the machine to continue to make
use of the NetworkManager-controlled nameserver then he or she will have
to restore the symbolic link at /etc/resolv.conf such that it once again
points to ../run/resolvconf/resolv.conf. An easy way to do this is to
run sudo dpkg-reconfigure resolvconf and to agree when asked if the
symbolic link should be created.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-13 Thread Bob Tregilus
FYI Thomas: follow this link
https://wiki.ubuntu.com/QuantalQuetzal/ReleaseNotes/Kubuntu and scroll
down to Networking it states:

Networking
In order to improve compatibility with other local nameserver packages, 
NetworkManager now assigns IP address 127.0.1.1 to the local nameserver process 
that it controls instead of 127.0.0.1. If the system's /etc/resolv.conf is 
absent or is a static file instead of the symbolic link to 
../run/resolvconf/resolv.conf installed by default then this static file will 
have to be updated by the administrator in order to continue using the 
NetworkManager-controlled nameserver.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-06 Thread Thomas Hood
If you ever re-install the system please check, right after initial
installation, before upgrading, whether or not /etc/resolv.conf is a
symlink.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-06 Thread Bob Tregilus
Sure. It looks like the Mint team has released a version 14 RC in KDE.
When the stable comes out I might switch to it. For some reason, I can't
seem to resolve an annoying issue with Dolphin that I'm having in Mint
13.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-04 Thread Thomas Hood
 Same thing happened to resolvconf--upon running the upgrades.

What was the resolvconf version before the upgrade? And after? What
packages were upgraded? Can you attach the /var/log/apt/history.log,
/var/log/apt/term.log and /var/log/dpkg.log files covering the upgrade?
These might contain clues.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-04 Thread Bob Tregilus
Looks like:
resolvconf:amd64 1.63ubuntu14
with
resolvconf:amd64 1.63ubuntu16

Hope that helps!


** Attachment added: Requested log files
   
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+attachment/3451232/+files/logs.txt

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-04 Thread Thomas Hood
Thanks for the info — very helpful.

Looking at the apt logs I see an upgrade done at 2012-12-03  18:23:13.

Do I understand correctly that resolvconf worked correctly before this
upgrade?  Thus /etc/resolv.conf was a symbolic link to
../run/resolvconf/resolv.conf before the upgrade?

During the upgrade, resolvconf upgrades without error messages, but at
the end when resolvconf is triggered to do an update it reports that the
symlink /etc/resolv.conf is missing. So probably some program or package
maintainer script stomped on /etc/resolv.conf. Most likely the package
or program in question is one that is not included in the default
install on Ubuntu, otherwise we'd have many more reports of the problem.

Browsing through I see that you upgrade kppp. The source package for
this is kdenetwork. Grepping through the source code of that I find zero
references to resolvconf and one code passage (in kppp) where
/etc/resolv.conf is written to. So this appears to be a program that has
not yet been made resolvconf-compatible.

kppp/connect.cpp 1419
// Replace the DNS domain entry in the /etc/resolv.conf file and
// disable the nameserver entries if option is enabled
void add_domain(const QString domain) {

Are you using kppp?

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-04 Thread Thomas Hood
(Just filed bug #1086336 against kppp.)

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-04 Thread Bob Tregilus
Thomas -

Both installs began with fresh ISOs of Linux Mint 13, 64bit KDE.

After the initial install I have no idea if there were any errors as I
didn't bother to look at the install logs.

The only time I've noted the resolvconf error was doing the requisite
post install package upgrades, which I always do via Apt in a terminal,
not with the update manager GUI. So it's there that I see the errors.

I don't use kppp as I don't have a dailup modem, fyi.

I trust that reconfiguring resolvconf, as noted above, was the proper
thing to do to correct 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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-04 Thread Thomas Hood
I had interpreted your comment #85 as meaning that the problem appeared
when you upgraded,  but it turns out that we can't be sure that the
problem wasn't there from the beginning. I would guess,  then,  that the
problem was there at the beginning, after installation, because we have
seen other examples of faulty images; see my comment #82.

dpkg-reconfiguring resolvconf is indeed the right way to fix the problem
of /etc/resolv.conf not having been symlinked 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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-03 Thread Thomas Hood
@Bob: Thanks for the information. Interesting case.

* /etc/resolv.conf is not a symbolic link to ../run/resolvconf/resolv.conf
* Updates are not enabled
* A postponed update has been scheduled
* Nothing has been stored in the interfaces database

I can only guess how this set of conditions came about.  One possibility
is that the postinst failed to run or aborted early and then resolvconf
-u was run by something.

It would be nice if we knew the (original) answer to the linkify-
resolvconf debconf question; then we could easily rule out the
possibility that linkification (that is, creation of the symbolic link
/etc/resolv.conf - ../run/resolvconf/resolv.conf) failed to occur
because the answer was negative. But it is impossible to know this after
the fact since the Ubuntu version of the postinst overwrites the
original answer. This should be fixed. I'll file a separate report about
this.

Another source of uncertainty is the invoke-rc.d resolvconf start code
added to the beginning of the postinst by dh_installinit. In the Debian
version of the package, dh_installinit is run with the --no-start option
and actions equivalent to invoke-rc.d resolvconf start are performed
later in the postinst after necessary preparation has been done. That
works correctly. While converting from sysvinit to Upstart the Ubuntu
developers replaced --no-start with the -r option but a few things
have gone wrong in the process.

First, the #DEBHELPER# token is in the wrong place. It should be
placed after the postinst code that linkifies and initializes the
database. Hmm. This bug was fixed at one point as indicated by the
following changelog entry

- Move the #DEBHELPER# token in debian/postinst to after the resolv.conf
  symlink is set, so the init script can actually start (since it expects
  /etc/resolv.conf to be a symlink).

but the current version has the #DEBHELPER# token back up at the top
of the file. I will file a separate report about this.

Second, the comment in the postinst still says that --no-start is
used. I will mention this in the latter report.

Third, dh_installinit inserts code in the postinst that does

invoke-rc.d resolvconf start || exit $?

This calls invoke-rc.d which calls /etc/init.d/resolvconf which is
/lib/init/upstart-job which runs resolvconf --enable-updates which
runs the resolvconf update scripts. If any of the scripts returns an
error then the postinst exits at the line quoted above — before
linkification has been done. This is very undesirable.  This would also
be fixed if the #DEBCONF# token were in the right place, at the bottom
of the postinst.

So to conclude, I can only guess about what happened in your case but
your information has led to the discovery of at least one bug that might
well be involved.  :)

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-03 Thread Bob Tregilus
@Thomas thanks for the update. FYI: I did a re-install with a new copy
of the image freshly downloaded from the Linux Mint repository. Same
thing happened to resolvconf--upon running the upgrades. (I think I
forget to mention that before.) ;)

Cheers!

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-12-02 Thread Bob Tregilus
Okay, so I installed Linux Mint 13 KDE 64bit last night and received
this resolv symlink does not exist error.

So I've recorded the outputs that @Thomas request below. I hope they
help!

---

elaterite ~ # ls -l /etc/resolv.conf
ls: cannot access /etc/resolv.conf: No such file or directory

elaterite ~ # ls -l /run/resolvconf
total 0
drwxr-xr-x 2 root root 40 Dec  1 21:22 interface
-rw-r--r-- 1 root root  0 Dec  1 21:22 postponed-update

elaterite ~ # ls -l /run/resolvconf/interface
total 0

elaterite ~ # cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

---

Then I ran the following commands:

elaterite ~ # dpkg-reconfigure resolvconf and enabled the option to
'Prepare /etc/resolv.conf for dynamic updates'.

elaterite ~ # resolvconf --enable-updates

elaterite ~ # shutdown -r now

---

And upon reboot:

elaterite ~ # ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Dec  1 23:09 /etc/resolv.conf - 
../run/resolvconf/resolv.conf

elaterite ~ # ls -l /run/resolvconf
total 4
-rw-r--r-- 1 root root   0 Dec  1 23:11 enable-updates
drwxr-xr-x 2 root root  60 Dec  1 23:11 interface
-rw-r--r-- 1 root root 172 Dec  1 23:11 resolv.conf

elaterite ~ # ls -l /run/resolvconf/interface
total 4
-rw-r--r-- 1 root root 21 Dec  1 23:11 NetworkManager

elaterite ~ # cat /etc/resolv.conf
# 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 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/1000244

Title:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-31 Thread Thomas Hood
I just heard  (http://askubuntu.com/questions/139654/network-connection-
on-ubuntu-12-04-20-seconds-to-load-a-web-
site/140201#comment260660_140201) that FortiClient SSL VPN client is
another third-party program guilty of trashing /etc/resolv.conf.

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.

Ubuntu tools
Buggy uck used (bug #946480)
Buggy Casper used (bug #946215)
Buggy NetworkManager used (bug #1072341): cerin

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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-30 Thread Thomas Hood
@rjasmin: If you are running Debian, please file a bug report in the
Debian bug tracking system. See http://www.debian.org/Bugs/

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-29 Thread rjasmin
this is a debain bug, once again working its way into UBUNTU core.
Running WHEEZY.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-28 Thread Thomas Hood
I wrote:
 I will file a new bug report requesting that this finally be implemented.

Filed as bug #1072341.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-24 Thread Thomas Hood
@Cerin: You say that disabling and re-enabling wireless connection
corrects resolv.conf.  Please run the following commands when
resolv.conf is correct, so we know what you mean by that.

cat /etc/resolv.conf
ls -l /run/resolvconf/interface
for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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


Re: [Bug 1000244] Re: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-24 Thread Cerin
On Wed, Oct 24, 2012 at 7:39 AM, Thomas Hood 1000...@bugs.launchpad.net wrote:
 @Cerin: You say that disabling and re-enabling wireless connection
 corrects resolv.conf.  Please run the following commands when
 resolv.conf is correct, so we know what you mean by that.

 cat /etc/resolv.conf
 ls -l /run/resolvconf/interface
 for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done

chris@localhost$ cat /etc/resolv.conf
# Generated by NetworkManager
domain mynetwork
search mynetwork
nameserver 127.0.0.1
chris@localhost$ ls -l /run/resolvconf/interface
total 4
-rw-r--r-- 1 root root 67 Oct 24 12:03 NetworkManager
chris@localhost$ for F in /run/resolvconf/interface/* ; do echo === $F
=== ; cat $F ; done
=== /run/resolvconf/interface/NetworkManager ===
domain mynetwork
search mynetwork
nameserver 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/1000244

Title:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-24 Thread Thomas Hood
Cerin, in your earlier comment (#75) you posted the results of several
commands.  The content of /etc/resolv.conf was incorrect.  It was:

# Generated by NetworkManager
domain home
search home
   nameserver 127.0.0.1

If this file had been generated by resolvconf, it would have begun with
the contents of /etc/resolvconf/resolv.conf.d/head and not with the
comment # Generated by NetworkManager.  Furthermore, resolvconf never
writes a domain line.  Comparing with what you describe as the correct
contents, the domain and search lines are also incorrect, listing home
instead of mynetwork.

In the later comment (#77) you say that /etc/resolv.conf contains

# Generated by NetworkManager
domain mynetwork
search mynetwork
nameserver 127.0.0.1

Although the domain and search lines are now correct, the content is
still not what resolvconf generates, so there is still something amiss.

It appears as if NetworkManager is overwriting /etc/resolv.conf.  (I say
appears because some other program or script could be copying from a
resolv.conf that was once generated by NM.)  But NetworkManager also
calls resolvconf, as evidenced by the fact that
/run/resolvconf/interface/NetworkManager exists and has the same
creation date and time as /run/resolvconf/resolv.conf.  Accordingly, in
the log file WifiSyslog.txt you posted originally we see the following.

May 16 09:42:03 coronis NetworkManager[22975]: info (eth2):
writing resolv.conf to /sbin/resolvconf

Looking in the network-manager source code I see what is most likely the
cause of the problem.  The code in src/dns-manager/nm-dns-manager.c is
essentially the following.

success = dispatch_resolvconf (domain, searches, nameservers, iface, 
error);
if (success == FALSE)
success = update_resolv_conf (domain, searches, nameservers, 
iface, error);

With this code, if resolvconf returns nonzero for any reason then
NetworkManager writes its output directly to (the target of)
/etc/resolv.conf.  This is wrong.  I already wrote about this issue ten
months ago.

https://bugs.launchpad.net/ubuntu/+source/network-
manager/+bug/324233/comments/30

Although the most serious of the several problems I discussed there have
been fixed in Quantal, the problem remains that NetworkManager does not
correctly handle a nonzero exit status returned by resolvconf.

When resolvconf runs if may or may not return an error. For example, if
some update.d hook script returns a nonzero status then that status is
returned.  But as NetworkManager is currently coded, if resolvconf
returns an error for any reason then NM writes its nameserver
information directly to /etc/resolv.conf.

That NM behavior dates from the time that resolvconf was an optional
package in universe which returned nonzero status to indicate that
/etc/resolv.conf wasn't a symbolic link, and the NetworkManager
maintainers wanted to avoid leaving the user without a resolv.conf at
all costs. The behavior was inappropriate then (because it failed to
distinguish between an absent symlink and runtime errors) and is more
inappropriate now.

The appropriate behavior for NetworkManager is: IF resolvconf is
installed as evidenced by the presence of the file /sbin/resolvconf THEN
send nameserver information to /sbin/resolvconf ELSE write the
nameserver information directly to (the target of) /etc/resolv.conf.

I will file a new bug report requesting that this finally be
implemented.

In the short term, though, Cerin, you should find out why resolvconf
returns a nonzero status (... assuming it does and that this is the
cause of your problem) and fix the underlying problem that causes it to
do so.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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


Re: [Bug 1000244] Re: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-23 Thread Cerin
On Tue, Sep 18, 2012 at 5:43 PM, Thomas Hood 1000...@bugs.launchpad.net wrote:
 @Cerin: We need to find out which program it is that is not interfacing
 correctly with resolvconf.

 So far as I know all Ubuntu software interfaces correctly with
 resolvconf. It is known that some third party software doesn't interface
 correctly with resolvconf.  Are you using a VPN client?  Which one?

 When resolv.conf is incorrect, what is the output of these commands?

 ls -l /etc/resolv.conf
 cat /etc/resolv.conf
 ls -l /run/resolvconf
 ls -l /run/resolvconf/interface
 for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done
 ls -l /etc/resolvconf/resolv.conf.d
 for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === ; cat $F ; 
 done

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1000244

 Title:
   /etc/resolv.conf symlink does not exist after initial installation of
   resolvconf package

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000244/+subscriptions

Sorry for the late reply. I was waiting for when the problem
reoccurred. I've isolated the scenario that I can reproduce. My
resolvconf info is always wrong with I switch from wired to wireless.

In response to your question, when resolv.conf is incorrect, this is
the output of your commands:

chris@localhost:~$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Sep 17 10:57 /etc/resolv.conf -
../run/resolvconf/resolv.conf
chris@localhost:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain home
search home
nameserver 127.0.0.1
chris@localhost:~$ ls -l /run/resolvconf
total 4
-rw-r--r-- 1 root root  0 Oct 12 20:36 enable-updates
drwxr-xr-x 2 root root 60 Oct 12 20:47 interface
-rw-r--r-- 1 root root 75 Oct 12 20:47 resolv.conf
chris@localhost:~$ ls -l /run/resolvconf/interface
total 4
-rw-r--r-- 1 root root 45 Oct 12 20:47 NetworkManager
chris@localhost:~$ for F in /run/resolvconf/interface/* ; do echo ===
$F === ; cat $F ; done
=== /run/resolvconf/interface/NetworkManager ===
domain home
search home
nameserver 127.0.0.1
chris@localhost:~$ ls -l /etc/resolvconf/resolv.conf.d
total 8
-rw-r--r-- 1 root root   0 Mar 29  2012 base
-rw-r--r-- 1 root root 151 Mar 29  2012 head
-rw-r--r-- 1 root root 147 May 10 14:55 original
chris@localhost:~$ for F in /etc/resolvconf/resolv.conf.d/* ; do echo
=== $F === ; cat $F ; done
=== /etc/resolvconf/resolv.conf.d/base ===
=== /etc/resolvconf/resolv.conf.d/head ===
# 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
=== /etc/resolvconf/resolv.conf.d/original ===
# Generated by NetworkManager
domain mynetwork
search mynetwork
nameserver 10.157.10.12
nameserver 10.157.10.14
nameserver 192.168.1.1

When I use the Gnome widget to disable and then re-enable my wireless
connection, the resolv.conf info is corrected.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-16 Thread Thomas Hood
Another data point. I just stumbled across AskUbuntu question #137037
and noticed that seven people have voted up the answer to run dpkg-
reconfigure resolvconf.  That suggests that seven people had to run
that command, i.e., that seven people were lacking the symlink for some
reason.

http://askubuntu.com/questions/137037/network-manager-not-
populating-resolv-conf/172157#172157

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-02 Thread Thomas Hood
OK, got a reply from Linode. I will pursue the matter and report back
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-02 Thread Thomas Hood
@Solomon: Linode tech support has told me that Linode intentionally
removed the /etc/resolv.conf symlink.  By default, all of their
distribution templates use DHCP to obtain the IPv4 address on the first
boot; dhclient is configured to write out a valid resolv.conf file at
/etc/resolv.conf. That's it.

Was the only problem you had the fact that you got an error message?  If
so then the problem is only the word Error which should have been
Warning; and this problem has already been fixed in Quantal.

In more detail: In Precise, /sbin/resolvconf aborted with an error
message

resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing
anything.

if /etc/resolv.conf was not a symlink.  In Quantal /sbin/resolvconf
doesn't print that message and does not abort.  However, unless you set

REPORT_ABSENT_SYMLINK=no

in /etc/default/resolvconf, the warning message

/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a
symbolic link to /run/resolvconf/resolv.conf

gets printed by the resolvconf update script
/etc/resolvconf/update.d/libc.  So an admin who wants to eliminate the
/etc/resolv.conf symlink and keep resolvconf installed will also have to
set REPORT_ABSENT_SYMLINK=no in order to silence the unwanted warning
message.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-01 Thread Thomas Hood
@Solomon: Thanks for a very complete report.

Another faulty image,  presumably because a faulty image-building tool
is being used.

More later.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-10-01 Thread Thomas Hood
I have just sent e-mail to Linode customer service bringing the issue to
the company's attention.  I don't see a BTS open to non-customers, but
someone let me know if I've overlooked a more suitable communication
channel.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-30 Thread Solomon
+++ I had the same problem as described above.. after doing sudo dpkg-
reconfigure resolvconf everything appears to be OK now.  Repro and diag
info below +++

- Setup a new box with www.Linode.com.  Took their image of:  Ubuntu 12.04 LTS 
64bit.
## Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.5.2-x86_64-linode26 x86_64)
- Immediately after it was online:apt-get update  apt-get upgrade
- Installed OpenVPN and created a new /interfaces bridge
- NOTE: My IP address for eth0, well now br0, is DHCP... (so, later when told I 
should add entries for dns-nameservers in /etc/network/interfaces, I did 
nothing)...

 then, I got resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing 
 anything:
root@localhost:/# sudo /etc/init.d/networking restart
 * Running /etc/init.d/networking restart is deprecated because it may not 
enable again some interfaces
 * Reconfiguring network interfaces...  
Ignoring unknown interface eth0=eth0.

Waiting for br0 to get ready (MAXWAIT is 18 seconds).
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
ssh stop/waiting
ssh start/running, process 11457

[ OK ]

 Diag info from the host per Thomas' request above:
root@localhost:/# dpkg -l resolvconf network-manager dnsmasq dnsmasq-base
ls -l /etc/resolv.conf
cat /etc/resolv.conf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version  Description
+++---
un  dnsmasq  none   (no description available)
un  network-manager  none   (no description available)
ii  resolvconf   1.63ubuntu16 name server information 
handler
No packages found matching dnsmasq-base.
root@localhost:/# ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 127 Sep 30 21:24 /etc/resolv.conf
root@localhost:/# cat /etc/resolv.conf
domain members.linode.com
search members.linode.com
nameserver 106.187.36.20
nameserver 106.187.34.20
nameserver 106.187.35.20
root@localhost:/# ls -l /run/resolvconf
ls -l /run/resolvconf/interface
for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done
ls -l /etc/resolvconf/resolv.conf.d
total 0
drwxr-xr-x 2 root root 40 Sep 30 12:44 interface
-rw-r--r-- 1 root root  0 Sep 30 12:44 postponed-update
for F in /etc/resolvconf/resolv.conf.d/* ; do echo root@localhost:/# ls -l 
/run/resolvconf/interface
ps -elfww|grep dnsmasq
total 0
root@localhost:/# for F in /run/resolvconf/interface/* ; do echo === $F === ; 
cat $F ; done
=== /run/resolvconf/interface/* ===
cat: /run/resolvconf/interface/*: No such file or directory
root@localhost:/# ls -l /etc/resolvconf/resolv.conf.d
total 8
-rw-r--r-- 1 root root   0 Mar 29  2012 base
-rw-r--r-- 1 root root 151 Mar 29  2012 head
-rw-r--r-- 1 root root  23 Apr 26 15:28 original
root@localhost:/# for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === 
; cat $F ; done
=== /etc/resolvconf/resolv.conf.d/base ===
=== /etc/resolvconf/resolv.conf.d/head ===
# 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
=== /etc/resolvconf/resolv.conf.d/original ===
nameserver 192.168.1.1
root@localhost:/# cat /etc/NetworkManager/NetworkManager.conf
cat: /etc/NetworkManager/NetworkManager.conf: No such file or directory
root@localhost:/# ps -elfww|grep dnsmasq
0 S root 11774 10318  0  80   0 -  2344 pipe_w 22:04 pts/100:00:00 grep 
--color=auto dnsmasq
root@localhost:/#

  tried the work around above ...
root@localhost:/# sudo dpkg-reconfigure resolvconf
 â⤠Configuring resolvconf 
âââ
 â The resolvconf package contains the infrastructure required for dynamic 
updating of the resolver configurationâ
snip/snip
 â Prepare /etc/resolv.conf for dynamic updates?
 â
 â  Yes 
No   â
âââ
choose YES

â⤠Configuring resolvconf 
âââ
snip/snip
 â After the required dns-nameservers lines have been added to 
/etc/network/interfaces, theâ
 â /etc/resolvconf/resolv.conf.d/tail link should be replaced by one to 
/dev/null.   â
 â Append original file 

[Bug 1000244] Re: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-21 Thread Thomas Hood
Here's a new summary of the possible causes of the missing symlink for
each contributor to this report or to one of its duplicates.

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

Juniper AnyConnect installed (http://askubuntu.com/questions/156154/how-
to-prevent-juniper-network-connect-breaking-dns-resolutions): trulyliu

Buggy debian-live and/or remastersys used: bluelight-auroville

Unidentified third-party software installed that clobbers
/etc/resolv.conf: cerin

Possibly some issue with ubuntu 12.04 amd64+mac image: cerin peterlauri

Possibly some bug in a package in the Precise beta phase: ripps818

Possibly due to issues while updating: davidpeter

Buggy uck used (bug #946480)

Buggy Casper used (bug #946215)

Declined debconf invitation to linkify /etc/resolv.conf

Couldn't reproduce: pdf

Still a mystery or 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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-21 Thread Lisa Simpson
I just completed an upgrade on a Precise Pangolin VM that wrote a file
to resolv.conf and which caused the name resolution to fail completely

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-21 Thread Thomas Hood
Hi Lisa.  To address your problem we'll need some information.  Please
post the output of the following commands.

dpkg -l resolvconf network-manager dnsmasq dnsmasq-base
ls -l /etc/resolv.conf
cat /etc/resolv.conf
ls -l /run/resolvconf
ls -l /run/resolvconf/interface
for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done
ls -l /etc/resolvconf/resolv.conf.d
for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === ; cat $F ; 
done
cat /etc/NetworkManager/NetworkManager.conf
ps -elfww|grep dnsmasq

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-18 Thread Thomas Hood
@Cerin: The resolvconf package only creates the symbolic link
/etc/resolv.conf -- ../run/resolvconf/resolv.conf once, on initial
installation. The package can be caused to repeat this action by running
dpkg-reconfigure resolvconf and agreeing to linkify
/etc/resolv.conf. However, it is certainly not the intention that this
be done every time you connect to a new wireless network. If you have to
do this then it is because some other piece of software is futzing with
the symbolic link /etc/resolv.conf. The best solution is to figure out
what software that is and cause it to stop doing that.

  if resolvconf locks up

Note that resolvconf doesn't lock up. It's not a daemon.  It's just a
script that gets run by other software that needs to update nameserver
information.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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


Re: [Bug 1000244] Re: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-18 Thread Cerin
On Tue, Sep 18, 2012 at 10:52 AM, Thomas Hood
1000...@bugs.launchpad.net wrote:
  if resolvconf locks up

 Note that resolvconf doesn't lock up. It's not a daemon.  It's just a
 script that gets run by other software that needs to update nameserver
 information.

That's what I mean. As you mentioned, `dpkg-reconfigure resolvconf`
creates the symlink, but the actual information in the file is still
incorrect. Whatever program updates the nameserver information does
not seem to be running reliably.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-18 Thread Thomas Hood
@Cerin: We need to find out which program it is that is not interfacing
correctly with resolvconf.

So far as I know all Ubuntu software interfaces correctly with
resolvconf. It is known that some third party software doesn't interface
correctly with resolvconf.  Are you using a VPN client?  Which one?

When resolv.conf is incorrect, what is the output of these commands?

ls -l /etc/resolv.conf
cat /etc/resolv.conf
ls -l /run/resolvconf
ls -l /run/resolvconf/interface
for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done
ls -l /etc/resolvconf/resolv.conf.d
for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === ; cat $F ; 
done

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-17 Thread Cerin
An issue I've noticed is that `sudo dpkg-reconfigure resolvconf` doesn't
always fix the issue, because, as the program notes, a reboot is
sometimes required to actually refresh the cached dns info. This makes
using this on a laptop occasionally frustrating when traveling between
wifi hotspots or resuming after a suspend, because you either have to
manually edit your /etc/resolv.conf or reboot if you don't know your
local nameserver IP.

I've gotten in the habit of manually recording the
domain/search/nameserver fields of all the networks I typically used, so
that if resolvconf locks up, I can quickly fix it. Obviously, I
shouldn't need to do this.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-04 Thread Thomas Hood
@Taylor: Possibly the pre-Precise-release version of resolvconf had a
bug causing it to fail to create the symlink (or another pre-Precise-
release package had a bug causing it to remove the symlink); resolvconf
only makes one attempt to create the symlink, so even if the bug was
later fixed you were still left without the link.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-04 Thread BlueLight
@Thomas
Sorry if my explanation doesn't suffice but... First I took the 12.04 image 
that is the desktop-i386-32bit that was originally posted on Ubuntu website.
I installed it and added some minor stuff like Skype and VLC. Then to create a 
bootable/redistributable copy of it I use remastersys (which creates valid 
iso/installers for previous versions). It creates ISO with ubiquity installer, 
the iso is already missing /etc/resolv.conf link present on the original 
system. 
So, I think the issue might be remastersys iso creator related 
I googled around and found a solution for the same issue on debian: 
http://lists.debian.org/debian-live/2009/04/msg00040.html saying that in chroot 
they added the link in config/chroot_local-includes/etc/ , and it simply works 
...
So I think this is an extra step that people creating a custom/live ISO should 
take.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-04 Thread Thomas Hood
@BlueLight: Interesting, thanks.  The message you referred to talks
about Debian Live.  Seems that its live-installer program clobbers
resolv.conf.  Unfortunately no one has filed a bug report about this ---
there's nothing relevant at http://bugs.debian.org/live-installer or at
https://bugs.launchpad.net/ubuntu/+source/live-installer.  You use
remastersys.  That's not in Debian or Ubuntu so there are no bug reports
in the BTS or Launchpad about it.  It has a website with a forum but one
has to register to read the forum and I am not willing to do that.  With
Google I found this

http://www.remastersys.com/forums/index.php?topic=239.0

a rather confused discussion which does indicate that others have had similar 
problems with remastersys.
 
Googling further I am reminded that there is another guilty party: uck, as 
discussed in bug #946480.

And there were bugs in Casper too: bug #946215 and others.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-03 Thread BlueLight
still present on up-to-date Ubuntu installer iso 12.04 32-bit with Ubiquity 
installer
Running sudo dpkg-reconfigure resolvconf fixes the issue (I have yes to 
both questions that appear).
More info needed?

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-03 Thread Thomas Hood
@Bendi: I believe that your problem arises from a bad image.  See #bug
#1004421.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-03 Thread Thomas Hood
@BlueLight: Just to be clear, what is the exact image that you used to
install?  Where did you get it? What is its md5sum?

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-03 Thread Thomas Hood
Here's a summary of (possible) causes of the missing symlink for the
contributors to this report.

Bad Mint image (bug #1004421): toby-murray, albert-bendicho

Bad EC2 cloud image  (bug #1003595): louisli

Possibly some issue with ubuntu 12.04 amd64+mac image: cerin, peterlauri

Juniper AnyConnect installed (http://askubuntu.com/questions/156154/how-
to-prevent-juniper-network-connect-breaking-dns-resolutions): trulyliu

Possibly declined debconf invitation to linkify /etc/resolv.conf: cerin

Possibly due to issues while updating: davidpeter

Couldn't reproduce: pdf

Didn't reply: ubck, ripps818

** Tags removed: mysterious

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-03 Thread Taylor Ripps LeMasurier-Wren
The dpkg-reconfigure indeed solved the problem. My initial install was
from the Maverick cycle, and I've usually done a commandline
distrubution upgrade around the Alpha2-3 of every cycle since.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-02 Thread BlueLight
@Thomas Hood (jdthood): yes, I have to run it after installation, accept 
defaults and it's all good after that. 
NOTE: the installer ISO has no problem connecting though. I think it might have 
to do with Ubiquity installer not doing it as the last step and skipping the 
reconfiguration of resolvconf. Just a guess...

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-02 Thread Bendi
I have done a new installation with Linux Mint Maya (MATE-32 bit) and again I 
have the same issue (no /etc/resolv.conf created).
This time, it is a brand new installation. No Updates installed, no VPN 
software added. 
Running sudo dpkg-reconfigure resolvconf fixes the issue (I have yes to 
both questions that appear)
Let me know if you want me to perform other tests (I'll try to answer sooner) 
and thanks for your work.

-Situation of machine just after install.
me@hostname ~ $ ls -l /etc/resolv.conf
ls: cannot access /etc/resolv.conf: No such file or directory
me@hostname ~ $ ls -l /run/resolvconf
total 0
drwxr-xr-x 2 root root 40 Sep  2 12:52 interface
-rw-r--r-- 1 root root  0 Sep  2 12:52 postponed-update
me@hostname ~ $ ls -l /run/resolvconf/interface
total 0
me@hostname ~ $ for F in /run/resolvconf/interface/* ; do echo === $F === ; 
cat $F ; done=== /run/resolvconf/interface/* ===
cat: /run/resolvconf/interface/*: No such file or directory
me@hostname ~ $ for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === 
; cat $F ; done
=== /etc/resolvconf/resolv.conf.d/base ===
=== /etc/resolvconf/resolv.conf.d/head ===
# 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
me@hostname ~ $ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
me@hostname ~ $ lsattr /etc/resolv.conf
lsattr: No such file or directory while trying to stat /etc/resolv.conf
me@hostname ~ $ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false
me@hostname ~ $ cat /run/nm-dns-dnsmasq.conf
server=192.168.1.1
me@hostname ~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1  485811100 10610720 450883812   3% /
udev 10027644   1002760   1% /dev
tmpfs 404008  932403076   1% /run
none51200  5120   0% /run/lock
none 1010012   76   1009936   1% /run/shm
me@hostname ~ $ sudo debconf-show resolvconf
  resolvconf/downup-interfaces:
  resolvconf/linkify-resolvconf: false
  resolvconf/link-tail-to-original: true
  resolvconf/reboot-recommended-after-removal:
-/Situation of machine just after install.

-Situation of machine just after sudo dpkg-reconfigure resolvconf.
me@hostname ~ $ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Sep  2 13:29 /etc/resolv.conf - 
../run/resolvconf/resolv.conf
me@hostname ~ $ ls -l /run/resolvconf
total 4
-rw-r--r-- 1 root root   0 Sep  2 13:29 enable-updates
drwxr-xr-x 2 root root  40 Sep  2 12:52 interface
-rw-r--r-- 1 root root 151 Sep  2 13:29 resolv.conf
me@hostname ~ $ ls -l /run/resolvconf/interface
total 0
me@hostname ~ $ for F in /run/resolvconf/interface/* ; do echo === $F === ; 
cat $F ; done
=== /run/resolvconf/interface/* ===
cat: /run/resolvconf/interface/*: No such file or directory
me@hostname ~ $ for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === 
; cat $F ; done
=== /etc/resolvconf/resolv.conf.d/base ===
=== /etc/resolvconf/resolv.conf.d/head ===
# 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
me@hostname ~ $ cat /etc/resolv.conf
# 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
me@hostname ~ $ lsattr /etc/resolv.conf
lsattr: Operation not supported While reading flags on /etc/resolv.conf
me@hostname ~ $ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false
me@hostname ~ $ cat /run/nm-dns-dnsmasq.conf
server=192.168.1.1
me@hostname ~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1  485811100 10610908 450883624   3% /
udev 10027644   1002760   1% /dev
tmpfs 404008  936403072   1% /run
none51200  5120   0% /run/lock
none 1010012   76   1009936   1% /run/shm
me@hostname ~ $ sudo debconf-show resolvconf
* resolvconf/downup-interfaces:
* resolvconf/linkify-resolvconf: false
* resolvconf/link-tail-to-original: true
  resolvconf/reboot-recommended-after-removal:
-/Situation of machine just after 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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-09-02 Thread Thomas Hood
@Bendi: Thanks for providing good information about this failure case.
Would it be possible to mail me your /var/log/dpkg.log* and
/var/log/apt/* log files (in a tarball) and also let me know the exact
time of the sudo dpkg-reconfigure resolvconf you did?  The log files
are time-stamped so if I know the time of the dpkg-reconfigure command
then I know what apt and dpkg operations were performed prior to that
command.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-31 Thread Thomas Hood
@BlueLight: to fix the problem on the affected system does it suffice to
do 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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-31 Thread Thomas Hood
** Changed in: resolvconf (Ubuntu)
   Status: Confirmed = Incomplete

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-30 Thread BlueLight
same issue here after creating a custom iso from a working system (with
remastersys) and installing from  it.

/etc/resolv.conf not populated

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-28 Thread Thomas Hood
** Tags added: mysterious

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-21 Thread Thomas Hood
Toby wrote:
 However this does seem to be a move

Can you please check this with strace(1)?  The move function is
rename(2).  If you see something like the following in the output

[...]
rename(resolv.conf, resolv.conf.vpnbackup)= 0
[...]
rename(resolv.conf.vpnbackup, resolv.conf)= 0
[...]

then the AnyConnect VPN client binary is probably not the culprit. (The
installer would still be a suspect.)

P.S. As things stand I don't think we have enough information to pursue
the matter any further.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-21 Thread Toby Murray
Had to attach strace to the vpanagentd process that runs in the
background. Here is grep resolv.conf from the log covering firing up
the UI, connecting and disconnecting. So yes, it is indeed doing a
rename.

stat(/etc/resolv.conf, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
stat(/etc/resolv.conf, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
stat(/etc/resolv.conf, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
stat(/etc/resolv.conf.vpnbackup, 0x7fff63bfaa60) = -1 ENOENT (No such file or 
directory)
stat(/etc/resolv.conf, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
rename(/etc/resolv.conf, /etc/resolv.conf.vpnbackup) = 0
chown(/etc/resolv.conf.vpnbackup, 0, 0) = 0
open(/etc/resolv.conf, O_WRONLY|O_CREAT|O_TRUNC, 0100644) = 37
inotify_add_watch(37, /etc/resolv.conf, IN_CLOSE_WRITE|IN_DELETE|IN_ONESHOT) 
= 1
stat(/etc/resolv.conf.vpnbackup, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
rename(/etc/resolv.conf.vpnbackup, /etc/resolv.conf) = 0
chown(/etc/resolv.conf, 0, 0) = 0
stat(/etc/resolv.conf.vpnbackup, 0x7fff63bfac30) = -1 ENOENT (No such file or 
directory)
stat(/etc/resolv.conf.vpnbackup, 0x7fff63bfabe0) = -1 ENOENT (No such file or 
directory)

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-21 Thread Thomas Hood
Good work.  :)

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-17 Thread Bendi
Trying to find a solution for my problems with a clean installation of Linux 
Mint 13/Maya (32bit-MATE) I got here.
I think I have the same issue.
BTW, as I see Cisco VPN mentioned, I have the vpnc packaged installed.

Output of commands requested previously to other users;

me@hostname ~ $ ls -l /etc/resolv.conf
ls: cannot access /etc/resolv.conf: No such file or directory
me@hostname ~ $ ls -l /run/resolvconf
total 0
drwxr-xr-x 2 root root 40 Aug 15 17:36 interface
-rw-r--r-- 1 root root  0 Aug 15 17:36 postponed-update
me@hostname ~ $ ls -l /run/resolvconf/interface
total 0
me@hostname ~ $ for F in /run/resolvconf/interface/* ; do echo === $F === ; 
cat $F ; done
=== /run/resolvconf/interface/* ===
cat: /run/resolvconf/interface/*: No such file or directory
me@hostname ~ $ for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === 
; cat $F ; done
=== /etc/resolvconf/resolv.conf.d/base ===
=== /etc/resolvconf/resolv.conf.d/head ===
# 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

me@hostname ~ $  cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

me@hostname ~ $ lsattr /etc/resolv.conf
lsattr: No such file or directory while trying to stat /etc/resolv.conf
me@hostname ~ $ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false
me@hostname ~ $ cat /run/nm-dns-dnsmasq.conf
server={1st DNS Server of my ISP}
server={2nd DNS Server of my ISP}
me@hostname ~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1  114964972 29493104  79715248  28% /
udev 10190204   1019016   1% /dev
tmpfs 410512 1084409428   1% /run
none51200  5120   0% /run/lock
none 1026272  268   1026004   1% /run/shm
me@hostname ~ $ 


me@hostname ~ $ sudo debconf-show resolvconf
  resolvconf/downup-interfaces:
  resolvconf/linkify-resolvconf: false
  resolvconf/link-tail-to-original: true
  resolvconf/fixing-immutable:
  resolvconf/reboot-recommended-after-removal:


HTH.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-17 Thread Thomas Hood
What Toby and Bendi report is similar to what has been reported at
(Linux Mint) bug #1004421. There people say that doing dpkg-reconfigure
resolvconf and agreeing to linkify suffices to fix the problem.

Toby has the Cisco AnyConnect client installed. The submitter of bug
#1002783 (a duplicate of #1004421) has the Juniper Network Connect VPN
client.  I haven't looked, but it wouldn't surprise me if these clients
delete the /etc/resolv.conf symlink at some point.

Bendi, however, has vpnc.  I have looked at the vpnc scripts and can't
find anything in there that would delete the symlink.

Did Cerin, pdf, Louis, ubck and peterlauri all have one or more of these
VPN clients installed?  I doubt it.  Probably there is more than one
thing out there that's clobbering /etc/resolv.conf.

Can anyone *reproduce* the bug, installation after installation?  If so,
please let us know, then we can go a-hunting.  E.g., Bendi, if you can
reproduce the bug then I'll ask you to repeat the installation but to
omit vpnc.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-17 Thread Thomas Hood
Regarding the Cisco AnyConnect client (version 2.5.3041-k9):

$ strings vpnagentd | grep resolv.conf
/etc/resolv.conf
/etc/resolv.conf.vpnbackup

Regarding the Juniper Network Connect VPN client:

http://askubuntu.com/questions/156154/how-to-prevent-juniper-
network-connect-breaking-dns-resolutions

What happens is that NC deletes the /etc/resolv.conf file...

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-17 Thread Toby Murray
Yes, the contents of my /etc/resolv.conf is the same as
/etc/resolvconf/resolv.conf.d/original

I'm pretty sure I didn't manually answer any questions about resolv.conf
when setting things up. I did a standard linux mint install and then at
a later point installed the Cisco AnyConnect client from the
university's website.

I can confirm that the AnyConnect VPN client does indeed muck with
resolv.conf when a VPN connection is established. It moves resolv.conf
to resolv.conf.vpnbackup and puts its own resolv.conf in place. When you
disconnect, it swaps the old one back in.

However this does seem to be a move operation, not a copy/delete. I last
rebooted the machine on June 20th. Since then I have started/stopped the
VPN several times but the timestamp on resolv.conf.vpnbackup is still
June 20th. So it might not be the cause of the unlinkification.

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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: /etc/resolv.conf symlink does not exist after initial installation of resolvconf package

2012-08-16 Thread Thomas Hood
** Summary changed:

- resolv.conf not populated because /etc/resolv.conf symlink was not created
+ /etc/resolv.conf symlink does not exist after initial installation of 
resolvconf package

-- 
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:
  /etc/resolv.conf symlink does not exist after initial installation of
  resolvconf package

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