Metro TroubleShooting

From Funtoo
Revision as of 16:03, 8 January 2012 by Drobbins (Talk | contribs)

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 192.168.3.236: 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