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

bggo 1062544 at bugs.launchpad.net
Fri Oct 5 20:53:18 UTC 2012


Public bug reported:

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

** Affects: resolvconf (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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