[Vserver] Re: dist-upgrade problem with breezy

From: Philippe Clérié <pclerie_at_buh.ht>
Date: Wed 05 Jul 2006 - 13:19:54 BST
Message-ID: <e8gapa$sti$1@sea.gmane.org>

Replying to self. Someone else might find this useful.

- Create /etc/vservers/<vserver-name>/bcapabilites
- Add the following line:
  CAP_SYS_ADMIN

The mount should work now.

Question is now should keep that capability?

Philippe

Philippe Clérié wrote:

> I'm trying to dist-upgrade a breezy guest and getting an error when
> upgrading the initscripts package. The error occurs while running the
> postinst script, when it tries this:
>
> mount -n --bind / /.root
>
> The output from that is:
>
> mount: permission denied.
>
> I suspect I need to enable some capability to allow the mount. So far I
> haven't found a clue and I thought I'd ask. What is the minimum capability
> needed for this? And what are the downsides, if any?
>
> Is there any other way?
>
> Thanks in advance
> Philippe
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Jul 5 13:39:34 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 05 Jul 2006 - 13:39:41 BST by hypermail 2.1.8