ssh by user amandabackup [SOLVED]
Daniel J Walsh
dwalsh at redhat.com
Tue Jan 4 14:11:52 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/04/2011 04:08 AM, Gordon Messmer wrote:
> On 01/02/2011 06:45 AM, Matthew Saltzman wrote:
>> Aha! In /var/log/messages, on the other hand, this happens:
>>
>> Jan 2 09:40:36 yankee setroubleshoot: SELinux is preventing /usr/sbin/sshd from search access on the directory /var/lib/amanda. For complete SELinux messages. run sealert -l d477003b-6568-4441-95d8-60bda5a6c0e5
>> Jan 2 09:40:36 yankee setroubleshoot: SELinux is preventing /usr/sbin/sshd from search access on the directory /var/lib/amanda. For complete SELinux messages. run sealert -l d477003b-6568-4441-95d8-60bda5a6c0e5
> ...
>> So I will file the bug.
>
> I believe you'll need to fix that like so:
>
> # semanage fcontext -a -t user_home_dir_t /var/lib/amanda
> # semanage fcontext -a -t user_home_t "/var/lib/amanda/.*"
> # restorecon -r /var/lib/amanda
No This would probably cause amanda to break then. Does labeling .ssh as
ssh_home_t solve the problem?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk0jKqgACgkQrlYvE4MpobMi5ACgs8iR07cwraZoqn97BeioWyFQ
cXoAmweXApHTqeZ5SFcOEf7poTnyMBXV
=pn02
-----END PGP SIGNATURE-----
More information about the users
mailing list