On Tuesday, November 14, 2017 at 2:15:50 AM UTC-7, [email protected] wrote: > > I'm building for sailfish 7.1.2_r29 and trying to work with the new AB > update system. I'm unable to use android.os.UpdateEngine to apply a new > update. > > It immediately fails with a few errors, > > 11-14 01:00:51.298 658-658/? E/update_engine: > [1114/010051:ERROR:utils.cc(199)] 0 == writer.Open(path, O_WRONLY | O_CREAT > | O_TRUNC, 0600) failed: No such file or directory > 11-14 01:00:51.298 658-658/? E/update_engine: > [1114/010051:ERROR:cpu_limiter.cc(74)] Failed to change cgroup cpu shares > to 2 using /sys/fs/cgroup/cpu/update-engine/cpu.shares > 11-14 01:00:51.312 658-658/? W/update_engine: type=1400 audit(0.0:190): > avc: denied { dac_override } for capability=1 scontext=u:r:update_engine:s0 > tcontext=u:r:update_engine:s0 tclass=capability permissive=0 > 11-14 01:00:51.312 658-658/? W/update_engine: type=1400 audit(0.0:191): > avc: denied { dac_read_search } for capability=2 > scontext=u:r:update_engine:s0 tcontext=u:r:update_engine:s0 > tclass=capability permissive=0 > 11-14 01:00:51.317 658-658/? E/update_engine: > [1114/010051:ERROR:file_stream.cc(244)] Open(...): Domain=system, > Code=EACCES, Message=Permission denied > 11-14 01:00:51.317 658-658/? E/update_engine: > [1114/010051:ERROR:file_fetcher.cc(78)] Couldn't open > /data/ota_package/update.zip > > I double checked the sepolicy's in system/sepolicy and they are being > included inside the build correctly, but still for some reason I'm unable > to apply an update with the new update system. > > Sorry, my understanding of SEPolicy is very very limited, so I am not sure > what exactly is happening. > > Anywhere I should look or anything I can try would be much appreciated. > > > Thanks in advance >
Did you find a solution to this error? I'm getting the same thing. -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
