Bug 244744

Summary: emulators/tpm-emulator: package does not install
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Hiroki Sato <hrs>
Status: New ---    
Severity: Affects Some People CC: ultima
Priority: --- Flags: bugzilla: maintainer-feedback? (hrs)
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry Marakasov freebsd_committer 2020-03-11 21:35:50 UTC
When installing tpm-emulator as a dependency for another packages with pkg:

[2/49] Installing tpm-emulator-0.7.4_2...
===> Creating groups.
Using existing group '_tss'.
===> Creating users
Creating user '_tss' with uid '601'.
pw: user '_tss' disappeared during update
pkg: PRE-INSTALL script failed
Comment 1 Richard Gallamore freebsd_committer 2020-03-12 03:15:25 UTC
I'm not sure why this is occurring, but doing:

pwd_mkdb -p /etc/master.passwd
pwd_mkdb /etc/master.passwd

will fix the issue.