The right way to create a rectangle hole with rounded corners on some surface?
If you're working with subdivision, something like this is all you need:



As you can see, you can loosen or tighten the curve by bringing internal holding edges closer to, or further from, the corners, or dispensing with them altogether.