I'm using Debian, so:

My clients have /var/account/* in their
/etc/systemimager/updateclient.exclude.

I have a small wrapper script around si_getimage that feeds it an
exclude file (/etc/systemimager/getimage.exclude), which would have
/var/account/* in it (so the upload doesn't have the acct files from the
golden master).

To create the new pacct file, I'd just modify /etc/init.d/acct to create
the zero-length file at start time, but accton may do this correctly;
I'm not sure.

Hope that helps,

M

Andrew D. Fant said on Wed, Jul 06, 2005 at 06:17:13PM -0400:
> Evening all,
>     Does anyone else out there have process accounting running on
> systems being imaged by systemimager?  I'm trying to work out all the
> settings that need to be configured to make sure that the
> golden-client's pacct file doesn't step on the one on other clients when
> I push out updates.  Ideally, the logic I would like to see happen is:
> 
> Ignore all existing pacct files on an incremental update. Don't use the
> pacct file on the golden client for the master image.  If imaging from
> scratch or /var/acct/pacct doesn't exist, create a zero-length file and
> leave it at this.
> 
> has anyone configured something like this before that they can share, or
> does anyone have a hint about the easiest way to implement it?
> 
> Thanks,
>       Andy
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users

Attachment: signature.asc
Description: Digital signature

Reply via email to