This is a good subject and very worthy of discussion. There have been 3 people killed by Grizzlies this year in ID and MT.
I camp in bear country quite often. And it's boondocking, no bear safe containers for your food. And I've been doing it safely for 50 years!!!!
Keep a sparkling clean camp.
Wash up dishes after every meal. Don't leave bacon scented dishes in camp while your off fishing. Same for evening meal while your sleeping.
Keep your trash out of camp and suspended in a tree.
No after shave or perfumes. And ladies, if it's that time of the month stay home!!!!
When backpacking I suspended my pack with food, even tho freeze dried stuff, out of camp and high above ground.
I've never had a problem leaving food in my fridge/cooler in my camper.
I've had several bear encounters back in my car/tent days. Once a PO'd Griz ran full speed across my sleeping bag, outside the tent, and knocked me ass over tea kettle!! Once a Blackie came into camp at night and destroyed an canister filled with bread and marsh-mellows. Yup, should have been up in the tree. Another night a Blackie came into camp and took my laundry off the line and put it back in the creek!!! Guess he thought it wasn't clean enough!!!!
I still do considerable hiking/camping in bear country. Hiking, I especially go out of my way to make noise. Coming around a bend to a surprised Griz can be the very last thing you do. If you saw as many bear as bear saw you many folks would never venture into the woods again!!!
The ID/MT borders are populated with bear. I also carry a fire extinguisher sized can of bear spray and a .44 mag.