[...] >>> /etc/skel/.bashrc >>> /etc/skel/.bash_profile --- /mnt/ >>> /mnt/.keep --- /mnt/floppy/ >>> /mnt/floppy/.keep --- /mnt/cdrom/ >>> /mnt/cdrom/.keep --- /dev/ --- /dev/pts/ !!! copy /var/tmp/portage/baselayout-1.8.6.13-r1/image/dev/pts/.keep -> /dev/pts/.keep failed. !!! [Errno 13] Permission denied: '/dev/pts/.keep#new' Reproducible: Always Steps to Reproduce: 1. emerge baselayout 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 mobile AMD Athlon(tm) 4 Processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi acpi4linux alsa apache2 avi berkdb cdr crypt cscope curl dga dvd esd fbcon foomaticdb gd gif gpm gtk gtk2 imap imlib innodb java jpeg libwww mbox mmx mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib plotutils png pnp quicktime readline samba sdl slang socks5 spell sse ssl svga tcpd tetex tiff truetype usb wavelan x86 xv zlib"
*** This bug has been marked as a duplicate of 9849 ***
Well, I do not know what to do anymore. I have now gone and created keepdir_mount, which should detect if whatever is a mounted dir or not, and then create it or not in ${D}, went and added a list for all those to add in pkg_postinst() if they do not exist, but still I get bug reports. And guess what - its a portage issue. Portage should check if a dir is mounted or not, rw or not, and then act, else it creates this issue I am now in, and also the biggest reason why baselayout cannot be a .tbz2 ... as it have missing dirs if build on a devfs system, and then installed on a non-devfs system for example; missing CONTENTS, etc.