About this list Date view Thread view Subject view Author view Attachment view

From: Christophe DUBREUIL (Christophe.dubreuil_at_ac-orleans-tours.fr)
Date: Wed 14 Apr 2004 - 09:32:52 BST


Le mercredi 14 Avril 2004 03:53, Herbert Poetzl a écrit :
> On Tue, Apr 13, 2004 at 06:13:13PM +0200, Christophe DUBREUIL wrote:
> > Hi,
> > I have the following problem with DansGuardian :
> > - When I trie to run it in a Debian woody Vserver,
> > it don't start, and exit with this error message :
> >
> > "Error binding ipc server file (try using the SysV
> > to stop DansGuardian then try starting it again or
> > doing an 'rm /tmp/.dguardianipc').
> > Exiting with error"
I find the solution :
        Dansgardian need to write to /tmp in the vserver. By default, in my
vserver, /tmp have the following right :

drwxr-xr-t 2 root root 4096 Mar 18 16:17 tmp

I modify them to :
drwxrwxrwt 2 root root 4096 Mar 18 16:17 tmp

and dansguardian work now quite well .

This change of rigth resolve an other problem i add with postgressql (it can't
install).

Please excuse for my poor English, it's not my native language.

>
> okay this for sure isn't the usual system error
> message, but a specific 'DansGuardian' (whatever
> that might be) error message ...
>
> > - When I do the same think on a "real" debian woody,
> > all works fine.
>
> well, please define _same_ here, does it mean:
>
> a) execute the runlevel script
> b) have the same environment/setup/files/libs
> c) start the vserver as chroot?
>
> > I think the problem is a CAP problem, so I try to
> > start the Vserver with all CAPS in the config file.
> > (30 CAPS , it's a "SUPER-VSERVER" :-) )
>
> did you verify, that your changes actually added
> the specified CAPs? why not try with a chroot()
> first, then with a 'chcontext chroot' and if both
> works, with a chcontext --secure chroot?
>
> > The Vserver still work, but DansGuardian don't.
> >
> > It's not a DansGuardian config problem, i don't think
> > it's a dansguadian bug.
>
> what makes you 'think' that this is so?
>
> > Any idea ?
>
> use strace (preferable >= 4.5), make a trace of
> the 'failing' process on the host, and inside the
> vserver ...
>
> > kernel 2.4.25
> > Vserver 0.29
>
> what kernel patch, what tools? in case of doubt,
> please use the following script to identify ..
>
> http://vserver.13thfloor.at/Stuff/testme.sh
>
> HTH,
> Herbert
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 14 Apr 2004 - 09:34:53 BST by hypermail 2.1.3