Hi Experts,

I am getting an error while trying to run the pkgorder script ( part of anaconda-runtime rpm ) that tried to populate hte list of rpm's required for installation.

The pkgorder script imports a lot of packages like os, shutils, rpm, sys etc and all of these are successfull includin ghte import of yum package.

But when the pkgorder tries to run "from yuminstall import YumSorter", it gives the following error.

Stack Trace Snippet ::

/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
dm.c: 1565
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/pkgorder", line 32, in ?
from yuminstall import YumSorter
File "/usr/lib/anaconda/yuminstall.py", line 31, in ?
from packages import recreateInitrd
File "/usr/lib/anaconda/packages.py", line 19, in ?
import iutil
File "/usr/lib/anaconda/iutil.py", line 16, in ?
import os, isys, string, stat
File "/usr/lib/anaconda/isys.py", line 32, in ?
import block
File "/usr/lib64/python2.4/site-packages/block/__init__.py", line 6, in ?
File "/usr/lib64/python2.4/site-packages/block/device.py", line 190, in ?
File "/usr/lib64/python2.4/site-packages/block/device.py", line 195, in MPNameCache

Please let me know what is going wrong and the reason why we get such errors, so that i can follow your leads and pursue the resolution for the issue.


That first line there seems like a good clue. change the permissions of /dev/map/control to 755 and see what happens. Try 777 if 755 doesnt work.