Troubleshooting
Problem with creating chroots on IA64
There is a problem with creating chroots on IA64, selinux will ask for security context when running command:
/usr/sbin/mock-helper chroot /var/lib/mock/slc-4-ia64-core-01/root /bin/su - root -c "/usr/sbin/useradd -m -u 32267 -d /builddir builder"
After disabling selinux (
/etc/selinux/config
) everything works well.
Refresh builder list
Refresh builder list (using client script), should be done when some builder died:
./client.py update_builders
./client.py list_builders
Chroot update
There is script
/afs/cern.ch/project/linux/dev/newbuildsys/update.sh
for updating chroots. It call remotely (via ssh) command "mock-helper yum --installroot ... update" on all chroots on all builders.
In case of problems you can log in via ssh to machine and call:
cd /build/slcb
mock shell -r slc-4-x86_64-core.cfg --configdir=. --no-clean --uniqueext=01
yum -y update
or
yum --installroot /var/lib/mock/slc-4-x86_64-core-01/root -y update
--
LeszekGrzanka - 12 Oct 2007