Hello,

I am trying to run condor to subgmit jobs in batch

I first run
systemctl start condor.service

but I get
SElinux security alert
SELinux is preventing condor_master from getattr access on the filesystem 
/sys/fs/cgroup.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that condor_master should be allowed getattr access on the 
cgroup filesystem by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'condor_master' --raw | audit2allow -M my-condormaster
# semodule -X 300 -i my-condormaster.pp

Additional Information:
Source Context                system_u:system_r:condor_master_t:s0
Target Context                system_u:object_r:cgroup_t:s0
Target Objects                /sys/fs/cgroup [ filesystem ]
Source                        condor_master
Source Path                   condor_master
Port                          <Unknown>
Host                          Sappho
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-34.22-1.fc34.noarch
Local Policy RPM              selinux-policy-targeted-34.22-1.fc34.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     Sappho
Platform                      Linux Sappho 5.15.10-100.fc34.x86_64 #1 SMP Fri
                              Dec 17 14:51:10 UTC 2021 x86_64 x86_64
Alert Count                   7
First Seen                    2021-12-25 22:22:54 CET
Last Seen                     2021-12-25 22:23:32 CET
Local ID                      1400e954-ed34-4677-a93e-ff1dd7872d7d

Raw Audit Messages
type=AVC msg=audit(1640467412.250:3818): avc:  denied  { getattr } for  
pid=328138 comm="condor_master" name="/" dev="cgroup2" ino=1 
scontext=system_u:system_r:condor_master_t:s0 
tcontext=system_u:object_r:cgroup_t:s0 tclass=filesystem permissive=0


Hash: condor_master,condor_master_t,cgroup_t,filesystem,getattr



===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988                    | | Room# D114A
===========================================================================
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to