Bug 1381005 - E: dir-or-file-in-var-run /var/run/xpra
Summary: E: dir-or-file-in-var-run /var/run/xpra
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xpra
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-02 08:26 UTC by Jonathan Underwood
Modified: 2019-11-11 01:06 UTC (History)
7 users (show)

Fixed In Version: xpra-3.0.1-2.fc30 xpra-3.0.1-2.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-09 22:39:31 UTC
Type: Bug


Attachments (Terms of Use)

Description Jonathan Underwood 2016-10-02 08:26:57 UTC
Description of problem:
I am seeing rpmlint return this error for the xpra package:

xpra.x86_64: E: dir-or-file-in-var-run /var/run/xpra

The package drops a file in /usr/lib/tmpfiles.d which causes the
creation of /var/run/xpra when needed.

The package has this in %{files}:

%ghost %dir %{_localstatedir}/run/xpra


This seems to be inline with:

https://fedoraproject.org/wiki/Packaging:Tmpfiles.d

(although that page advocates owning rather than ghost'ing the directory).

So, I think this rpmlint error is incorrect and contradicts packaging guidelines at this point.


Version-Release number of selected component (if applicable):
rpmlint-1.9-3.fc24.noarch

How reproducible:
Everytime

Steps to Reproduce:
1. rpmlint -i xpra-0.17.5-1.fc26.x86_64.rpm
2.
3.

Actual results:
xpra.x86_64: E: dir-or-file-in-var-run /var/run/xpra
A file in the package is located in /var/run. It's not permitted for packages
to install files in this directory.

Expected results:
No error.

Additional info:

Comment 1 Fedora End Of Life 2017-02-28 10:23:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Tom "spot" Callaway 2018-04-30 15:50:16 UTC
Revisiting this bug: /var/run is not where Fedora PID files should be stored, they belong in /run. The Guidelines link you provide is clear about that now (though, to be fair, it may not have said this in 2016 when you opened this bug originally).

Comment 3 Jonathan Underwood 2018-05-02 06:01:03 UTC
Reopening against xpra, then.

Comment 4 Fedora End Of Life 2018-05-03 08:26:50 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 5 Sergio Basto 2018-05-27 20:20:34 UTC
BTW more rpmlint fails

https://taskotron.fedoraproject.org/artifacts/all/66166b30-5611-11e8-9a7c-525400fc9f92/tests.yml/xpra-2.3-1.fc28.log

rpmlint FAILED for xpra-2.3-1.fc28 (7 errors, 30 warnings)

##### SRPMs #####
/usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper': [Errno 2] No such file or directory
xpra.src:111: W: unversioned-explicit-provides bundled(js-lz4)
xpra.src:112: W: unversioned-explicit-provides bundled(js-zlib)
xpra.src:113: W: unversioned-explicit-provides bundled(js-forge)
xpra.src:114: W: unversioned-explicit-provides bundled(js-aurora)
xpra.src:115: W: unversioned-explicit-provides bundled(js-broadway)
xpra.src:116: W: unversioned-explicit-provides bundled(js-bencode)
xpra.src:234: E: hardcoded-library-path in %{_prefix}/lib/sysusers.d/*.conf
1 packages and 0 specfiles checked; 1 errors, 6 warnings.

##### RPMs  #####
/usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper': [Errno 2] No such file or directory
xpra.armv7hl: E: non-readable /usr/lib/cups/backend/xpraforwarder 700
xpra.armv7hl: E: non-standard-executable-perm /usr/lib/cups/backend/xpraforwarder 700
xpra.armv7hl: W: dangling-symlink /usr/share/xpra/www/js/lib/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.js
xpra.armv7hl: E: dir-or-file-in-var-run /var/run/xpra
xpra.armv7hl: W: no-manual-page-for-binary xpra_Xdummy
xpra.armv7hl: W: no-manual-page-for-binary xpra_signal_listener
xpra.armv7hl: W: no-manual-page-for-binary xpra_udev_product_version
xpra.x86_64: E: non-readable /usr/lib/cups/backend/xpraforwarder 700
xpra.x86_64: E: non-standard-executable-perm /usr/lib/cups/backend/xpraforwarder 700
xpra.x86_64: W: dangling-symlink /usr/share/xpra/www/js/lib/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.js
xpra.x86_64: E: dir-or-file-in-var-run /var/run/xpra
xpra.x86_64: W: no-manual-page-for-binary xpra_Xdummy
xpra.x86_64: W: no-manual-page-for-binary xpra_signal_listener
xpra.x86_64: W: no-manual-page-for-binary xpra_udev_product_version
xpra-html5.armv7hl: W: summary-not-capitalized C html5 server and client support for xpra
xpra-html5.armv7hl: W: spelling-error %description -l en_US websockify -> website
xpra-html5.armv7hl: W: no-documentation
xpra-html5.armv7hl: W: dangling-symlink /usr/share/xpra/www/js/lib/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.js
xpra-html5.x86_64: W: summary-not-capitalized C html5 server and client support for xpra
xpra-html5.x86_64: W: spelling-error %description -l en_US websockify -> website
xpra-html5.x86_64: W: no-documentation
xpra-html5.x86_64: W: dangling-symlink /usr/share/xpra/www/js/lib/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.js
xpra-udev.armv7hl: W: summary-not-capitalized C xpra udev files
xpra-udev.armv7hl: W: only-non-binary-in-usr-lib
xpra-udev.armv7hl: W: no-documentation
xpra-udev.armv7hl: W: no-manual-page-for-binary xpra_udev_product_version
xpra-udev.x86_64: W: summary-not-capitalized C xpra udev files
xpra-udev.x86_64: W: only-non-binary-in-usr-lib
xpra-udev.x86_64: W: no-documentation
xpra-udev.x86_64: W: no-manual-page-for-binary xpra_udev_product_version
6 packages and 0 specfiles checked; 6 errors, 24 warnings.

If you want to whitelist some warnings/errors, see https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#whitelist

Comment 6 Fedora Update System 2018-06-25 17:53:08 UTC
xpra-2.3.1-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-df819ad945

Comment 7 Jan Kurik 2018-08-14 11:20:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 8 Ben Cotton 2019-10-31 20:44:12 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Sergio Basto 2019-11-01 19:45:46 UTC
Update https://taskotron.fedoraproject.org/artifacts/all/b99e4b68-f9aa-11e9-8eaf-52540077ca13/tests.yml/xpra-3.0.1-1.fc32.log 

rpmlint FAILED for xpra-3.0.1-1.fc32 (x86_64, noarch, src): 4 errors, 18 warnings

##### SRPMs #####
xpra.src:133: W: unversioned-explicit-provides bundled(js-lz4)
xpra.src:134: W: unversioned-explicit-provides bundled(js-zlib)
xpra.src:135: W: unversioned-explicit-provides bundled(js-forge)
xpra.src:136: W: unversioned-explicit-provides bundled(js-aurora)
xpra.src:137: W: unversioned-explicit-provides bundled(js-broadway)
xpra.src:138: W: unversioned-explicit-provides bundled(js-bencode)
xpra.src:267: E: hardcoded-library-path in %{_prefix}/lib/sysusers.d/*.conf
1 packages and 0 specfiles checked; 1 errors, 6 warnings.

##### RPMs  #####
xpra.x86_64: E: non-readable /usr/lib/cups/backend/xpraforwarder 700
xpra.x86_64: E: non-standard-executable-perm /usr/lib/cups/backend/xpraforwarder 700
xpra.x86_64: W: dangling-symlink /usr/share/xpra/www/js/lib/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.js
xpra.x86_64: E: dir-or-file-in-var-run /var/run/xpra
xpra.x86_64: W: no-manual-page-for-binary xpra_Xdummy
xpra.x86_64: W: no-manual-page-for-binary xpra_signal_listener
xpra.x86_64: W: no-manual-page-for-binary xpra_udev_product_version
xpra-html5.x86_64: W: summary-not-capitalized C html5 server and client support for xpra
xpra-html5.x86_64: W: spelling-error %description -l en_US websockify -> website
xpra-html5.x86_64: W: no-documentation
xpra-html5.x86_64: W: dangling-symlink /usr/share/xpra/www/js/lib/jquery.js /usr/share/javascript/jquery/3.2.1/jquery.js
xpra-udev.x86_64: W: summary-not-capitalized C xpra udev files
xpra-udev.x86_64: W: only-non-binary-in-usr-lib
xpra-udev.x86_64: W: no-documentation
xpra-udev.x86_64: W: no-manual-page-for-binary xpra_udev_product_version
3 packages and 0 specfiles checked; 3 errors, 12 warnings.

RPMs tested:
xpra-3.0.1-1.fc32.src.rpm
xpra-3.0.1-1.fc32.x86_64.rpm
xpra-html5-3.0.1-1.fc32.x86_64.rpm
xpra-udev-3.0.1-1.fc32.x86_64.rpm

If you want to whitelist some warnings/errors, see https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#whitelist

Comment 10 Fedora Update System 2019-11-01 22:13:54 UTC
FEDORA-2019-eb731a4f33 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-eb731a4f33

Comment 11 Fedora Update System 2019-11-01 22:13:54 UTC
FEDORA-2019-66a06c5028 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-66a06c5028

Comment 12 Fedora Update System 2019-11-02 02:26:58 UTC
xpra-3.0.1-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-eb731a4f33

Comment 13 Fedora Update System 2019-11-03 06:01:54 UTC
xpra-3.0.1-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-66a06c5028

Comment 14 Fedora Update System 2019-11-09 22:39:31 UTC
xpra-3.0.1-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2019-11-11 01:06:02 UTC
xpra-3.0.1-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.