From ec7ee311c0cf3ac0bb38edce0e5207d964518228 Mon Sep 17 00:00:00 2001 From: "divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899" Date: Wed, 30 Dec 2015 03:01:56 +0000 Subject: Added a comment: Logcat output -- SELinux --- .../comment_2_c7cabab122174867d7350a1eaa76151c._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/bugs/Android_6.0_compatibility/comment_2_c7cabab122174867d7350a1eaa76151c._comment diff --git a/doc/bugs/Android_6.0_compatibility/comment_2_c7cabab122174867d7350a1eaa76151c._comment b/doc/bugs/Android_6.0_compatibility/comment_2_c7cabab122174867d7350a1eaa76151c._comment new file mode 100644 index 000000000..c7c559ca7 --- /dev/null +++ b/doc/bugs/Android_6.0_compatibility/comment_2_c7cabab122174867d7350a1eaa76151c._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899" + nickname="divergentdave" + subject="Logcat output -- SELinux" + date="2015-12-30T03:01:56Z" + content=""" +I ran a sync again and captured output from logcat. It appears that an SELinux policy is preventing ssh from linking its socket file. (at [this line](https://github.com/openssh/openssh-portable/blob/master/mux.c#L1298)) There are several log messages similar to the one below, presumably one for each failed invocation of ssh. + +``` +12-29 20:49:07.308 29990 29990 W ssh : type=1400 audit(0.0:64711): avc: denied { link } for name=\"annex-user@192.168.0.3.cAGquyBx4Z10RTYL\" dev=\"dm-2\" ino=392849 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=sock_file permissive=0 +``` +"""]] -- cgit v1.2.3 From 9751dce93cf6943ce0a85d783114b378f64a5e9c Mon Sep 17 00:00:00 2001 From: "divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899" Date: Wed, 30 Dec 2015 03:40:02 +0000 Subject: Added a comment: SELinux --- .../comment_3_47f9cbde0385a4816ccec1b512dea2fd._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/Android_6.0_compatibility/comment_3_47f9cbde0385a4816ccec1b512dea2fd._comment diff --git a/doc/bugs/Android_6.0_compatibility/comment_3_47f9cbde0385a4816ccec1b512dea2fd._comment b/doc/bugs/Android_6.0_compatibility/comment_3_47f9cbde0385a4816ccec1b512dea2fd._comment new file mode 100644 index 000000000..e54e394ca --- /dev/null +++ b/doc/bugs/Android_6.0_compatibility/comment_3_47f9cbde0385a4816ccec1b512dea2fd._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899" + nickname="divergentdave" + subject="SELinux" + date="2015-12-30T03:40:02Z" + content=""" +According to [this issue on Google Code](https://code.google.com/p/android-developer-preview/issues/detail?id=3150), hard linking files is not allowed on Android 6.0. It looks like the only recourse will be to reconfigure or patch OpenSSH, such that it doesn't need to create a hardlink. +"""]] -- cgit v1.2.3