TrebleDroid/treble_experimentations

fs-verity/ioctl issues

SowTag opened this issue · 0 comments

Current Behavior:

Constant fs-verity errors in logcat, specially in the following directories:

  • /data/misc_de/0/apexdata/com.android.permission/roles.xml (the file specifically)
  • /data/system_ce/0/shortcut_service/packages/ (all XMLs inside)

Example logs

The errors look like this:

11-25 13:33:44.440  2082  2254 E ShortcutService: java.io.IOException: Failed to enable fs-verity on /data/system_ce/0/shortcut_service/packages/com.android.settings.xml: Inappropriate ioctl for device
11-25 13:33:42.311  2082  2082 E ResilientAtomicFile: java.io.IOException: Failed to enable fs-verity on FD(428): Inappropriate ioctl for device
11-25 20:32:19.249  2082  4125 E RolesPersistenceImpl: java.io.IOException: Failed to enable fs-verity on /data/misc_de/0/apexdata/com.android.permission/roles.xml: Inappropriate ioctl for device

The three errors above repeat constantly.

To Reproduce

  1. Boot normally
  2. logcat "*:E" | grep ioctl

Expected behavior

No errors

Smartphone (please complete the following information):

  • Device: Motorola One Fusion (codename astro)
  • Build Flavor: arm64 vanilla non-vndklite ci-20231125
  • Version android-14.0.0_r14