Re: [vserver] util-vserver: no symlink-to-symlink works now

From: Raoul Bhatia [IPAX] <r.bhatia_at_ipax.at>
Date: Mon 21 Jan 2008 - 10:02:43 GMT
Message-Id: <1200909763.5796.3.camel@localhost>

On Sun, 2008-01-20 at 19:05 +0600, Anton Fedorov wrote:
> I have splitted FS, so /var/lib/vservers/ are just collection of
> real symlinks.
>
> On 0.3.209 (afair) it was fine...
> Have upgraded today to 0.3.214, and now vserver fails to start:
>
> so, while /etc/vservers/corazon/vdir=>/etc/vservers/.defaults/vdirbase/corazon,

*snip*
                                                                                                 
> /usr/lib/util-vserver/vserver.functions: line 693: pushd: /etc/vservers/corazon/vdir: No such file or directory
>
>
> Failed to start vserver 'corazon'
>
> After change to
> /etc/vservers/corazon/vdir=>/var/lib/vservers3/corazon
> it starts fine...

most probably the update messed up /etc/vservers/.defaults/vdirbase/

this happened to me too when i upgraded util-vserver on debian sarge to
version 0.30.214-5~bpo40+2 (backports)

i ended up in directly linking /etc/vservers/<name>/vdir to the final
location and not using multiple layers of symlinks :) e.g.

  cd /etc/vservers/debian; rm vdir; ln -s /mnt/vservers/debian vdir

cheers,
raoul

-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia@ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office@ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
Received on Mon Jan 21 10:03:11 2008
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 21 Jan 2008 - 10:03:24 GMT by hypermail 2.1.8