https://bugzilla.redhat.com/show_bug.cgi?id=1677932
Bug ID: 1677932 Summary: /sbin/modinfo throws permission denied error [ missing u+s bits in permission after installation ] : resulting in failure to launch vmware workstation. Product: Fedora Version: 28 Hardware: All OS: Linux Status: NEW Component: kmod Severity: medium Assignee: kmod-maint@lists.fedoraproject.org Reporter: anand312@rediffmail.com QA Contact: extras-qa@fedoraproject.org CC: jonathan@jonmasters.org, kmod-maint@lists.fedoraproject.org, skozina@redhat.com, ykaliuta@redhat.com Target Milestone: --- Classification: Fedora
Description of problem: ############################
- Last week upgraded to the latest kernel update from Fedora 28 DNF repository. - My versions are below. a) 4.20.8-100.fc28.x86_64 [ kernel ] b) kmod-25-2.fc28.x86_64 [ kmod kernel modules package ]
Version-Release number of selected component (if applicable): ################################################################# Fedora 28 and above are relevant versions.
How reproducible: ############################ Take a Fedora 28 system that has kernel and kmod older than the above versions and do a dnf update on them to get latest packages.
Steps to Reproduce: ############################ 1. As a non root user run this on any linux kernel module /sbin/modinfo vmmon [ or any other kernel module that suits you ]
2. You get permission deined error. This stops all users from running the vmware products GUI [ particularly vmware workstation ].
3. I had to do the below to fix this : sudo chmod u+s /sbin/modinfo then it started to provide module info for non root users and started working fine.
Actual results: ############################ - The reason i am flagging this is so that these permissions can be applied which rpm package is getting installed itself [ so expect to see this fix in the installer post script ? ]. Also before this i have done atleast 2-3 upgrades of kernel and kmod without any issues post upgrade so i am not sure if it is specific issue to this version of kmod only [ kmod-25-2.fc28.x86_64 ]
Expected results: ############################ Expect end users [ non root ] to be able to get kernel module info via /sbin/modinfo
Additional info: ############################ You can directly contact me at : anand312@rediffmail.com / anand.kulkarni.sg@gmail.com for more information if you need anything else from me.
https://bugzilla.redhat.com/show_bug.cgi?id=1677932
--- Comment #1 from Anand anand312@rediffmail.com --- Created attachment 1535596 --> https://bugzilla.redhat.com/attachment.cgi?id=1535596&action=edit Details of the steps of investigation and troubleshooting
https://bugzilla.redhat.com/show_bug.cgi?id=1677932
Yauheni Kaliuta ykaliuta@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2019-02-18 13:12:37
--- Comment #2 from Yauheni Kaliuta ykaliuta@redhat.com --- I do not see any reason for SUID bit on kmod. The module must be readable.
Moreover, works fine for me (on F29):
% modinfo -k 4.20.8-200.fc29.x86_64 vfat filename: /lib/modules/4.20.8-200.fc29.x86_64/kernel/fs/fat/vfat.ko.xz author: Gordon Chaffee description: VFAT filesystem support
kmod-maint@lists.fedoraproject.org