android init exits at executing /system/etc/partition_permission.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Unassigned | ||
lxc-android-config (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In init.mt8163.rc:
on fs
write /proc/bootprof "INIT:Mount_START"
mount_all /fstab.mt8163
setprop ro.crypto.state unencrypted
#change partition permission
exec /system/
#change partition permissions
exec /system/bin/chmod 0640 /dev/block/
...
In dmesg:
[ 7.570313] .(3)[1111:
[ 7.570358] .(3)[1111:
[ 7.570375] .(3)[1111:
then no further message is printed.
lxc log says:
NOTICE lxc_start - start.c:
...
DEBUG lxc_start - start.c:
DEBUG lxc_start - start.c:
DEBUG lxc_start - start.c:
DEBUG lxc_start - start.c:
INFO lxc_error - error.c:
Related branches
- Łukasz Zemczak: Approve
-
Diff: 13 lines (+2/-1)1 file modifieddebian/lxc-android-config.service (+2/-1)
Changed in canonical-devices-system-image: | |
milestone: | none → x1 |
no longer affects: | android-tools (Ubuntu) |
Changed in lxc-android-config (Ubuntu): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
Changed in canonical-devices-system-image: | |
status: | New → Fix Released |
So I placed a 'exit 0' inside that script, and it quits with 0 as expected, but then init still quits at the next exec command. Probably means permission to chown/chmod those block devices is not granted.