Re: Fail2ban is failing

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

 



On Fri, 2024-05-03 at 16:52 -0500, Richard Shaw wrote:
> On Fri, May 3, 2024 at 4:13 PM Patrick O'Callaghan
> <pocallaghan@xxxxxxxxx>
> wrote:
> 
> > On Fri, 2024-05-03 at 13:08 -0400, Tom Rivers via users wrote:
> > > Until the fix is available, I've been able to get it running
> > > until
> > > the
> > > next system reboot by doing the following:
> > > 
> > > # setenforce 0
> > > # systemctl start fail2ban
> > > 
> > > ... wait a minute ...
> > > 
> > > # setenforce 1
> > > 
> > 
> > That seems to work. Looks like a problem with SElinux labelling.
> > 
> 
> More or less, basically from what I can tell with F40 that the link
> from
> /var/run->/run for compatibility was dropped and the selinux context
> in the
> fail2ban package needed to be updated (and it was) but my assumption
> is
> that installation of the new package would take care of it.

# ls -lZ /var/run/fail2ban/fail2ban.sock
srwx------. 1 root root system_u:object_r:var_run_t:s0 0 May  3 22:10 /var/run/fail2ban/fail2ban.sock

Running restorecon on that (and the directory itself) leaves it
unchanged, so presumably it's incorrect in the database.

poc
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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