Paul Newman wrote:
> Hello.
> 
> Our systemimager server root filesystem packed it in and I am having
> trouble getting a fresh install of the os and systemimager to find the
> /var/lib/systemimager images (these are on another drive which is fine).
> 
> apparently uploading, deleting and renaming images scribbles in a file
> (or files) in the /etc/systemimager/rsync_stubs. I don't have a backup
> of this file.
> 
> Is there a tool to regenerate the stubs file(s)? alternately, are there
> any docs on what the stub files look like (so I can recreate it/them)? I
> have looked in all the usual places.
> 
> I have seen a couple of mailing list archive items which suggest that I
> may be looking for something like
> /etc/systemimager/rsync_stubs/40_some_image_name which would suggest
> that there would be a file per image (I have about 25 images in the
> repository).
> 
> If anyone could post a sample I could probably regenerate what I need on
> my own.
> 
> thanks,
> 
> p

Paul,

 You need at least a this file: 10header
#
# "SystemImager"
#
#  $Id: 10header,v 1.3 2004/02/02 21:47:38 brianfinley Exp $
#

########################################################################
#                                                                      #
# WARNING:                                                             #
#   This file is automatically generated by SystemImager, do not edit! #
#   Everything you add directly to this file will be lost the next     #
#   time it is generated.  See "man mkrsyncd_conf" for details on how  #
#   to have local entries added each time this file is generated.      #
#                                                                      #
########################################################################

list = yes
timeout = 600
dont compress = *.gz *.tgz *.zip *.Z *.ZIP *.bz2 *.deb *.rpm *.dbf
uid = root
gid = root
use chroot = yes
log file = /var/log/systemimager/rsyncd
#
# For additional security, modify and uncomment this line.  See
# "man rsyncd.conf" for details.
#
#hosts allow = 127.0.0.0/24 MY_NET/NETMASK MY_CLIENT/32

[boot]
#path = /usr/share/systemimager/boot
path = /data/systemimager/boot

[overrides]
#path = /var/lib/systemimager/overrides
path = /data/systemimager/overrides

[scripts]
path = /data/systemimager/scripts

[torrents]
path = /data/systemimager/torrents


The rest is simple, eg the image lisa_amd64:
root# more 40lisa_amd64
[lisa_amd64]
        path=/data/systemimager/images/lisa_amd64


After creating the files run: /usr/sbin/si_mkrsyncd_conf

Regards
-- 
********************************************************************
*  Bas van der Vlies                    e-mail: [EMAIL PROTECTED]       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to