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


This topic: LinuxSupport > WebHome > LinuxSupportInternals > IncomingUpdateWorkflow > UpdateWorkflowSystemTroubleshooting
Topic revision: r2 - 2007-10-12 - LeszekGrzanka
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback