Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Since it's compulsory for all packaged to have gating tests, several files are not passing desktop-file-validate check with errors. Tests are inspired by gating tests for gnome-menus, therefore I hope it also applies fot the redhat-menus that the files should pass the desktop-file-validate check.
Version-Release number of selected component (if applicable):
redhat-menus-12.0.2-12.el8.noarch
How reproducible:
always
Steps to Reproduce:
for file in ${rpm -ql | grep .directory}
desktop-file-validate $file
Actual results:
desktop-file-validate /usr/share/desktop-directories/Advanced-More.directory
/usr/share/desktop-directories/Advanced-More.directory: error: (will be fatal in the future): value "advanced-directory.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/desktop-directories/Advanced-More.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated
desktop-file-validate /usr/share/desktop-directories/Advanced.directory
/usr/share/desktop-directories/Advanced.directory: error: (will be fatal in the future): value "advanced-directory.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/desktop-directories/Advanced.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated
desktop-file-validate /usr/share/desktop-directories/Sawfish.directory
/usr/share/desktop-directories/Sawfish.directory: error: (will be fatal in the future): value "sawfish-group.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
desktop-file-validate /usr/share/desktop-directories/ServerConfig-More.directory
/usr/share/desktop-directories/ServerConfig-More.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true"
/usr/share/desktop-directories/ServerConfig-More.directory: error: key "Terminal" is present in group "Desktop Entry", but the type is "Directory" while this key is only valid for type "Application"
desktop-file-validate /usr/share/desktop-directories/ServerConfig.directory
/usr/share/desktop-directories/ServerConfig.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true"
/usr/share/desktop-directories/ServerConfig.directory: error: key "Terminal" is pres
desktop-file-validate /usr/share/desktop-directories/SystemConfig-More.directory
/usr/share/desktop-directories/SystemConfig-More.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true"
/usr/share/desktop-directories/SystemConfig-More.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated
/usr/share/desktop-directories/SystemConfig-More.directory: error: key "Terminal" is present in group "Desktop Entry", but the type is "Directory" while this key is only valid for type "Application"
desktop-file-validate /usr/share/desktop-directories/SystemConfig.directory
/usr/share/desktop-directories/SystemConfig.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true"
/usr/share/desktop-directories/SystemConfig.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated
/usr/share/desktop-directories/SystemConfig.directory: error: key "Terminal" is present in group "Desktop Entry", but the type is "Directory" while this key is only valid for type "Application
Expected results:
Additional info:
Comment 1Ray Strode [halfline]
2019-06-17 18:11:05 UTC
i'm pretty sure we shouldn't be shipping redhat-menus at all. gnome-menus ships its own directory files and those are the ones we use.
To avoid breaking upgrades we should make gnome-menus Obsoletes/Provides: redhat-menus instead of Requires: it
and to be conservative we should ship a symlink from /etc/xdg/menus/gnome-applications.menu to /etc/xdg/menus/applications.menu for backward compat in case someone is installing xfce from epel or something.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2020:1766
Description of problem: Since it's compulsory for all packaged to have gating tests, several files are not passing desktop-file-validate check with errors. Tests are inspired by gating tests for gnome-menus, therefore I hope it also applies fot the redhat-menus that the files should pass the desktop-file-validate check. Version-Release number of selected component (if applicable): redhat-menus-12.0.2-12.el8.noarch How reproducible: always Steps to Reproduce: for file in ${rpm -ql | grep .directory} desktop-file-validate $file Actual results: desktop-file-validate /usr/share/desktop-directories/Advanced-More.directory /usr/share/desktop-directories/Advanced-More.directory: error: (will be fatal in the future): value "advanced-directory.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path /usr/share/desktop-directories/Advanced-More.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated desktop-file-validate /usr/share/desktop-directories/Advanced.directory /usr/share/desktop-directories/Advanced.directory: error: (will be fatal in the future): value "advanced-directory.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path /usr/share/desktop-directories/Advanced.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated desktop-file-validate /usr/share/desktop-directories/Sawfish.directory /usr/share/desktop-directories/Sawfish.directory: error: (will be fatal in the future): value "sawfish-group.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path desktop-file-validate /usr/share/desktop-directories/ServerConfig-More.directory /usr/share/desktop-directories/ServerConfig-More.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true" /usr/share/desktop-directories/ServerConfig-More.directory: error: key "Terminal" is present in group "Desktop Entry", but the type is "Directory" while this key is only valid for type "Application" desktop-file-validate /usr/share/desktop-directories/ServerConfig.directory /usr/share/desktop-directories/ServerConfig.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true" /usr/share/desktop-directories/ServerConfig.directory: error: key "Terminal" is pres desktop-file-validate /usr/share/desktop-directories/SystemConfig-More.directory /usr/share/desktop-directories/SystemConfig-More.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true" /usr/share/desktop-directories/SystemConfig-More.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated /usr/share/desktop-directories/SystemConfig-More.directory: error: key "Terminal" is present in group "Desktop Entry", but the type is "Directory" while this key is only valid for type "Application" desktop-file-validate /usr/share/desktop-directories/SystemConfig.directory /usr/share/desktop-directories/SystemConfig.directory: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true" /usr/share/desktop-directories/SystemConfig.directory: warning: key "Encoding" in group "Desktop Entry" is deprecated /usr/share/desktop-directories/SystemConfig.directory: error: key "Terminal" is present in group "Desktop Entry", but the type is "Directory" while this key is only valid for type "Application Expected results: Additional info: