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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs