Re: CentOS 7 selinux policy bug [SOLVED]

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

 



Dan,

On 06/01/15 16:27, m.roth@xxxxxxxxx wrote:
> From:    "Daniel J Walsh" <dwalsh@xxxxxxxxxx>
> Cc:      "Miroslav Grepl" <mgrepl@xxxxxxxxxx>
> On 05/29/2015 04:34 PM, m.roth@xxxxxxxxx wrote:
>> Daniel J Walsh wrote:
>>> On 05/29/2015 01:03 PM, m.roth@xxxxxxxxx wrote:
>>>> Daniel J Walsh wrote:
>>>>> On 05/29/2015 09:20 AM, m.roth@xxxxxxxxx wrote:
>>>>>>     CentOS 7.1. Selinux policy, and targetted, updated two days ago.
>>>>>>
>>>>>> May 28 17:02:41 <servername> python: SELinux is preventing
>>>>>> /usr/bin/bash from execute access on the file
/usr/bin/bash.#012#012***** <...>
<snip>
>>
> I just pushed this to fedora upstream policy
>
> commit 035cecfb52aff40a60b0bb7651aadc284e0dffb7
> Author: Dan Walsh <dwalsh@xxxxxxxxxx>
> Date:   Mon Jun 1 08:59:29 2015 -0400
>
>      rsync server can be setup to send mail
>
> You can add the rules locally by compiling and installing this policy

> create myrsync.te to look like the following
> # =========================================
> policy_module(myrsync, 1.0)
>
> gen_require(`
> type rsync_t;
> ')
> mta_send_mail(rsync_t)
> # ==========================================
>
> Then execute
>
> # make -f /usr/share/selinux/devel/Makefile
> # semodule -i myrsync.pp
<snip>
I installed selinux-policy-devel, it built and I installed it, and it
appears to fix my problem.

Thanks again, Dan.

        mark



--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux