Bug 106449 - resolving symlinks in binary_to_desktop_file can cause issues.
Summary: resolving symlinks in binary_to_desktop_file can cause issues.
Status: NEW
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.1.0
Hardware: Other All
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-09 06:51 UTC by Simon Lees (SUSE)
Modified: 2018-05-09 06:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Lees (SUSE) 2018-05-09 06:51:25 UTC
this is a tough one as it maybe broken either way, but binary_to_desktop_file currently follows symlinks of the binary file passed in, which in the case of firefox on openSUSE ends up pointing to /usr/lib64/firefox.sh, which in turn leads to it searching for "firefox.sh" in the desktop files which is not found. 

The line in question is 
binary="`readlink -f "$binary"`"

maybe this is a bug in firefox's desktop file (exec'ing a symlink rather then the binary) but either way I thought i'd look for a second opinion on which is more right.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.