noninsteractive frontend, fix policy-rc issues