Hello list,
after I installed selinux sshd does not work anymore.
it fails to bind to port 22:
"[sshd] error: Bind to port 22 on 0.0.0.0 failed: Address already in use".
I already tried to fix it according to the troubleshooting:

http://www.gentoo.org/proj/en/hardened/selinux/selinux-handbook.xml?part=4&chap=3#doc_chap2

it is wrongly labeled, but running rlpkg sysvinit does not change
anything, though it says it's running correctly.
the output from sestatus -v is attached.

greetz Paul Rauch
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          permissive
Policy version:                 19
Policy from config file:        targeted

Process contexts:
Current context:                root:system_r:unconfined_t
Init context:                   system_u:system_r:init_t
/sbin/agetty                    system_u:system_r:getty_t
/usr/sbin/sshd                  user_u:system_r:sshd_t

File contexts:
Controlling term:               root:object_r:tty_device_t
/sbin/init                      system_u:object_r:init_exec_t
/sbin/agetty                    system_u:object_r:getty_exec_t
/bin/login                      system_u:object_r:login_exec_t
/sbin/rc                        system_u:object_r:initrc_exec_t
/sbin/runscript.sh              system_u:object_r:initrc_exec_t
/usr/sbin/sshd                  system_u:object_r:sshd_exec_t
/usr/sbin/unix_chkpwd           system_u:object_r:chkpwd_exec_t
/etc/passwd                     system_u:object_r:etc_t
/etc/shadow                     system_u:object_r:shadow_t
/bin/sh                         system_u:object_r:bin_t -> 
system_u:object_r:shell_exec_t
/bin/bash                       system_u:object_r:shell_exec_t
/usr/bin/newrole                system_u:object_r:newrole_exec_t
/lib/libc.so.6                  system_u:object_r:lib_t -> 
system_u:object_r:lib_t
/lib/ld-linux.so.2              system_u:object_r:lib_t -> 
system_u:object_r:ld_so_t

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to