Gunmen also opened fire on several police posts and buildings , killing two policemen .