Having been a backpacker for many years, I treat my trailer food supply the same way. I double Ziploc bag all meats and cheeses, all leftover food gets discarded 30-40 feet from the tent, when possible food trash is burned in the fire (not always possible depending on location), no food is ever allowed in the tent (not even a small snack), parts of trailer containing food are shut up tight at night and a pistol is near my pillow when sleeping. My wife and I snore also. Noise is a big deterrent.
I've always had a theory about problem bears. I believe that problem bears associate established campgrounds with easy food. Therefore I am much more cautious about food and trash in an established area than I am when deeper in the wilderness. Never had an encounter with bears trying to get my food, skunks and ringtails, however, are another story.
All in all, I believe we have more to fear in the city than we do in the woods.