{"action":"created","issue":{"url":"https://api.github.com/repos/brianchandotcom/liferay-portal/issues/26655","labels_url":"https://api.github.com/repos/brianchandotcom/liferay-portal/issues/26655/labels{/name}","comments_url":"https://api.github.com/repos/brianchandotcom/liferay-portal/issues/26655/comments","events_url":"https://api.github.com/repos/brianchandotcom/liferay-portal/issues/26655/events","html_url":"https://github.com/brianchandotcom/liferay-portal/pull/26655","id":78380500,"number":26655,"title":"Lps 55780","user":{"login":"shuyangzhou","id":173369,"avatar_url":"https://avatars.githubusercontent.com/u/173369?v=3","gravatar_id":"","url":"https://api.github.com/users/shuyangzhou","html_url":"https://github.com/shuyangzhou","followers_url":"https://api.github.com/users/shuyangzhou/followers","following_url":"https://api.github.com/users/shuyangzhou/following{/other_user}","gists_url":"https://api.github.com/users/shuyangzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/shuyangzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuyangzhou/subscriptions","organizations_url":"https://api.github.com/users/shuyangzhou/orgs","repos_url":"https://api.github.com/users/shuyangzhou/repos","events_url":"https://api.github.com/users/shuyangzhou/events{/privacy}","received_events_url":"https://api.github.com/users/shuyangzhou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-20T05:30:36Z","updated_at":"2015-05-20T17:43:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/brianchandotcom/liferay-portal/pulls/26655","html_url":"https://github.com/brianchandotcom/liferay-portal/pull/26655","diff_url":"https://github.com/brianchandotcom/liferay-portal/pull/26655.diff","patch_url":"https://github.com/brianchandotcom/liferay-portal/pull/26655.patch"},"body":"@brianchandotcom this is the simplest way that I can get to make it working.\r\n\r\nBasically org.apache.felix.configadmin.jar has a static local permissions file defined, which is completely bypassing the PACL security mechanism, therefore it is not possible to intercept and fix this at PACL level.\r\n\r\nSo the solution is to strip off the OSGI-INF/permissions.perm, to make it a normal bundle which will fail back to PACL mechanism.\r\n\r\nWith this all PACL tests are passing and stable now. Tomorrow I will try to figure out a way to enable the log asserter during the test initialization phase, so that errors like these can be caught stably in the future."},"comment":{"url":"https://api.github.com/repos/brianchandotcom/liferay-portal/issues/comments/103971536","html_url":"https://github.com/brianchandotcom/liferay-portal/pull/26655#issuecomment-103971536","issue_url":"https://api.github.com/repos/brianchandotcom/liferay-portal/issues/26655","id":103971536,"user":{"login":"shuyangzhou","id":173369,"avatar_url":"https://avatars.githubusercontent.com/u/173369?v=3","gravatar_id":"","url":"https://api.github.com/users/shuyangzhou","html_url":"https://github.com/shuyangzhou","followers_url":"https://api.github.com/users/shuyangzhou/followers","following_url":"https://api.github.com/users/shuyangzhou/following{/other_user}","gists_url":"https://api.github.com/users/shuyangzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/shuyangzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuyangzhou/subscriptions","organizations_url":"https://api.github.com/users/shuyangzhou/orgs","repos_url":"https://api.github.com/users/shuyangzhou/repos","events_url":"https://api.github.com/users/shuyangzhou/events{/privacy}","received_events_url":"https://api.github.com/users/shuyangzhou/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T17:43:31Z","updated_at":"2015-05-20T17:43:31Z","body":"Hehe, the log assert just caught a real AbstractSearchEngineConfigurator/MessageBus race condition bug.\r\n\r\nIt is not related to this pull, just got exposed and caught here. You can merge this in, I will deal with it separately."}}