public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
From: Robert Sharp <selinux@sharp.homelinux.org>
To: gentoo-hardened@lists.gentoo.org
Subject: [gentoo-hardened] SELinux ddclient and ca-certificates
Date: Thu, 15 Jun 2017 11:58:49 +0100	[thread overview]
Message-ID: <8d1128c1-d3dc-e6eb-8cd9-c067fafa529d@sharp.homelinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

I have been enforcingon my SELinux box for a while without incident, 
until yesterday. Ddclient started spamming me with emails about SSL 
connect failures. I checked the audit log for AVCs and found the one 
below. The context for /etc/ssl/certs/ca-certificates is cert_t and it 
looks like the interface needed to access this type is 
"miscfiles_manage_generic_cert_files". I can test if this is the right 
approach? May take a while cos I am not sure how to force ddclient into 
attempting an update.

Thanks,
Robert

|type=AVC msg=audit(1497448811.326:13013): avc: denied { search } for 
pid=3311 comm=6464636C69656E74202D20636F6E6E name="ca-certificates" 
dev="dm-0" ino=2630168 scontext=system_u:system_r:ddclient_t 
tcontext=system_u:object_r:cert_t tclass=dir permissive=0 |||


[-- Attachment #2: Type: text/html, Size: 1208 bytes --]

             reply	other threads:[~2017-06-15 10:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-15 10:58 Robert Sharp [this message]
2017-06-17 10:47 ` [gentoo-hardened] SELinux ddclient and ca-certificates Sven Vermeulen
2017-06-17 17:20   ` Robert Sharp
2017-06-18 16:29     ` Sven Vermeulen
2017-06-19 21:20       ` Robert Sharp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d1128c1-d3dc-e6eb-8cd9-c067fafa529d@sharp.homelinux.org \
    --to=selinux@sharp.homelinux.org \
    --cc=gentoo-hardened@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox