Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #222365

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

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: binfmt-support cannot start at boot time because /var is not mounted
Date 2020-05-11 09:50 +0200
Message-ID <A5bmi-Z2-11@gated-at.bofh.it> (permalink)
References <A5bcC-Vj-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

binfmt-support cannot start at boot time because /var is not mounted Dmitry Katsubo <dma_k@mail.ru> - 2020-05-11 09:40 +0200
  Re: binfmt-support cannot start at boot time because /var is not  mounted Reco <recoverym4n@enotuniq.net> - 2020-05-11 09:50 +0200
    Re: binfmt-support cannot start at boot time because /var is not  mounted Dmitry Katsubo <dma_k@mail.ru> - 2020-05-18 02:50 +0200

csiph-web