Metro TroubleShooting

From Funtoo
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

if you receive something like:

metro FEATURES variable contains unknown value(s): safetydance metro !!! Directory initialization failed: '/tmp/stage1root/var/lib/portage' metro !!! chmod('/tmp/stage1root/var/lib/portage', 02755)

check /var/log/messages

grsec: From denied chmod +s of /var/tmp/metro/work/server/stage1-64bit-2011.04.05/tmp/stage1root/var/lib/portage by /var/tmp/metro /work/server/stage1-64bit-2011.04.05/usr/bin/python2.6[emerge:1786] uid/euid:0/0 gid/egid:0/0, parent /var/tmp/metro/work/server/stage1-64bit- 2011.04.05/tmp/steps/chroot/run.metro[run.metro:1645] uid/euid:0/0 gid/egid:0/0

and permanetly fix with:

# vi /etc/sysctl.conf add: # enable chmod in chroot kernel.grsecurity.chroot_deny_chmod = 0 sysctl -p