/etc/passwd file locked during postinst
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adduser (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
landscape-client (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
habe das Net-book gebraucht gekauft....bin Neueinsteiger von Linux.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: landscape-common 12.05-0ubuntu0.
ProcVersionSign
Uname: Linux 3.2.0-27-generic i686
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
Date: Mon Jul 30 10:07:47 2012
ErrorMessage: ErrorMessage: Unterprozess installiertes post-installati
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: landscape-client
Title: package landscape-common 12.05-0ubuntu0.
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- package landscape-common 12.05-0ubuntu0.12.04 failed to install/upgrade: - ErrorMessage: Unterprozess installiertes post-installation-Skript gab - den Fehlerwert 1 zurück + /etc/passwd file locked during postinst |
The problem seems to be that /etc/passwd was locked, and then system users could not be added: on-Skript gab den Fehlerwert 1 zurück
Log started: 2012-07-30 10:07:33
gdm (3.0.4-0ubuntu15) wird eingerichtet ...
Warnung: Das von Ihnen angegebene Home-Verzeichnis /var/lib/gdm existiert bereits.
Lege Systembenutzer »gdm« (UID 114) an ...
Lege neuen Benutzer »gdm« (UID 114) mit Gruppe »gdm« an ...
useradd: /etc/passwd konnte nicht gesperrt werden; versuchen Sie es später noch einmal.
adduser: »/usr/sbin/useradd -d /var/lib/gdm -g gdm -s /bin/false -u 114 gdm« gab den Fehlercode 1 zurück. Programmende.
dpkg: Fehler beim Bearbeiten von gdm (--configure):
Unterprozess installiertes post-installati
Landscape just happened to be the last package trying, but several failed because of that problem.
I *think* the lock is just /etc/passwd copied to a backup file, like /etc/passwd.lock or something like that. I will mark the bug affecting adduser instead for now.