Konrad Windszus
Konrad Windszus
Please don't use service users but just grant the necessary permissions to the [`everyone` group](https://jackrabbit.apache.org/oak/docs/security/user/default.html#everyone-group) (every user, even anonymous is implicitly member of it) in the repoinit script.
Please create a PR from a branch in your fork.
I would assume that this happens because the services are started once the main bundle becomes active and somehow once the bundle fragment gets bound. This sounds like a Felix...
The instruction https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/e2c2bfaf5107e768f87cc6d145dccb0a31cd6a62/pom.xml#L255 is not supposed to be merged with something else. It works fine for the bundle fragment, but somehow not for the main bundle.... I currently don't know...
I raised https://github.com/bndtools/bnd/issues/6108 for this.
It is correct that the Scr-Bnd-Plugin is to blame here: https://github.com/apache/felix-dev/blob/81edc6e48db29feae5d0deb0af23719f50ddcb2b/tools/org.apache.felix.scr.bnd/src/main/java/org/apache/felix/scrplugin/bnd/SCRDescriptorBndPlugin.java#L212 I asked in https://bnd.discourse.group/t/overwrite-manifest-header-written-by-bnd-plugin/444/1 for a way how to fix the wrong manifest header in bnd itself (with another...
@davidjgonzalez Very unlikely AEM 6.5 will ever get the fix. 6.5.20 is still with `org.apache.felix.scr` 2.1.30 from 2021 (DS 1.4), while the latest is 2.2.10 (DS 1.5).
How is this related to ACS AEM Commons?
@davidjgonzalez and @YegorKozlov WDYT?
Unfortunately I don't have a solution. But it is marked for removal on 1st of June 2021 in https://experienceleague.adobe.com/docs/experience-manager-cloud-service/release-notes/deprecated-apis.html?lang=en , so we need to come up with a solution now....