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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon Jan 9 12:25:58 PST 2023


Issue #3332 has been updated by daftaupe.


Re-reading this whole thing, I don't really understand the role of that user called toor. Is there any use for it ? It has no shell associated actually.

Running grep through our codebase returns :
<pre><code class="shell">
/usr/src % grep -r "toor" *
etc/periodic/security/300.chkuid0:	sed -e '/^root 0$/d' -e '/^toor 0$/d' |
etc/master.passwd:toor:*:0:0::0:0:Bourne-again Superuser:/root:
etc/mail/aliases:toor:	root
etc/ftpusers:toor
lib/libc/gen/pwcache.c:	if (strcmp(name, "toor") == 0) {
[some non-interesting junk being returned]
</code></pre>

I guess if one doesn't want it, he might just delete it and building stuff should still work.

I'll try to build/install world once that user is deleted, let's see how that goes.

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

* 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