Permission denied during rpm installation
Deepak Shrestha
d88pak at gmail.com
Fri Jul 28 16:34:23 UTC 2006
> The problem appears to be depmod trying to unlink (delete) a file of
> context type modules_object_t. I can't see any need for it to delete
> anything that's actually a kernel module, so perhaps you have a
> labelling problem?
>
> Can you post the output of the following commands:
>
> $ ls -lZ /lib/modules//2.6.17-1.2157_FC5
>
> $ rpm -q --scripts kernel-module-ntfs-2.6.17-1.2157_FC5
>
> Paul.
Ok
output of
$ ls -lZ /lib/modules//2.6.17-1.2157_FC5
============
lrwxrwxrwx root root system_u:object_r:modules_object_t build ->
../../../usr/src/kernels/2.6.17-1.2157_FC5-i686
drwxr-xr-x root root system_u:object_r:modules_object_t extra
drwxr-xr-x root root system_u:object_r:modules_object_t kernel
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.alias
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.ccwmap
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.dep
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.ieee1394map
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.inputmap
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.isapnpmap
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.ofmap
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.pcimap
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.seriomap
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.symbols
-rw-r--r-- root root user_u:object_r:modules_dep_t modules.usbmap
lrwxrwxrwx root root system_u:object_r:modules_object_t source -> build
drwxr-xr-x root root system_u:object_r:modules_object_t updates
==============
and output of
$ rpm -q --scripts kernel-module-ntfs-2.6.17-1.2157_FC5
==============
preinstall program: /bin/sh
postinstall scriptlet (using /bin/sh):
if [ -f /boot/System.map-2.6.17-1.2157_FC5 ]; then
/sbin/depmod -a -F /boot/System.map-2.6.17-1.2157_FC5
2.6.17-1.2157_FC5 || :
else
/sbin/depmod -a || :
fi
postuninstall scriptlet (using /bin/sh):
if [ -f /boot/System.map-2.6.17-1.2157_FC5 ]; then
/sbin/depmod -a -F /boot/System.map-2.6.17-1.2157_FC5
2.6.17-1.2157_FC5 || :
else
/sbin/depmod -a || :
fi
======================
More information about the users
mailing list