Bug 106449 - resolving symlinks in binary_to_desktop_file can cause issues.
Summary: resolving symlinks in binary_to_desktop_file can cause issues.
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:
Depends on:
Reported: 2018-05-09 06:51 UTC by Simon Lees (SUSE)
Modified: 2019-02-16 13:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


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.
Comment 1 GitLab Migration User 2019-02-16 13:39:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/125.

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.