FAI and invoke-rc.d: policy-rc.d denied execution of restart

John G. Heim jheim at math.wisc.edu
Sat Jul 8 02:29:58 CEST 2017

Those are 2 seperate error messages. The first one means that something 
tried to start a systemd service, probably a package installation. For 
example, if you install ssh during an fai install, it will try to start 
the ssh service and fail. But that is not a problem.  The policy-rc.d 
message refers to a script located at /usr/sbin/policy-rc.d that you can 
use to prevent services from starting. I find it a pita and just delete it.

On 07/05/2017 05:09 PM, Thomas Lange wrote:
>>>>>> On Wed, 5 Jul 2017 14:24:20 -0700, Nat Sincheler <fai1107 at macrotex.net> said:
>      > In doing an FAI build of stretch we are seeing several messages of the form
>      > Running in chroot, ignoring request.
>      > invoke-rc.d: policy-rc.d denied execution of restart.
>      > What does this error message mean? Can it be safely ignored?
> Yes, just ignore those messages.

More information about the linux-fai mailing list