logo       

Re: Where to find vproc?: msg#00147

linux.vserver

Subject: Re: Where to find vproc?

On Di, 2004-08-17 at 21:14, Ola Lundqvist wrote:
> On Tue, Aug 17, 2004 at 06:35:06PM +0200, Herbert Poetzl wrote:
> > On Tue, Aug 17, 2004 at 04:58:38PM +0200, Bjoern Steinbrink wrote:
> > > On Di, 2004-08-17 at 14:37, Ola Lundqvist wrote:
> > > > Hello
> > > >
> > > > I have got a request to include vproc into util-vserver.
> > > >
> > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=258038
> > > >
> > > > Where can I find that tool, and do you think it will work with
> > > > the stable release of util-vserver?
> > >
> > > Will work with stable util-vserver (they don't interact in any way
> > > anyways), but some switches may work in an unexpected way on vserver
> > > 1.9.x since the logic behind the flags changed, see [1].
> > >
> > > Maybe you could enhance the tool to recognize the kernel version and use
> > > flags accordingly, or simply backport setattr from the alpha branch?
> > > (IIRC setattr allows to set the flags directly, so it should work for
> > > both, old and new flag logic).
> >
> > yes, setattr would be the better way to go, as the
> > vproc utility was just a quick and dirty hack as
> > all my userspace tools ;)
>
> So you say that setattr (that is already included) is better than
> vproc?

Ah, i forgot to mention that the version of setattr included with the
stable tools does not allow to change the flags for proc entries, just
the flags needed for unification. That's why i said you should backport
setattr from the unstable branch.
Sorry for any confusion I caused.

HTH
Bjoern

_______________________________________________
Vserver mailing list
Vserver@xxxxxxxxxxxxxxxxxxxxxx
http://list.linux-vserver.org/mailman/listinfo/vserver



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise