[Bug 1199520] [SELinux] "no shell: permission denied" error on fresh Tumbleweed transactional server installation with enforcing SELinux
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1199520 https://bugzilla.suse.com/show_bug.cgi?id=1199520#c21 Felix Niederwanger <felix.niederwanger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(felix.niederwange | |r@suse.com) | --- Comment #21 from Felix Niederwanger <felix.niederwanger@suse.com> --- Yes that seems to work!
# transactional-update shell (therein) zypper in microos-tools (therein) touch /etc/selinux/.autorelabel (therein) vim /etc/selinux/config # set from permissive to enforcing reboot
Then the login works, via ssh and via login terminal. SELinux is set to enforcing, so that's also OK:
bsc1199520:~ # sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Memory protection checking: actual (secure) Max kernel policy version: 33
Hope that helps. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com