Re: logwatch error messages

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/23/2014 01:54 PM, Robert Moskowitz wrote:
> 
> On 01/23/2014 08:38 AM, Daniel J Walsh wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 01/22/2014 11:07 PM, Robert Moskowitz wrote:
>>> I am seeing the following errors via "journalctl |grep logwatch":
>>> 
>>> I had performed the following selinux policy:
>>> 
>>> On 01/06/2014 08:14 AM, Daniel J Walsh wrote:
>>>> Create a file mylogwatch.te with the following content.
>>>> 
>>>> policy_module(mylogwatch, 1.0) gen_require(` type logwatch_mail_t;
>>>> ')
>>>> 
>>>> mta_filetrans_admin_home_content(logwatch_mail_t)
>>>> 
>>>> Now execute this command to compile the policy and load it into the 
>>>> kernel
>>>> 
>>>> # make -f /usr/share/selinux/devel/Makefile # semodule -i
>>>> mylogwatch.pp
>>>> 
>>>> Now you should be allowed to run logwatch_mail_t in enforcing mode.
>>>> 
>>> What do these messages mean?
>>> 
>>> 
>> They mean that logwatch is not allowed to execute the procmail program.
>> 
>> You could add policy for it.
> 
> Obvious.  hindsight is just great!
> 
>> procmail_domtrans(logwatch_t)
> 
> I am looking at what you gave me before:
> 
> #cat mylogwatch.te policy_module(mylogwatch, 1.0) gen_require(` type
> logwatch_mail_t; ')
> 
> mta_filetrans_admin_home_content(logwatch_mail_t)
> 
> --------------------
> 
> Would mylogwprocmail.te contain:
> 
> policy_module(mylogwprocmail, 1.0) gen_require(` type logwatch_t; ')
> 
> procmail_domtrans(logwatch_t)
> 
> 
> 
> ???????????????????
> 
> 
Yes basically.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLhZZoACgkQrlYvE4MpobN43QCg6ooHByLX265OJlYWdQOcSp63
KJAAn3I6AaBpOoaqEjm8/O3gjVpJYdH7
=7Wpk
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux