Answer:
They were both against the war.
Contrast: socialist believed the public should own key industries and pacifists opposed the use of violence.