[DragonFlyBSD - Bug #3332] Failure when installing world in 6.2

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Jan 25 14:13:48 PST 2023


Issue #3332 has been updated by geobarrod.


ERRATA: when the '/usr/src/etc/../tools/pw-update.sh' script doesn't find the 'toor' account, it tries to add it and throws the error because a user with uid '0' (root) already exists, so the 'pw' command detects that the uid '0' has already been allocated and therefore the creation of the 'toor' account fails. I reiterate, the simple solution is to modify the '/usr/src/etc/../tools/pw-update.sh' script or modify the 'pw' command to allow the creation of another account with uid '0'

----------------------------------------
Bug #3332: Failure when installing world in 6.2
http://bugs.dragonflybsd.org/issues/3332#change-14490

* Author: tuxillo
* Status: In Progress
* Priority: Normal
* Assignee: tuxillo
* Category: Build
* Target version: 6.4
* Start date: 2022-11-15
----------------------------------------
As reported by Geovani B.R. via email, there seems to be a problem when installing world in 6.2:

<pre>
--------------------------------------------------------------
>>> complete building rescue and initrd
--------------------------------------------------------------
--- _bwdone ---
--------------------------------------------------------------
>>> buildworld target complete
--------------------------------------------------------------
sh /usr/src/etc/../tools/pw-update.sh  -d /etc  -g /usr/src/etc/group  -p /usr/src/etc/master.passwd
===> Adding new users ...
  * toor: 0, 0, Bourne-again Superuser, /root,  
pw: uid `0' has already been allocated
*** [preinstall] Error code 65
make[3]: stopped in /usr/src/etc
1 error
make[3]: stopped in /usr/src/etc
*** [preinstall] Error code 2
make[2]: stopped in /usr/src
1 error
make[2]: stopped in /usr/src
</pre>

Need to find out how this can be reproduced.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list