OpenVZ Forum


Home » Mailing lists » Users » /dev/mem: Permission denied
Re: /dev/mem: Permission denied [message #27755 is a reply to message #27738] Tue, 26 February 2008 10:53 Go to previous messageGo to previous message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
Dean Gostisa wrote:
> Hi,
> 
> I have problem, i have created openvz Gentoo Server, and create Debian VM on
> it, but when installing some packages like this i get:
> apt-get --reinstall install xfonts-base
> Reading package lists... Done
> Building dependency tree... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
> upgraded.
> Need to get 0B/6131kB of archives.
> After unpacking 0B of additional disk space will be used.
> Do you want to continue [Y/n]? y
> (Reading database ... 20054 files and directories currently installed.)
> Preparing to replace xfonts-base 1:1.0.0-4 (using
> .../xfonts-base_1%3a1.0.0-4_all.deb) ...
> /dev/mem: Permission denied
> Unpacking replacement xfonts-base ...
> /dev/mem: Permission denied
> warning: /usr/lib/X11/fonts/misc does not exist or is not a directory
> warning: /usr/lib/X11/fonts/misc does not exist or is not a directory
> Setting up xfonts-base (1.0.0-4) ...
> /dev/mem: Permission denied
> warning: /usr/lib/X11/fonts/misc does not exist or is not a directory
> warning: /usr/lib/X11/fonts/misc does not exist or is not a directory
> 
> Do you have any idea why?

Yup - you should give the device permissions to /dev/mem for this VE.
Read man on vzctl for --devnodes option.

> Thank you for your help,
> Dean
> 
> 
> 
> ------------------------------------------------------------------------
>
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Log to console.
Next Topic: Debian openvz kernel package security update policy ?
Goto Forum:
  


Current Time: Wed Aug 14 19:18:47 GMT 2024

Total time taken to generate the page: 0.02740 seconds