Open nowack73 opened 7 years ago
I believe this is related to which selinux context the component runs in (we also see this error).
Thanks, for the hint. I set AII_OSINSTALL_SELINUX to 'disabled', but somehow selinux has been installed. With SL6, this was never a problem, but it seems to be a problem with SL7.
Does this mean that ncm-ssh is not compatible with selinux?
I hope not, I've been looking at this problem today as well (although mostly by trying to ensure selinux is disabled), but we do have use cases that require selinux.
@nowack73 is there a -selinux
in the kickstart file? AII_OSINSTALL_SELINUX
disabled should not even install selinux (unless something else pulls it in).
Yes, the kickstart file contains:
selinux --disabled
and
%packages --ignoremissing
-selinux*
But in the ks-post-install phase, some dependencies seem to require selinux-policy and that creates a default /etc/selinux/config with SELINUX=enforcing.
Running ncm-ssh (version 17.2) on SL7.3 in a non-interactive mode (i.e. started by ncm-cdispd) results in an error:
If I run
ncm-ncd --configure ssh
interactively in shell, ncm-ssh succeeds: