Replying to self. Someone else might find this useful.
- Create /etc/vservers/<vserver-name>/bcapabilites
- Add the following line:
The mount should work now.
Question is now should keep that capability?
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
> Vserver mailing list
Vserver mailing list
Received on Wed Jul 5 13:39:34 2006