I guess it all depends on which right the states were fighting for.
That would come down to the individual soldier's heart, wouldn't it? I do not know how many slaveowners vs. sharecroppers and small farmers did the fighting, but I would venture a guess that in most wars, the wealthier men (i.e. the plantation owners) can find more ways to avoid service.