NFS bind mount and systemd-networkd

Hello,

I think I found a bug. My host :

pulsar@timon:~$ cat /etc/debian_version 
10.4
pulsar@timon:~$ snap list
Name    Version   Rev    Tracking       Publisher   Notes
core18  20200427  1753   latest/stable  canonical✓  base
lxd     4.2       15868  latest/stable  canonical✓  -
snapd   2.45.1    8147   latest/stable  canonical✓  snapd

On an updated Debian Buster container, I encounter an incompatibility between a nfs mount (bind from host) and systemd-networkd. If the mount is present, systemd-networkd refuses to boot. After unmounting, it works.

Container config:

pulsar@timon:~$ lxc config show demo
architecture: aarch64
config:
  boot.autostart: "true"
  image.architecture: arm64
  image.description: Debian buster arm64 (20200513_05:24)
  image.os: Debian
  image.release: buster
  image.serial: "20200513_05:24"
  image.type: squashfs
  volatile.base_image: a644759caf820d1ab7d8433dec40f3df8b1596e92f9969976591680e19f00ad9
  volatile.eth0.host_name: veth6bd7e0fe
  volatile.eth0.hwaddr: 00:16:3e:24:87:f6
  volatile.idmap.base: "0"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.last_state.power: RUNNING
devices:
  data:
    path: /mnt/data
    source: /mnt/containers/demo/
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

The method that retrieves the network but not the mount point:

pulsar@timon:~$ lxc console demo
To detach from the console, press: <ctrl>+a q

demo login: ct
Mot de passe : 
Dernière connexion : mardi 30 juin 2020 à 18:06:16 CEST sur console
Linux demo 5.4.45-rockchip64 #20.05.3 SMP PREEMPT Wed Jun 10 11:47:27 CEST 2020 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
ct@demo:~$ sudo systemctl status systemd-networkd
[sudo] Mot de passe de ct : 
● systemd-networkd.service - Network Service
   Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor
   Active: failed (Result: exit-code) since Tue 2020-06-30 18:07:43 CEST; 29s ag
     Docs: man:systemd-networkd.service(8)
  Process: 55 ExecStart=/lib/systemd/systemd-networkd (code=exited, status=226/N
 Main PID: 55 (code=exited, status=226/NAMESPACE)

juin 30 18:07:43 demo systemd[1]: systemd-networkd.service: Service has no 
juin 30 18:07:43 demo systemd[1]: systemd-networkd.service: Scheduled resta
juin 30 18:07:43 demo systemd[1]: Stopped Network Service.
juin 30 18:07:43 demo systemd[1]: systemd-networkd.service: Start request r
juin 30 18:07:43 demo systemd[1]: systemd-networkd.service: Failed with res
juin 30 18:07:43 demo systemd[1]: Failed to start Network Service.
ct@demo:~$ sudo systemctl start systemd-networkd
Job for systemd-networkd.service failed because the control process exited with error code.
See "systemctl status systemd-networkd.service" and "journalctl -xe" for details.
ct@demo:~$ sudo umount /mnt/data/
ct@demo:~$ sudo systemctl start systemd-networkd
ct@demo:~$ sudo systemctl status systemd-networkd
● systemd-networkd.service - Network Service
   Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor
   Active: active (running) since Tue 2020-06-30 18:08:40 CEST; 3s ago
     Docs: man:systemd-networkd.service(8)
 Main PID: 114 (systemd-network)
   Status: "Processing requests..."
    Tasks: 1 (limit: 4608)
   Memory: 1.3M
   CGroup: /system.slice/systemd-networkd.service
           └─114 /lib/systemd/systemd-networkd

juin 30 18:08:40 demo systemd[1]: Starting Network Service...
juin 30 18:08:40 demo systemd-networkd[114]: eth0: Gained IPv6LL
juin 30 18:08:40 demo systemd-networkd[114]: Enumeration completed
juin 30 18:08:40 demo systemd[1]: Started Network Service.
juin 30 18:08:40 demo systemd-networkd[114]: lo: Configured

Thank you for your time.