On Thu, Apr 15, 2004 at 01:12:02PM +0200, Lennart Petersson wrote:
> Having a vserver stable debian and on that one trying to install gforge. At one 
> point following is trying to be done:
> 
> # Create devices files
> [ -c $CHROOTDIR/dev/null ] || mknod $CHROOTDIR/dev/null c 1 3
> [ -c $CHROOTDIR/dev/urandom ] || mknod $CHROOTDIR/dev/urandom c 1 9
> [ -c $CHROOTDIR/dev/console ] || mknod $CHROOTDIR/dev/console c 5 1
> 
> And that is not working... Operation is not permitted.
> 
> Any idea of what to do!?

best would be to remove those commands ;)

as they do not make much sense in an install
procedure, because either the devices exist,
or it doesn't make sense to have them ...

another option would be to grant CAP_MKNOD
for that vserver, which immediatly voids
security for that specific vserver, so you
should be careful with that ...

best,
Herbert

> Thanks,
> /L
> _______________________________________________
> 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