Question: how to train dogs not to roll in poop?
Answer: When you're out walking your dog, keep him on a short leash to prevent him from rolling around in another dog's poop or other smelly things you both might encounter. To discourage and ultimately stop him from rolling around in offensively odorous things, you could try to pair an unpleasant experience with his action.