AW: [Users] [PATCH] vzctl - vps_save_config

Robert Heinzmann Robert.Heinzmann at 1und1.de
Wed Nov 4 04:01:08 EST 2009


Aehm, 

and what about multiple symlinks ? 

a --> b ---> c 

>From my reading the code just handles 1 Symlink. 

Once fixing this, a while (readlink) ... with maxdepth or test for existance would be great.

Robert

 

> -----Ursprüngliche Nachricht-----
> Von: users-bounces at openvz.org 
> [mailto:users-bounces at openvz.org] Im Auftrag von Philipp Wehrheim
> Gesendet: Mittwoch, 4. November 2009 08:55
> An: users at openvz.org
> Betreff: [Users] [PATCH] vzctl - vps_save_config
> 
> Hey,
> 
> the attached patch fixes an issue where vzctl overwrites the 
> symlink to CTs config.
> 
> In my setup the CT config is stored in 
> /vz/ve/<CTID>/<CTID>.conf and linked back to 
> /etc/vz/conf/<CTID>.conf .If I make changes to the CTs config 
> via "vzctl set ..." the link is overwritten by vzctl on writeback.
> 
> Please consider applying.
> 



More information about the Users mailing list