I have a PC running Ubuntu 19.04 with lxd/lxc installed as a snap-package, version 3.0. I’ve tried to set up a proxy-device for a container just like every guide I found told me to, but it’s a no-go. The log-file for a test-container says:
Error: remove localhost:80: read-only file system
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5a3398]
goroutine 1 [running]:
os.(*File).Name(...)
/snap/go/4098/src/os/file.go:50
net.FileListener(0x0, 0x0, 0x0, 0x0, 0x0)
/snap/go/4098/src/net/file.go:36 +0x88
main.(*cmdForkproxy).Run(0xc000150248, 0xc0002e9b80, 0xc000143860, 0x6, 0x6, 0x0, 0x0)
/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main_forkproxy.go:352 +0x2de
github.com/spf13/cobra.(*Command).execute(0xc0002e9b80, 0xc000143740, 0x6, 0x6, 0xc0002e9b80, 0xc000143740)
/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:826 +0x465
github.com/spf13/cobra.(*Command).ExecuteC(0xc00026ef00, 0xc000265f60, 0x1, 0x1)
/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:914 +0x2fc
github.com/spf13/cobra.(*Command).Execute(...)
/build/lxd/parts/lxd/go/src/github.com/spf13/cobra/command.go:864
main.main()
/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main.go:164 +0xd32
Is this yet another case of snap breaking things or what could be wrong?