Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140894 - uid->name mapping does not work (missing pwd.db/spwd.db)
Summary: uid->name mapping does not work (missing pwd.db/spwd.db)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 03:32 UTC by Robert A.
Modified: 2006-10-07 10:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert A. 2006-07-18 03:32:52 UTC
there is no /etc/pwd.db and /etc/spwd.db in gentoo-freebsd-6.1-stage-20060509.tar.bz2 . so the uid->username mapping does not work which results in many errors during installation.
"pwd_mkdb /etc/master.passwd" creates the necessary files and fixed the problem for me.


emerge info:
Gentoo Base System version 20060420
Portage 2.1.1_pre3-r1 (default-bsd/fbsd/6.1/x86, gcc-3.4.6, freebsd-lib-6.1-r0, 6.1-RELEASE i386)
=================================================================
System uname: 6.1-RELEASE i386 i386
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.1
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.1"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-gentoo-freebsd6.1"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86-fbsd X cups gdbm gif hardened jpeg ncurses ogg oss pam perl pic png python readline ssl tcpd truetype usb xml xorg xv zlib elibc_FreeBSD input_devices_keyboard input_devices_mouse kernel_FreeBSD userland
_BSD"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert A. 2006-07-18 04:04:11 UTC
arachnist just pointed out that the files are created when emerging freebsd-baselayout... maybe the solution is to emerge freebsd-baselayout earlier (at the very beginning?) within a emerge -e world
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-07 10:19:58 UTC
The new stage fixes this, and the next ones will be fixed, too.