so is everyone basically saying i shouldnt store my food in a cooler in my truck when im sleeping in the RTT? all the trash would be in sealed ammo cans... so is that really not good enough? most food thats not in the cooler would be canned or dried food anyway.
Bears in campgrounds definitely know what a cooler looks like. If they see one in your car, they may try to get to it, and they can easily get through a window and car door. Think Yogi the Bear and his pic-a-nic baskets
Bears in the wild are different. They don't have experience with coolers, but they do follow their noses. If you have a cooler with raw meat or other tasty smells or a trash bag with plate scrapings or wrappers from food and you store that in your car, then you are risking a broken window (or even death).
I use an Engel fridge, set to freeze, for freezing food and that stays in my rig. I also keep canned goods in my rig while sleeping. I know I'm taking a risk with the Engel staying in there.
On the other hand, I also have a Yeti cooler, which is bear-proof, and I always leave that outside my rig while sleeping. I also use a stuff sack and hang any non-cooler food I have up in a tree using the PCT method (look up bear bag PCT method on Youtube). Things like fruit and bread and even dry pasta goes in there.
I use a rafter's dry bag, about 16" wide by about 24" tall as my trash bag. Depending on the trip and where I am, that dry bag might contain a couple of kitchen garbage bags with human crap in them, but mostly it will contain all non-burnable trash that could contain food smells - like jars or other containers. I also hang this dry bag up in the same tree using the PCT method.
Also take into account that, in many important ways, black bears in the lower 48 are a very different animal from brown bears in Alaska. Something to keep in mind as you read advice - try to figure out if they're talking about 800 lb brown bears vs. 175 lb. black bears.
For black bears, I do all the above practices I mentioned. If I'm in brown bear country, I do all the above, but I'm much more worried about cooking in camp and I try to have my cook area at least 50 yards away from my sleeping camp (I usually camp in out of the way places with no other nearby campers). If I'm spooked for whatever reason - large footprints, or seeing a big bear in the distance - then I go to extremes - I will drive a mile away at meal times - cook there - then return to camp to lounge around or sleep, and I'll setup my UDAP bear fence at my sleeping camp and I use the hanging bags every night no matter where I am. If there are no trees, I use the bear fence and leave everything on the ground but as far away from my tent as possible (the bear fence encloses an area 27'x27')