Henrique,

While deploying another cluster, we actually found a corner case with a similar 
issue (the same?) actually appears. I cannot tell for sure that you are facing 
the same problem but i am working on the problem right now. Hopefully that will 
be fixed tomorrow; i will keep you posted.

Regards,

----- Mail Original -----
De: "Henrique Baggio" <[email protected]>
À: "geoffroy vallee" <[email protected]>
Cc: [email protected]
Envoyé: Jeudi 26 Février 2009 18h04:51 GMT -05:00 USA/Canada - États de l'Est
Objet: Re: [Oscar-users] Wizard's Step 7 problem - SSH error


On Thu, Feb 26, 2009 at 12:46 PM, < [email protected] > wrote: 


Henrique, 

Assuming you are using oscar-6.x. 


Yes, I am using the x86_64 stable repo. 



Can you tell me if you have the following file: 
/var/lib/oscar/packages/sync-files/post_rpm_nochroot? 

That is run to update the /etc/passwd and /etc/group files of a given image. 


Yes. It contains: 



#!/bin/bash 
# 
# Copy /etc/{passwd,group,shadow} to /opt/sync_files/templates/image. 
# This is required in order to deal with uid/gid mismatches between 
# different distros and bug #166. 
# 
# $Id: post_rpm_nochroot 5452 2006-10-25 17:53:30Z efocht $ 
# Copyright (c) Erich Focht 2006 


IMAGEDIR=$1 
if [ -z "$IMAGEDIR" -o ! -d "$IMAGEDIR" ]; then 
echo "Image directory doesn't exist!" 
exit 1 
fi 


IBASE=`basename $IMAGEDIR` 


DIR=/opt/sync_files/templates/image/$IBASE 
if [ ! -d $DIR ]; then 
mkdir -p $DIR 
fi 
cp $IMAGEDIR/etc/passwd $IMAGEDIR/etc/group $DIR 
egrep -v '^root:' $IMAGEDIR/etc/shadow > $DIR/shadow 


echo "Created templates for image $IBASE in $DIR" 
echo "Make sure these files do not contain any user accounts." 
echo "Only system account IDs should be included!" 




Regards, 

-- 
Henrique Baggio

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to