From: Laura Lazzati <laura.lazzati.15@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: SELinux log
Date: Thu, 13 Jun 2019 14:53:42 -0300 [thread overview]
Message-ID: <CAPNLzUOg4knG-mfAWWzB-yXyqa2aPFquCxMJRJek8-0EMfY_UA@mail.gmail.com> (raw)
In-Reply-To: <87a7em9dyh.fsf@elephly.net>
[-- Attachment #1.1: Type: text/plain, Size: 455 bytes --]
> What is the file name of “guix” when running in permissive mode? We
> need to know this to adjust the policy.
>
After running `which guix` I get:
/usr/local/bin/guix
I tried to add another label for it but it didn't work. I was going to ask
you for a good tutorial for writing the policies but I have just found
https://github.com/SELinuxProject/cil/wiki, I will read it the next days :)
I am attaching the diff file.
Regards!
Laura
[-- Attachment #1.2: Type: text/html, Size: 853 bytes --]
[-- Attachment #2: diffGuixDaemon.txt --]
[-- Type: text/plain, Size: 1084 bytes --]
diff -b guix-daemon.cil /home/laura/guix/etc/guix-daemon.cil.in
1c1
< ;; -*- lisp -*-
---
> ; -*- lisp -*-
45,48d44
< (type guix_client_exec_t)
< (roletype object_r guix_client_exec_t)
< (type guix_client_t)
< (roletype object_r guix_client_t)
51c47
< (typeattributeset domain (guix_daemon_t guix_daemon_exec_t guix_client_t))
---
> (typeattributeset domain (guix_daemon_t guix_daemon_exec_t))
267,279d262
< ;;Client operations
< (allow guix_client_t
< guix_daemon_conf_t
< (dir (search
< getattr
< open read)))
< (allow guix_client_t
< guix_daemon_conf_t
< (file (map
< getattr
< open read)))
<
<
302,306c285
< any (system_u object_r guix_daemon_socket_t (low low)))
< (filecon "@storedir@/.../bin/guix"
< file (system_u object_r guix_client_exec_t (low low)))
< (filecon "/usr/local/bin/guix"
< file (system_u object_r guix_client_exec_t (low low))))
---
> any (system_u object_r guix_daemon_socket_t (low low))))
next prev parent reply other threads:[~2019-06-13 17:54 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 21:28 SELinux log Laura Lazzati
2019-06-05 9:39 ` Ricardo Wurmus
2019-06-06 14:24 ` Laura Lazzati
2019-06-06 17:58 ` Ricardo Wurmus
2019-06-07 1:46 ` Laura Lazzati
2019-06-07 20:46 ` Ricardo Wurmus
2019-06-07 23:08 ` Laura Lazzati
2019-06-07 23:10 ` Laura Lazzati
2019-06-07 23:12 ` Laura Lazzati
2019-06-08 7:03 ` Ricardo Wurmus
2019-06-08 14:36 ` Laura Lazzati
2019-06-08 14:50 ` Ricardo Wurmus
2019-06-08 14:57 ` Laura Lazzati
2019-06-08 16:56 ` Ricardo Wurmus
2019-06-09 16:29 ` Laura Lazzati
2019-06-10 2:08 ` Laura Lazzati
2019-06-10 8:12 ` Ricardo Wurmus
2019-06-11 10:48 ` Laura Lazzati
2019-06-11 12:23 ` Ricardo Wurmus
2019-06-12 1:58 ` Laura Lazzati
2019-06-12 6:42 ` Ricardo Wurmus
2019-06-12 13:27 ` Laura Lazzati
2019-06-12 13:34 ` Ricardo Wurmus
2019-06-12 14:25 ` Laura Lazzati
2019-06-12 20:12 ` Ricardo Wurmus
2019-06-12 21:01 ` Laura Lazzati
2019-06-13 6:49 ` Ricardo Wurmus
2019-06-13 17:53 ` Laura Lazzati [this message]
2019-06-13 18:52 ` Ricardo Wurmus
2019-06-14 17:24 ` Laura Lazzati
2019-06-16 22:15 ` Laura Lazzati
2019-06-17 1:44 ` Ricardo Wurmus
2019-06-17 3:32 ` Laura Lazzati
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=CAPNLzUOg4knG-mfAWWzB-yXyqa2aPFquCxMJRJek8-0EMfY_UA@mail.gmail.com \
--to=laura.lazzati.15@gmail.com \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.