[Users] /dev/mem: Permission denied

Pavel Emelyanov xemul at openvz.org
Tue Feb 26 05:53:42 EST 2008


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
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users



More information about the Users mailing list