Damage, opening and sliding of grain boundaries