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

Steve Langasek steve.langasek at canonical.com
Sat Oct 6 02:52:15 UTC 2012


> Do I need to move this pakage to package manager?

No, it's not a bug in the package manager either.  The package manager
*ensures* that the umask is set to 022 before calling any package
maintainer scripts, and this happens correctly.  The *only* thing that
would cause this behavior is a wrong umask setting in your environment,
either due to a local change or due to some non-standard package you
have installed that makes this change.

> I`ll make the last test which is depoy a new Ubuntu 11.04 and upgrade
it to 12.04. I`ll report here.

Ok.

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