[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binfmt-support cannot start at boot time because /var is not mounted



	Hi.

On Mon, May 11, 2020 at 09:33:59AM +0200, Dmitry Katsubo wrote:

> root@debian:~ # systemctl status binfmt-support
> *? binfmt-support.service - Enable support for additional executable binary formats
>    Loaded: loaded (/lib/systemd/system/binfmt-support.service; enabled; vendor preset: enabled)
>    Active: failed (Result: exit-code) since Sun 2020-05-10 21:54:27 CEST; 10h ago
>      Docs: man:update-binfmts(8)
>   Process: 353 ExecStart=/usr/sbin/update-binfmts --enable (code=exited, status=2)
>  Main PID: 353 (code=exited, status=2)
> 
> May 10 21:54:27 debian update-binfmts[353]: update-binfmts: unable to open /var/lib/binfmts: No such file or directory
>
> Any help is appreciated.

This should help your problem:

mkdir /etc/systemd/system/binfmt-support.service.d

cat > /etc/systemd/system/binfmt-support.service.d/override.conf << EOF
[Unit]
RequiresMountsFor=/var
EOF

Reco


Reply to: