here is a great quote

Lyell canyon (between Tuolumne Meadows and Donahue Pass) has an especially bad bear problem. Avoid camping in this 11-mile section of the trail if you want to keep your food.