For the /run/samba denials, you have a few choices:
- modify the program or its configuration to write out to $SNAP_COMMON or $SNAP_DATA
- use snap layouts: Snap layouts (widely available with snapd 2.36)
- update the snap to write to /run/snap.my-samba/*
For core_pattern, this isn’t allowed anywhere yet. I suspect that will go away if you fix the other errors.