On Fri, Jan 27, 2006 at 10:37:16PM +0100, jmp wrote:
> Bonsoir,
> 
> I try to understand how file tagging is working.
> I 've mount a vserver file system with tagxid
> If I create a link ( for instance with chkconfig --level 345 syslog-ng 
> on ), I can see with lxid that
> links were created with xid tag
> lsxid /vservers/vetab/etc/rc3.d/S12syslog-ng
> 
>               vetab  /vservers/vetab/etc/rc3.d/S12syslog-ng
> 
> but if I restart the vserver
>                                      
> lsxid /vservers/vetab/etc/rc3.d/S12syslog-ng
>               49181  /vservers/vetab/etc/rc3.d/S12syslog-ng
> 
> The link  vanished  for the vserver....
> I suppose context has changed while I restarted the vserver.
> 
> How can I have  a static context number between two stop and start ?

simple, don't use dynamic contexts :)

i.e. specify a --context on guest creation or add
the context id in the config tree /etc/vservers/<name>/context

valid context ids range from 2 to 49151 for now

HTH,
Herbert

> Nb  kernel 2.6.15-vs2.1.0.3 #1 SMP on fedora core 4.
> 
> thanks
> 
> 
> _______________________________________________
> Vserver mailing list
> [email protected]
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to