Hide Forgot
Description of problem: and there is no boolean for this. the opposite way it works, postgres can ssh to a $_user@localhost ssh with keys to a postgres@_$remotebox works fine though. asking tone of this report for I'm not sure if this is a bug. type=AVC msg=audit(1454432013.141:11451210): avc: denied { read } for pid=6865 comm="sshd" name="authorized_keys" dev="dm-0" ino=553208674 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:postgresql_db_t:s0 tclass=file Version-Release number of selected component (if applicable): selinux-policy-3.13.1-60.el7.noarch selinux-policy-targeted-3.13.1-60.el7.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
If the authorized_keys file is located in ~/.ssh directory then it should be labeled ssh_home_t.
ok, restorecond was missing there, yes, problem was fcontext on that folder, many thanks