The requirement, approved separately in recent weeks by the Missoula City Council and Missoula County Commission, follows a yearslong effort to reduce bear-human conflict in the area by securing attractants like garbage that condition bears to feast on unnatural foods in human environs.