Skip to content

ntp-offset: chronyc: error while loading shared libraries: libffi.so.6: failed to map segment from shared object #615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
markuslf opened this issue Oct 9, 2022 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@markuslf
Copy link
Member

markuslf commented Oct 9, 2022

This issue respects the following points:

Bug description

Compiled version on Rocky 8 due to

type=AVC msg=audit(1665320084.052:71695): avc:  denied  { map } for  pid=713074 comm="chronyc" path="/usr/lib64/nagios/plugins/libffi.so.6" dev="dm-0" ino=4216169 scontext=system_u:system_r:chronyc_t:s0 tcontext=system_u:object_r:nagios_unconfined_plugin_exec_t:s0 tclass=file permissive=0
type=SYSCALL msg=audit(1665320084.052:71695): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=207628 a2=5 a3=802 items=0 ppid=713069 pid=713074 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm="chronyc" exe="/usr/bin/chronyc" subj=system_u:system_r:chronyc_t:s0 key=(null)ARCH=x86_64 SYSCALL=mmap AUID="unset" UID="icinga" GID="icinga" EUID="icinga" SUID="icinga" FSUID="icinga" EGID="icinga" SGID="icinga" FSGID="icinga"
type=PROCTITLE msg=audit(1665320084.052:71695): proctitle=6368726F6E796300747261636B696E67

Steps to reproduce - Plugin call

'/usr/lib64/nagios/plugins/ntp-offset' '--critical' '1001' '--warning' '800'

Steps to reproduce - Plugin Version

[14:55:14 root@001-p-vcs01 Rocky8 ~]$ /usr/lib64/nagios/plugins/ntp-offset --version
ntp-offset: v2022071401 by Linuxfabrik GmbH, Zurich/Switzerland

Steps to reproduce - Data

No response

Python version

No response

Environment

Linux 04.18.0-372.9.1.el8.x86_64 #1 SMP Tue May 10 14:48:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Application

No response

Python modules

No response

Additional info

No response

@markuslf markuslf added the bug Something isn't working label Oct 9, 2022
@markuslf markuslf added this to the M002 milestone Oct 9, 2022
@markuslf markuslf self-assigned this Oct 9, 2022
@markuslf
Copy link
Member Author

You have to apply the new SELinux client policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant