Classic confinement for hostctl

You mentioned /etc/hosts/, but I think you meant simply /etc/hosts. Write access to this file is provided by The network-control interface. Please adjust your snap to use strict confinement instead. If you need help with this, I suggest opening a new topic in the snapcraft category.