Actual landfills are, at least where I live, heavily regulated and use quite a lot of technology and engineering to minimize their impact. And landfilling itself is actually being abandoned here, AFAIK you can’t start a new landfill anymore and the costs of landfilling will be artificially jacked up in order to soften the final ban in ~6 years.