Bug 212605 - pw(8) returns "pw: user 'foobar' disappeared during update"
Summary: pw(8) returns "pw: user 'foobar' disappeared during update"
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2016-09-12 13:36 UTC by Ben Lavery-Griffiths
Modified: 2017-05-23 15:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Lavery-Griffiths 2016-09-12 13:36:16 UTC
After upgrading from 10.3 to 11-RC2 (note, this was not shown in the Version list, so selected 11-STABLE) I cannot add new users without getting this message:

 # pw user add foobar
 pw: user 'foobar' disappeared during update


After using vipw(8) to remove the entry, all subsequent attempts to add *any* user succeed.

This issue initially stopped me from being able to install packages that added users.  For example, I got the following message when trying to install audio/firefly:

 ===> Creating groups.
 Creating group 'daapd' with gid '337'.
 ===> Creating users
 Creating user 'daapd' with uid '337'.
 pw: user 'daapd' disappeared during update
 pkg: PRE-INSTALL script failed
Comment 1 Ben Lavery-Griffiths 2016-09-12 13:37:05 UTC
This seems similar to bug #183429
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2017-05-20 21:49:00 UTC
Is this bug still relevant?