How are Unions viewed by libertarians?

while most “civilians” must obey the law (such as it is).

I won’t dispute your observation. But who’s laws are these exactly?