Bug 2211928

Summary: Nautilus does not launch applications, returns "no application for shared library" error.
Product: Red Hat Enterprise Linux 8 Reporter: Andrew Mike <amike>
Component: fileAssignee: Vincent Mihalkovič <vmihalko>
Status: CLOSED MIGRATED QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 8.8CC: alanm, brclark, casantos, jwright, kdudka, lzaoral, mkielian, mkolbas, oholy, pandrade, sbarcomb, tpelka, tpopela
Target Milestone: rcKeywords: MigratedToJIRA
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-20 23:36:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Mike 2023-06-02 15:52:42 UTC
Description of problem: When attempting to launch applications from Nautilus, Nautilus returns an error.

Version-Release number of selected component (if applicable):
3.28.1-23

How reproducible:100%

Steps to Reproduce:
1. Open Nautilus.
2. Navigate to /usr/bin.
3. Attempt to open the "gedit" application.

Actual results:
Nautilus throws an error: "There is no application available to open 'shared library' files."

Expected results: Application opens.

Additional info:
This issue appears to not exist in GNOME 40 (RHEL 9).

Comment 1 Ondrej Holy 2023-06-05 07:54:36 UTC
Nautilus doesn't offer the "Run" action as the binaries are wrongly detected as "application/x-sharedlib" instead of "application/x-executable". 

$ gio info -a "standard::content-type" /usr/bin/gedit 
uri: file:///usr/bin/gedit
attributes:
  standard::content-type: application/x-sharedlib
$ file --mime-type /usr/bin/gedit
/usr/bin/gedit: application/x-sharedlib

That seems to be a bug in file/libmagic. So this is likely a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1761883.

Comment 2 RHEL Program Management 2023-09-20 23:34:35 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 3 RHEL Program Management 2023-09-20 23:36:02 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.