Re: [Vserver] mknod error in vserver

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Tue 10 Apr 2007 - 18:53:21 BST
Message-ID: <461BCF11.1080405@hozac.com>

Alejandro Cabrera Obed wrote:
> Dear all, I have a vserver in Debian Etch (kernel 2.6.18-4-vserver-686)
> and I've tried to install Asterisk 1.2 from apt. After I execute
> "apt-get install asterisk" I get this error:
>
> Setting up zaptel (1.2.11.dfsg-1) ...
> mknod: `/dev/zap/ctl': Operation not permitted
> dpkg: error processing zaptel (--configure):
> subprocess post-installation script returned error exit statu
>
> If I install the zaptel package alone I have the same error....maybe I
> cannot create such devices in the vserver technology.
>
> Why can't I make this device ???

Because you're in a guest. If a guest was allowed to create device nodes
as it saw fit, it would be no problem at all to escape from the guest,
overwrite files, etc.

> Another question: do you recommnend to install Asterisk without vserver
> instead ???

Simply pre-creating the device from the host should do the trick, IMHO.

-- 
Daniel Hokka Zakrisson
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Apr 10 19:14:52 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 10 Apr 2007 - 19:14:56 BST by hypermail 2.1.8