I'm trying to use the recent app-emulation/x86-chroot ebuild (it installs without problems), but when i start the init script it seems to fail: * Mounting 32bits chroot dirs to /opt/x86-chroot ... mount: il mount point /opt/x86-chroot/usr/portage non esiste mount: il mount point /opt/x86-chroot/usr/portage/distfiles non esiste * An error occured while attempting to mount 32bit chroot directories [ !! ] * Copying 32bits chroot files ... * An error occured while attempting to copy 32 bits chroot files. [ !! ] For the first error i've created the missing directory /opt/x86-chroot/usr/portage, but for the 2nd error the resolution is harder. I've edited the init script, removing the output to /dev/null and adding "-v" parameter to "cp" commands. This is the result: # /etc/init.d/x86-chroot start * Mounting 32bits chroot dirs to /opt/x86-chroot ... [ ok ] * Copying 32bits chroot files ... `/etc/resolv.conf' -> `/opt/x86-chroot/etc/resolv.conf' `/etc/passwd' -> `/opt/x86-chroot/etc/passwd' `/etc/shadow' -> `/opt/x86-chroot/etc/shadow' `/etc/hosts' -> `/opt/x86-chroot/etc/hosts' `/opt/x86-chroot/etc/localtime' rimosso `/etc/localtime' -> `/opt/x86-chroot/etc/localtime' xhost: unable to open display "" * An error occured while attempting to copy 32 bits chroot files. [ !! ] `/etc/group' -> `/opt/x86-chroot/etc/group' `/etc/gshadow' -> `/opt/x86-chroot/etc/gshadow But if i run from the shell (as root, and inside a X terminal like Konsole) # xhost local:localhost it runs without errors. The same issue occurs (as root and as normal user) if i run this command in the textual shell (Alt+F1 + login)
what is "rimosso"?
Ooops, my system is localized in Italian language :P rimosso = removed By the way, i suggest to remove the "which xhost &>/dev/null && xhost local:localhost &>/dev/null" command from the init script, and add it to the executable script /usr/bin/x86-chroot, that becomes #!/bin/bash "which xhost &>/dev/null && xhost local:localhost &>/dev/null" source /etc/conf.d/x86-chroot linux32 chroot ${CHROOT_LOCATION} /bin/bash
(In reply to comment #2) > > #!/bin/bash > "which xhost &>/dev/null && xhost local:localhost &>/dev/null" > source /etc/conf.d/x86-chroot > linux32 chroot ${CHROOT_LOCATION} /bin/bash > Without the double quote, obviously... :\
Yeah, i just did that, along with some other minor things. Thanks!