OSDN Git Service

Add fstab to fix annoying 'RLIMIT_NICE not set' errors
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 9 Jan 2015 17:03:47 +0000 (01:03 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 9 Jan 2015 17:35:57 +0000 (01:35 +0800)
commit54eace8a43caa8e1eb93f5a7b1be7a05ffef668f
tree94a515c82f968ca622305b0f5a13a430ee4cc12f
parent1ce213591377b93a4a5c3e8d53562420c3c4c9bf
Add fstab to fix annoying 'RLIMIT_NICE not set' errors

Originally android relies mount_all to trigger some actions.
But android-x86 doesn't use fstab before. So we trigger these
actions on fs stage directly. This works before lollipop.

However, lollipop changed the built-in class main to be
triggerred via init*.rc. So I triggerred it on fs as well.
But this is incorrect. It makes the actions in class main
run before on boot stage. That causes rlimit not being
set for services started in class main.

Fix the issue by adding a fstab and do mount_all on fs stage
like normal android system. It should correct other possible
timing issues.
device.mk
fstab.x86 [new file with mode: 0644]
init.x86.rc