Henrique,

I just put a new set of binary packages (both Debian and RPM) that is supposed 
to fix a critical bug we found when creating images.

You have two solutions:
1/ switch to the "unstable" repository and give it a try,
2/ wait few days, the time for us to test my modification and release 
oscar-6.0.2.

Let me know if you need any help.

Regards,


----- Mail Original -----
De: "Henrique Baggio" <hnrqbag...@gmail.com>
À: "geoffroy vallee" <geoffroy.val...@free.fr>
Cc: oscar-users@lists.sourceforge.net
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, < geoffroy.val...@free.fr > 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
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to