[Bug 1239198] New: RequestTracker Not Properly Configured with SELinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1239198

            Bug ID: 1239198
           Summary: RequestTracker Not Properly Configured with SELinux
           Product: Fedora
           Version: 21
         Component: rt
          Assignee: rc040203@xxxxxxxxxx
          Reporter: joe@xxxxxxxxxxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    rc040203@xxxxxxxxxx, tibbs@xxxxxxxxxxx



Description of problem:
RequestTracker requires write access to /var/lib/rt for cache and session state
information.

Error from audit.log:
type=AVC msg=audit(1435994355.726:771): avc:  denied  { getattr } for  pid=6386
comm="/usr/sbin/rt-se" path="/var/cache/rt/mason_data/obj/.__obj_create_marker"
dev="vda2" ino=662318 scontext=system_u:system_r:httpd_t:s0
tcontext=system_u:object_r:var_t:s0 tclass=file permissive=0
type=AVC msg=audit(1435994355.726:772): avc:  denied  { write } for  pid=6386
comm="/usr/sbin/rt-se" name=".__obj_create_marker" dev="vda2" ino=662318
scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_t:s0
tclass=file permissive=0

How reproducible: 100%

Steps to Reproduce:
1. Take a working rt installation.
2. Reset labels on /var/lib/rt to defaults.
3. Go to website in browser.

Actual results:
An error message about an internal error.

Expected results:
A working system.

Additional info:
Problem can be fixed by running:
# chcon -R -t httpd_sys_rw_content_t /var/cache/rt
However, this only hold until the next relabel/restorecon.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux