[Bug 1062544] Re: Modified permissions after migration /run/resolfconf/resolv.conf

Steve Langasek steve.langasek at canonical.com
Fri Oct 5 22:18:03 UTC 2012


Sorry, no, this is not a bug in resolvconf.  If the resolvconf package
were routinely setting wrong permissions on this file, that would have
been noticed long before now.  There must be something else in your
environment which is setting these permissions.  Perhaps you have
something that's forcing an incorrect umask (the package manager itself
enforces a umask of 022).

** Changed in: resolvconf (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1062544

Title:
  Modified permissions after migration /run/resolfconf/resolv.conf

Status in “resolvconf” package in Ubuntu:
  Invalid

Bug description:
  Hello,

  We had a major issue upgrading some servers to Ubuntu 12.04, we have
  hundres of servers runing 11.04.

  We belive the problem can be in the upgrade process, it change file
  permissions of /run/resolvconf/resolv.conf

  In Ubuntu 11.04 or Ubuntu 11.10 the permission is:
  -rw-r--r-- 1 /run/resolvconf/resolv.conf  root root 66 Oct  5 12:06  (644)

  But after the migration to 12.04 the permissions was :

  -rw------- 1 root root 66 /run/resolvconf/resolv.conf  Oct  5 12:06
  (600)

  We realised this just because apache stoped to resolve names. We write
  a simple php script using gethostbyname function to test. As root
  everything just fine, as normal user didn't work. So we check dig and
  host as root and as normal users and confirm that the permission were
  the problem.

  What does it afecct: Name resolution of a normal user. Apache and many
  other services are started by "services users" that can't resolv names
  to.

  We deploy also a new Ubuntu 12.04 and Ubuntu 12.04.1 to check if was a
  problem on the package and the permission was just fine, so everithing
  points to the upgrade proccess.

  By any chance this is a bug?

  Kind Regards

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




More information about the foundations-bugs mailing list