Article 5MYW0 SELinux: command output printed on serial but not on ssh

SELinux: command output printed on serial but not on ssh

by
JuventusFC
from LinuxQuestions.org on (#5MYW0)
I am trying to configure SELinux on Poky Linux distro.

I am connecting to the board both on serial and ssh.

Launching ping and ifconfig on ssh the board prints nothing, whereas the same command on serial is printing the correct one.

At first, ping was completely disabled, so I had to patch the netutils SELinux policy (now works correctly).

They work properly in permissive mode (enforcing=0), the issue arises in enforcing mode (enforcing=1)

The command Code:journalctl -xe | grep "denied" shows no "denied" for ping neither ifconfig.

How can I fix this issue? Or where should I look further? Maybe a /dev/pts error?latest?d=yIl2AUoC8zA latest?i=jCp1mdx6MKA:h9_QGQtUHf8:F7zBnMy latest?i=jCp1mdx6MKA:h9_QGQtUHf8:V_sGLiP latest?d=qj6IDK7rITs latest?i=jCp1mdx6MKA:h9_QGQtUHf8:gIN9vFwjCp1mdx6MKA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments