OpenVZ Forum


Home » Mailing lists » Users » Fwd: /dev/mem: Permission denied
Fwd: /dev/mem: Permission denied [message #27761] Tue, 26 February 2008 14:20
Dean Gostisa is currently offline  Dean Gostisa
Messages: 5
Registered: February 2008
Junior Member
Um problem remains:
I set:
vzctl set 104 --devnodes mem:rw --save
And restarted VE, then i checked dev nodes in VE:
Doktor:/# ls -l /dev/mem
crwxrwxrwx 1 root news 1, 1 Apr 24  2007 /dev/mem

But when i try to install still get same problem:
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

Any other idea?



2008/2/26, Pavel Emelyanov <xemul@openvz.org>:
>
> 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
> >
> >
> >
>
> > ------------------------------------------------------------------------
> >
-- 
Everybody have fun!!!

-- 
Everybody have fun!!!
Previous Topic: /dev/mem: Permission denied
Next Topic: Log to console.
Goto Forum:
  


Current Time: Wed Aug 14 17:17:51 GMT 2024

Total time taken to generate the page: 0.02800 seconds