bind9 failed to configure because adduser couldn't lock /etc/passwd

Bug #692838 reported by Gustavo Pimentel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Binary package hint: bind9

UBuntu lucid.
Everytime i install or upgrade i get this error message from this package i would like to know how to fix it, i didnt use to happen so i guess it ain't normal .

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bind9 1:9.7.0.dfsg.P1-1ubuntu0.1
ProcVersionSignature: Ubuntu 2.6.32-26.48-generic 2.6.32.24+drm33.11
Uname: Linux 2.6.32-26-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Mon Dec 20 21:10:45 2010
ErrorMessage: el subproceso script post-installation instalado devolvió el código de salida de error 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: bind9
Title: package bind9 1:9.7.0.dfsg.P1-1ubuntu0.1 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1

Revision history for this message
Gustavo Pimentel (gustavo479) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug and helping to make Ubuntu better.

Could you send the contents of /etc/nsswitch.conf, as well as the output of

    grep bind /etc/group
    grep bind /etc/passwd
    grep 116 /etc/passwd

Changed in bind9 (Ubuntu):
status: New → Incomplete
Revision history for this message
Gustavo Pimentel (gustavo479) wrote : RE: [Bug 692838] Re: package bind9 1:9.7.0.dfsg.P1-1ubuntu0.1 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1
Download full text (4.9 KiB)

Thanks for responding i send content of etc/nsswitch.conf and the rest of the outputs:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat
group: compat
shadow: compat

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

etc/group :
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:barbis
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:barbis
fax:x:21:barbis
voice:x:22:
cdrom:x:24:barbis
floppy:x:25:barbis
tape:x:26:barbis
sudo:x:27:
audio:x:29:pulse,barbis
dip:x:30:barbis
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:barbis
sasl:x:45:
plugdev:x:46:barbis
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:barbis
lpadmin:x:105:barbis
ssl-cert:x:106:
messagebus:x:107:

etc/passwd:
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
syslog:x:101:103::/home/syslog:/bin/false
messagebus:x:102:107::/var/run/dbus:/bin/false
avahi-autoipd:x:103:110:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
avahi:x:104:111:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
couchdb:x:105:113:CouchDB Administrator,,,:/var/lib/couchdb:/bin/bash
speech-dispatcher:x:106:29:Speech Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh
usbmux:x:107:46:usbmux daemon,,,:/home/usbmux:/bin/false
haldaemon:x:108:114:Hardware abstraction layer,,,:/var/run/hald:/bin/false
kernoops:x:109:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
pulse:x:110:115:PulseAudio daemon,,,:/var/run/pulse:/bin/false
rtkit:x:111:117:RealtimeKit,,,:/proc:/bin/false
saned:x:112:118::/home/saned:/bin/false
hplip:x:113:7:HPLIP system user,,,:/var/run/hplip:/bin/false
gdm:x:114:120:Gnome Display Manager:/var/lib/gdm:/bin/false
barbis:x:1000:1000:Barbis,,,:/home/barbis:/bin/bash
guest:x:115:123:Guest,,,:/:/bin/bash

i hope this is helpful thanks again

"We Must Be Over The Rainbow"

> Date: Wed, 22 Dec 2010 19:30:51 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 692838] Re: package bind9 1:9.7.0.dfsg....

Read more...

Chuck Short (zulcss)
Changed in bind9 (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Thomas Hood (jdthood) wrote :

From the terminal log:

    useradd: no se puede bloquear /etc/passwd; inténtelo más tarde.
    adduser: `/usr/sbin/useradd -d /var/cache/bind -g bind -s /bin/false -u 116 bind' devolvió el código de error 1. Saliendo.

summary: - package bind9 1:9.7.0.dfsg.P1-1ubuntu0.1 failed to install/upgrade: el
- subproceso script post-installation instalado devolvió el código de
- salida de error 1
+ bind9 failed to configure because adduser couldn't lock /etc/passwd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.