Description of problem: Jetty expects jetty.run file in its home directory. According to FHS this file belongs in /var/run Current (buggy) behaviour is (correctly) blocked by SELinux: type=AVC msg=audit(1396355990.387:862): avc: denied { unlink } for pid=29107 comm="rm" name="jetty.state" dev="vda2" ino=1232634 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file type=AVC msg=audit(1396355991.406:864): avc: denied { create } for pid=29114 comm="java" name="jetty.state" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file type=AVC msg=audit(1396355991.406:864): avc: denied { append } for pid=29114 comm="java" path="/usr/share/jetty/jetty.state" dev="vda2" ino=1232634 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file Creating a symlink in Jetty home dir and pointing it to a fille under /var/run/jetty/ probably won't work as Jetty is trying to remove the state file before writing to it. I suspect that setting tome property or patching Jetty code may be required. Version-Release number of selected component (if applicable): 9.0.5-1
From jetty logs: Apr 01 14:38:52 f20 jetty[28988]: rm: cannot remove ‘/usr/share/jetty/jetty.state’: Permission denied
I rewritten the script to not use state file at all and rely on systemd.
jetty-9.0.5-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/jetty-9.0.5-3.fc20
Package jetty-9.0.5-3.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing jetty-9.0.5-3.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5116/jetty-9.0.5-3.fc20 then log in and leave karma (feedback).
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
jetty-9.0.5-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.