View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000641 | channel: elrepo/el7 | kmod-nvidia | public | 2016-04-03 14:36 | 2016-04-03 14:36 |
Reporter | pperry | Assigned To | pperry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Summary | 0000641: /sbin/weak-modules: line 174: ...weak-updates/nvidia/nvidia-modeset.ko: Permission denied | ||||
Description | When updating kmod-nvidia-361.42-1.el7.elrepo.x86_64 on RHEL7 I see the following: /sbin/weak-modules: line 174: /tmp/weak-modules.kS9kwa/old_initramfs/./usr/lib/modules/3.10.0-327.10.1.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko: Permission denied /sbin/weak-modules: line 174: /tmp/weak-modules.kS9kwa/old_initramfs/./usr/lib/modules/3.10.0-327.13.1.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko: Permission denied line 174 of weak-modules is: if ! $(compare_initramfs_modules "$old_initramfs" "$tmp_initramfs"); The code compares the modules in the old and new initramfs to determine if it should be updated, and if they are not the same the initramfs is updated. The error above results in the 'if !' statement being true, so the initramfs is updated despite the error: [root@rhel7 ~]# ll /boot/initramfs* -rw-r--r--. 1 root root 40768846 Jun 10 2014 /boot/initramfs-0-rescue-36f66423e76f434b9fb751db322e3cdc.img -rw-r--r--. 1 root root 37204762 Apr 3 20:44 /boot/initramfs-3.10.0-123.el7.x86_64.img -rw-r--r--. 1 root root 16225763 Jun 10 2014 /boot/initramfs-3.10.0-123.el7.x86_64kdump.img -rw-r--r--. 1 root root 37342761 Apr 3 20:45 /boot/initramfs-3.10.0-229.14.1.el7.x86_64.img -rw-r--r--. 1 root root 37344498 Apr 3 20:46 /boot/initramfs-3.10.0-229.el7.x86_64.img -rw-r--r--. 1 root root 44693530 Apr 3 20:47 /boot/initramfs-3.10.0-327.10.1.el7.x86_64.img -rw-r--r--. 1 root root 44685455 Apr 3 20:47 /boot/initramfs-3.10.0-327.13.1.el7.x86_64.img -rw-r--r--. 1 root root 44692876 Apr 3 20:48 /boot/initramfs-3.10.0-327.el7.x86_64.img hence there doesn't appear to be any detrimental effects, but I've yet to figure out why we see the permission denied message. | ||||
Additional Information | # find /lib/modules -name nvidia.ko /lib/modules/3.10.0-327.13.1.el7.x86_64/weak-updates/nvidia/nvidia.ko /lib/modules/3.10.0-327.el7.x86_64/extra/nvidia/nvidia.ko /lib/modules/3.10.0-327.10.1.el7.x86_64/weak-updates/nvidia/nvidia.ko [root@rhel7 ~]# find /lib/modules -name nvidia-modeset.ko /lib/modules/3.10.0-327.13.1.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko /lib/modules/3.10.0-229.14.1.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko /lib/modules/3.10.0-327.el7.x86_64/extra/nvidia/nvidia-modeset.ko /lib/modules/3.10.0-327.10.1.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko /lib/modules/3.10.0-229.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko [root@rhel7 ~]# find /lib/modules -name nvidia-uvm.ko /lib/modules/3.10.0-327.13.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko /lib/modules/3.10.0-229.14.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko /lib/modules/3.10.0-327.el7.x86_64/extra/nvidia/nvidia-uvm.ko /lib/modules/3.10.0-327.10.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko /lib/modules/3.10.0-229.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko /lib/modules/3.10.0-123.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko [root@rhel7 ~]# lsinitrd -k 3.10.0-327.13.1.el7.x86_64 | grep nvidia -rw-r--r-- 1 root root 128 May 23 2014 etc/ld.so.conf.d/nvidia.conf drwxr-xr-x 3 root root 0 Apr 3 20:47 usr/lib64/nvidia -rwxr-xr-x 1 root root 18576 Apr 3 20:47 usr/lib64/nvidia/libEGL.so.1 lrwxrwxrwx 1 root root 11 Apr 3 20:47 usr/lib64/nvidia/libEGL.so -> libEGL.so.1 -rwxr-xr-x 1 root root 818432 Apr 3 20:47 usr/lib64/nvidia/libGLdispatch.so.0 lrwxrwxrwx 1 root root 15 Apr 3 20:47 usr/lib64/nvidia/libGL.so.1 -> libGL.so.361.28 -rwxr-xr-x 1 root root 1259048 Apr 3 20:47 usr/lib64/nvidia/libGL.so.361.28 lrwxrwxrwx 1 root root 15 Apr 3 20:47 usr/lib64/nvidia/libGL.so -> libGL.so.361.28 -rwxr-xr-x 1 root root 27762904 Apr 3 20:47 usr/lib64/nvidia/libnvidia-glcore.so.361.28 -rwxr-xr-x 1 root root 13080 Apr 3 20:47 usr/lib64/nvidia/libnvidia-tls.so.361.28 drwxr-xr-x 2 root root 0 Apr 3 20:47 usr/lib64/nvidia/tls -rwxr-xr-x 1 root root 14480 Apr 3 20:47 usr/lib64/nvidia/tls/libnvidia-tls.so.361.28 drwxr-xr-x 2 root root 0 Apr 3 20:47 usr/lib/modules/3.10.0-327.13.1.el7.x86_64/weak-updates/nvidia lrwxrwxrwx 1 root root 53 Apr 3 20:47 usr/lib/modules/3.10.0-327.13.1.el7.x86_64/weak-updates/nvidia/nvidia.ko -> ../../../3.10.0-327.el7.x86_64/extra/nvidia/nvidia.ko lrwxrwxrwx 1 root root 61 Apr 3 20:47 usr/lib/modules/3.10.0-327.13.1.el7.x86_64/weak-updates/nvidia/nvidia-modeset.ko -> ../../../3.10.0-327.el7.x86_64/extra/nvidia/nvidia-modeset.ko drwxr-xr-x 2 root root 0 Apr 3 20:47 usr/lib/modules/3.10.0-327.el7.x86_64/extra/nvidia -rw-r--r-- 1 root root 19666874 Apr 2 16:19 usr/lib/modules/3.10.0-327.el7.x86_64/extra/nvidia/nvidia.ko -rw-r--r-- 1 root root 1310575 Apr 2 16:19 usr/lib/modules/3.10.0-327.el7.x86_64/extra/nvidia/nvidia-modeset.ko | ||||
Tags | No tags attached. | ||||
Reported upstream | |||||