Kenneth Jacker a écrit :
>   bh> Did you check to make sure there were no --exclude lines hiding
>   bh> anywhere?  /etc/systemimager/updateclient-local.exclude comes to
>   bh> mind, but that's for the client, not getimage.  Is there a
>   bh> similar file that applies to getimage?
> 
> I think you're on to something here!
> 
> I checked the 'rsync' command with 'ps' and see the following:
> 
>    --exclude-from=/tmp/.exclude.20050217
> 
> And here is what "/tmp/.exclude.20050217" contains:
> 
>    # Automatic exclusions made by SystemImager.
>    /proc/*
>    /sys/*
>    /dev/pts/*
>    /dev/shm/*
>    /proc/bus/usb/*
>    /.dev/*
>    /dev/*
>    /home/*
>    /usr/local/*
> 
> 
> Why are /dev and /.dev being excluded? How can I get those dirs
> included in the "golden client image"?
> 

In fact, getimage parse the golden file
/etc/systemimager/mounted_filesystems to exclude some directories and
make the exclusion file /tmp/.exclude.${IMAGENAME} on image server.

I use systemimager 3.2.3 under Debian with udev and a 2.6 kernel.
"getimage" worked great with udev 0.4X. But with udev 0.56, /dev
partition appears in the mounted_filesystems so it is exclude
automaticaly by getimage.

To correct this problem, I have modified "getimage" but if anyone has a
better idea it is good for me.

diff getimage.original getimage.modified
364a365
>     @mounted_filesystems = grep (!/\s+tmpfs\s+/, mounted_filesystems);

So all tmpfs filesystems are not exclude and /dev is copied to server.


Best regards.
-- 
Sébastien Bonnegent
-
Administrateur système et réseau
INSA de Rouen - département ASI
(Architecture des Systèmes d'Information)
Tel: 02 32 95 98 61 / Fax: 02 32 95 97 08
Bureau 800B-34 (SER) / GnuPG: 0xD51577F4
http://asi.insa-rouen.fr


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to