Hi,

On Tue, Apr 19, 2005 at 11:01:33AM +0200, Ola Lundqvist wrote:
>
> > > > -# This is used to keep a cache of the downloaded .deb packges for next 
> > > > install
> > > > -if [ -d "$VROOTDIR/ARCHIVES/$DIST" ]; then
> > > > -    mkdir -p "$VROOTDIR/$VHOST/var/cache/apt/archives"
> > > > -    cp -a "$VROOTDIR/ARCHIVES/$DIST/"*.deb 
> > > > "$VROOTDIR/$VHOST/var/cache/apt/archives" > /dev/null 2>&1
> > > > -fi
> > > 
> > > Why did you remove this?
> > > 
> > 
> > It didn't work any more, for the same reason as above I guess. The
> > directory for the vserver is created before "vserver ... build" is
> > called, so it refuses to run.
> 
> I thought that may be the problem. I just wanted to check if there were
> any other reason for this. I'll put it back and fix util-vserver then.
>

This problem will disappear as soon as you do everything in initpre/initpost
scripts. Do you know what the directory /var/lib/vservers/.pkg is for?

> > > 
> > > ...
> > > 
> > > > -S_CAPS="CAP_NET_RAW"
> > > 
> > > Do you know if this is still the default? I need to know if I should close
> > > yet one more bug with this upload. :)
> > > 
> > 
> > I don't know. I think we should translate the code where
> > vserver-name.conf is created into the new configuration scheme, then
> > we are on the safe side.
> 
> Ahh that is not handled by vserver ... build?
> 

Part of it is handled by vserver-build, e.g. name, interfaces, flags etc.
Capabilities are not (yet?) handled, AFAIKS in the code.

I checked that the CAP_NET_RAW capability is not set by default.

What are your plans next? I may have some time to improve newvserver
further but at least I should know what you are planning to do
yourself. Probably I will not have too much time, but nevermind. At
least I must live with this package the next three years from the
point where sarge is released ;)

regards

        Daniel

-- 
-----------------------------------------------------------------
Daniel Hermann,   Institut fuer Theorie der Kondensierten Materie
Universitaet Karlsruhe                  Tel: ++49 (0)721 608-3588
Postfach 6980                           Fax: ++49 (0)721 608-7779
76128 Karlsruhe, Germany      email: [EMAIL PROTECTED]
-----------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to