From 7983748b45e18eaae2c0626bca97bfcc9cd59bcd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 29 Apr 2014 14:59:23 -0400 Subject: [PATCH] Fix UpdateExpress under genesis Newer versions would experience a hard failure if the embedded CIM implementation cannot start. strace revealed that said process was failing because /var/tmp did not exist --- xCAT-genesis-builder/xcat-cmdline.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-genesis-builder/xcat-cmdline.sh b/xCAT-genesis-builder/xcat-cmdline.sh index c0ce5b519..0b60f30d9 100644 --- a/xCAT-genesis-builder/xcat-cmdline.sh +++ b/xCAT-genesis-builder/xcat-cmdline.sh @@ -5,6 +5,7 @@ clear echo PS1="'"'[xCAT Genesis running on \H \w]\$ '"'" > /.bashrc echo PS1="'"'[xCAT Genesis running on \H \w]\$ '"'" > /.bash_profile mkdir -p /etc/ssh +mkdir -p /var/tmp/ mkdir -p /var/empty/sshd echo root:x:0:0::/:/bin/bash >> /etc/passwd echo sshd:x:30:30:SSH User:/var/empty/sshd:/sbin/nologin >> /etc/passwd