useradd reports consistent password files

Bug #264235 reported by anilg
2
Affects Status Importance Assigned to Milestone
Nexenta Operating System
New
High
Unassigned

Bug Description

I built mysql, and tried to install it..
dpkg -i mysql-server_5.0.51a-3nexenta6_all.deb

This brings up a text based interface asking for a root password and then fails with
UX: /usr/sbin/useradd: ERROR: Inconsistent password files. See pwconv(1M).
adduser: `/usr/sbin/useradd -d /var/lib/mysql -g mysql -s /bin/false -u 100 mysql' returned error code 5. Exiting.
dpkg: error processing mysql-server-5.0_5.0.51a-3nexenta6_solaris-i386.deb (--install):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.0_5.0.51a-3nexenta6_solaris-i386.deb

A similar report for useradd was reported before at https://bugs.launchpad.net/nexenta/+bug/186810

what would the workaround be for now?

Note: the original reporter indicated the bug was in package 'mysql'; however, that package was not published in Nexenta Operating System.

Revision history for this message
anilg (anil-verve) wrote :

Additionally, running
pwconv followed by apt-get -f install fixes the issue. So looks like theres something wrong with the way /etc/passwd or /etc/shadow is formatted

Revision history for this message
Ben Klang (bklang) wrote :

This appears to be fixed in mysql-server_5.0.51a-3nexenta7. Can you confirm or recreate the issue with the latest version of the package?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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