everything owned by bind

Bug #712707 reported by Raul Dias
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gadmin-bind (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: bind9

This might be related to gadmin-bind and not bind9.

- A 10.10 install + updates.
- Used synaptic to install bind9 + gadmin-bind.
- After noting that gadmin cant really understand the ubuntu's bind (and ubuntu's bind cant run in a chroot), it was decided to try again in a clean install.
- Used synaptic to install and remove all files from bind9 and gadmin-bind.

Some post uninstall script ran:
    chown -R bind:bind /*
or something close to that.

Now every file is owned by bind user.

I am not enough familiar with debs to identify which package cause the problem. (rpm --scripts equivalent)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: bind9 1:9.7.1.dfsg.P2-2ubuntu0.1 [modified: usr/share/bind9/bind9-default.md5sum]
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
Architecture: amd64
Date: Thu Feb 3 17:36:30 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: bind9

Revision history for this message
Raul Dias (rsd) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

In gadmin-bind source directory:
$ grep -r "chown -R" *src/add_configuration.c: command = g_strdup_printf("chown -R %s:%s %s/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF);
src/add_domain.c: command = g_strdup_printf("chown -R %s:%s %s/etc/sites/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF);
src/gadmin-bind.c: command = g_strdup_printf("chown -R %s:%s %s/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF);

I highly suspect that, given your comment about no chroot support, that CHROOT_PATH_BUF ended up with an empty string, and hilarity (at your expense) ensued. Thus, I'm moving this bug over to gadmin-bind.

affects: bind9 (Ubuntu) → gadmin-bind (Ubuntu)
Changed in gadmin-bind (Ubuntu):
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers