# System initscripts

`meta-qcom-hwe` added the system initscripts to the image as follows:

| System initscripts | Description |
| --- | --- |
| `var-persist.mount` | Mounts the `/dev/disk/by-partlabel/persist` disk partition<br>to `/var/persist`. |
| `android-tools-adbd.service` | Provides the adbd daemon on the device. |
| `logrotate.service` | Archives old logs.<br><br><br>Modify the `rsyslog.logrotate` configuration file in Qualcomm<br>Linux to manage on-device logs. The modified `rsyslog.logrotate` file is<br>in the `meta-qcom-hwe/dynamic-layers/openembedded-layer/recipes-devtools/rsyslog/rsyslog/rsyslog.logrotate`<br>directory. This file overrides the default configuration file provided by<br>`meta-openembedded/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate`. |
| `pd-mapper.service` | Configures and manages protection domains.<br>`pd-mapper_git.bbappend` in the Qualcomm Linux BSP layer updates the `pd-mapper.service.in` file<br>to run the service as a system user instead of as the root user.<br><br><br>do_install:prepend() {<br>        # convert the service from root user to system user<br>        sed -i "/ExecStart=/i\User=system\nGroup=system" pd-mapper.service.in<br>    }<br>    Copy to clipboard |
| `property-vault.service` | Provides the `property_get` and `property_set` functionalities.<br>For more information about this service,<br>see [Configure property-vault properties](https://docs.qualcomm.com/doc/80-70029-27/topic/configure_properties.html#configure-properties). |
| `persist-property-vault.service` | Runs `set-persist-prop.sh`, which sets the<br>`le.persistprop.enable` flag to true. This property allows use<br>of persist properties, which are stored in the filesystem and persist<br>across reboots. |
| `resize-partition@.service` | Resizes the file system at bootup time according to<br>the size of the partition.<br><br><br>ExecStart=/bin/sh -c "/sbin/e2fsck -n /dev/disk/by-partlabel/%i; if [ $? -gt 1 ]; then /sbin/mkfs.ext4 /dev/disk/by-partlabel/%i; fi; /sbin/resize2fs /dev/disk/by-partlabel/%i"<br>    Copy to clipboard |
| `rsyslog.service` | Redirects logs according to a specified configuration. |
| `sys-kernel-debug.mount` | Masks the `sys-kernel-debug.mount` unit when building the `perf` variant.<br>This conditional masking of this systemd unit is done in `do_install:append:qcom` task<br>of `meta-qcom-hwe/recipes-core/systemd/systemd_%.bbappend`. |

Last Published: Mar 16, 2026

[Previous Topic
Configure Qualcomm Linux software components](https://docs.qualcomm.com/bundle/publicresource/80-70029-27/topics/configure_qualcomm_linux_software_components.md) [Next Topic
Configure and secure boot with systemd-boot and UKI](https://docs.qualcomm.com/bundle/publicresource/80-70029-27/topics/configure_and_secure_boot_with_systemd_boot_and_uki.md)