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

Re: [HTCondor-users] srating



Hello,

I tried to run as a regular user or sudo, but I get the behavior


SELinux is preventing condor_procd from using the dac_override capability.

*****  Plugin dac_override (91.4 confidence) suggests   **********************

If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
Then turn on full auditing to get path information about the offending file and generate the error again.
Do

Turn on full auditing
# auditctl -w /etc/shadow -p w
Try to recreate AVC. Then execute
# ausearch -m avc -ts recent
If you see PATH record check ownership/permissions on file, and fix it,
otherwise report as a bugzilla.

*****  Plugin catchall (9.59 confidence) suggests   **************************

If you believe that condor_procd should have the dac_override capability 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_procd' --raw | audit2allow -M my-condorprocd
# semodule -X 300 -i my-condorprocd.pp

Additional Information:
Source Context                system_u:system_r:condor_procd_t:s0
Target Context                system_u:system_r:condor_procd_t:s0
Target Objects                Unknown [ capability ]
Source                        condor_procd
Source Path                   condor_procd
Port                          <Unknown>
Host                          Teucidide
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-34.23-1.fc34.noarch
Local Policy RPM              selinux-policy-targeted-34.23-1.fc34.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     Teucidide
Platform                      Linux Teucidide 5.15.16-100.fc34.x86_64 #1 SMP Thu
                              Jan 20 16:34:27 UTC 2022 x86_64 x86_64
Alert Count                   22
First Seen                    2022-01-27 08:57:42 CET
Last Seen                     2022-01-27 08:59:53 CET
Local ID                      9ae8506e-e1a5-4241-8c01-d9650f5921db

Raw Audit Messages
type=AVC msg=audit(1643270393.55:592): avc:  denied  { dac_override } for  pid=9851 comm="condor_procd" capability=1  scontext=system_u:system_r:condor_procd_t:s0 tcontext=system_u:system_r:condor_procd_t:s0 tclass=capability permissive=0


Hash: condor_procd,condor_procd_t,condor_procd_t,capability,dac_override


===========================================================================
 Patrick DUPRÃ                                 | | email: pdupre@xxxxxxx
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988                    | | Room# D114A
===========================================================================


> Sent: Thursday, January 27, 2022 at 3:51 AM
> From: "Jaime Frey" <jfrey@xxxxxxxxxxx>
> To: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
> Subject: Re: [HTCondor-users] srating
>
> If youâre using sudo to run the systemctl command, it may be an issue with sudo and sssd.
> A google search suggests this is the most common source of this error message.
> 
>  - Jaime
> 
> > On Jan 26, 2022, at 6:12 AM, pdupre@xxxxxxx wrote:
> > 
> > Hello,
> > 
> > I am running a fedora 34 machine.
> > I installed
> > condor-8.8.15-1.fc34.x86_64
> > 
> > When I run
> > 
> > systemctl start condor.service
> > 
> > I get (and plenty of warnings)
> > 
> > *** SECURITY information for homere ***
> > 
> > homere : Jan 26 09:47:25 : root : problem with defaults entries ; TTY=pts/8
> > ; PWD=/root/condor ; USER=root ; 
> > 
> > 
> > What am I missing?
> 
> 
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/