- Mar 29, 2023
-
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Mar 28, 2023
-
-
Esben Haabendal authored
In OHOS the init system sets RLIMIT_NICE to 40 for all OpenHarmony services. Without that, we were getting a lot of kernel spam from the binder driver. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Convert hilogd into a systemd service - Patch hilogd to use sd_notify(3) to send ready notification to systemd, and thus use as a Type=notify service. - Add log and logd users and groups, with similar uid and gid as in OHOS. - Place Unix sockets in /run/openharmony/hilog instead of /dev/unix/socket, enabling secure creaton and managing of these. - Use systemd.socket units for the two Unix sockets, to allow creating with desired uid/gid and permissions, and allowing to use hilogd with systemd socket activation Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
This stops placing temporary files and Unix sockets in /dev, and use /run instead. This aligns better with FHS and makes it easier to handle permissions safely if/when we decide to change uid/gid of the param service. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Mar 02, 2023
-
-
Kareem Zarka authored
ceshi.txt and ceshitwo.txt are random text files needed to perform the ActsAmsZipfileUnzipfileSTest,but were missing from the OpenHarmony source tree. They have been added to the 'files' directory, so that they can be used by other recipes. Signed-off-by:
Kareem Zarka <kareem.zarka@huawei.com>
-
- Mar 01, 2023
-
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Starting OpenHarmony services is super slow (we are doing lots of sleep between each service), so it is helpful to be able to follow the progress. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Having noisy kernel messages on console makes the console output slightly less usable in CI. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
She-bang must be in first line to make sense. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
This way, all OpenHarmony services should hopefully be ready when connection to hdcd is established, allowing more robust ACTS execution. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Feb 16, 2023
-
-
Esben Haabendal authored
Although there obviously is a default behaviour when parameters are not set, an error message about missing parameters are logged, so let's just set the parameters explicitly to avoid these "false" error messages. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
Esben Haabendal authored
Yes, this is still not nice, but this is what we are doing for now. We will fix it as we create systemd units for each service. Signed-off-by:
Esben Haabendal <esben@geanix.com>
-
- Feb 06, 2023
-
-
Francesco Pham authored
OpenHarmony init system, is responsible for creation of some directories, handling permissions and running services with appropriate UIDs/GIDs. Currently in meta-openharmony we have everything run as root, which causes some issues. Adding system user with UID 1000. Run system services as system user. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Feb 02, 2023
-
-
Francesco Pham authored
A wrong permission mode causes ActsAppdatamagrJsTest ACTS test suite to fail because it fails to open /dev/ashmem due to a "Permission denied" error. Changing permission to /dev/ashmem: "chmod 666 /dev/ashmem" because it needs to be rw for all users. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
currently /data directory has to be chmod -R 777 /data in order for services to work one of possible manifestation of this not being done is create display failed! error in the logs Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
Francesco Pham authored
enable RemainAfterExit to openharmony-preinit.service to prevent the service from getting deactivated after initialization. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
-
- Sep 28, 2022
-
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Closes https://gitlab.eclipse.org/eclipse/oniro-core/meta-openharmony/-/issues/73 Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Closes https://gitlab.eclipse.org/eclipse/oniro-core/meta-openharmony/-/issues/75 Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
The OpenHarmony services are now started from the pre-init script. The script checks if the corresponding systemd services are enabled before running them. That way, the services startup can be controlled using systemctl. Signed-off-by:
Robert Drab <robert.drab@huawei.com> Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This change turns the OpenHarmony systemd services into dummy services that doesn't start them. Instead, the preinit script will check for these services state and start the corresponding services if their systemd unit are enabled. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
- Aug 10, 2022
-
-
Thierry Escande authored
These are services using the System Ability framework through the executable sa_main. These services depend on and are started after the System Ability Manager service (samgr). Most of them are noop for now. No process is created after sa_main exits for all of these services. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This enables the samgr service and sets it to start after the param service. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com> Merge me with 600b3ba
-
Thierry Escande authored
This mofifies the appspawn service to start after the samgr one with a 2 seconds delay. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
With this change, the hilogd service depends on and starts after the OpenHarmony param service. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This service starts the param_service server, used to access the OpenHarmony param, a kind of registry accessible through the network. The service requires and starts after the openharmony-preinit systemd service. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
Thierry Escande authored
This oneshot service creates the folder architecture needed by the OpenHarmony services and components. All other OpenHarmony services will be started after this one. These folders are intended to be created by their own systemd service units, but since they are not all in place yet, this service acts as a generic placeholder in the meantime. The service also change /dev/binder file mode to 0666. Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-
- Aug 05, 2022
-
-
Thierry Escande authored
Signed-off-by:
Thierry Escande <thierry.escande@huawei.com>
-