Subject: Re: [vserver] incompatible new vserver guest layout
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Tue, 9 Sep 2008 11:49:39 +0200

On Mon, Sep 08, 2008 at 12:11:12PM +0100, Steve Dommett wrote:
> On Monday 08 September 2008, Eugen Leitl wrote:
> > Has anyone an idea how that could happen? I packed up the old
> > (sarge) vserver guest using tar zcvf. I built a new server using
> When moving VServers between hosts I use tar's --numeric-owner and
> --preserve-permissions flags. 

> If you're not moving between hosts (where the mapping of user/group
> IDs may differ) I doubt this will improve matters for you.

don't forget that the host and guest are very likely
to use different uid/gid mappings, so when doing the
backup on the host, you can easily end up with mangled
uid/gid values too ...

> A quick fix would be to run 'postfix set-permissions' as root from
> within the guest...

only for postfix, but yeah :)

best,
Herbert

> Cheers,
>   Steve.