Fwd: [Users] /dev/mem: Permission denied

Dean Gostisa dean.gostisa at gmail.com
Tue Feb 26 09:20:01 EST 2008


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


-- 
Everybody have fun!!!

-- 
Everybody have fun!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20080226/2901f0bf/attachment.html


More information about the Users mailing list