What is changing ComputerName? So there is a this thing called computer name that can be set either via Preferences -> Sharing, or sudo scutil --set ComputerName "My Name"

When I use

sudo scutil --set ComputerName "My Name"


and then use 

sudo scutil --get ComputerName


I get something stupid like "My Name (2)". My question is: What is changing the name?

Because there is a question Computer name keeps changing OSX 10.10 (14A389) which asks how to overcome automatic change, and some hah are being suggested.

I don't want to hack things, I want to know what is changing the name, so then in perspective I can just kill it.
UPDATE: Updating to 10.10.4 fixes this problem. In this point release discoveryd is replaced by the previously ousted mDNSResponder.

The originally supplied answer follows...

This is caused by an interaction with a daemon called discoveryd (that is present in Yosemite OS X 10.10.0 to 10.10.3) and the sleep proxies that are present within Apple TVs and Airports.

I outlined a workaround here; which is basically disabling "Wake for Network Access", which is also suggested in the post you linked to. You could also stop using your Apple TV/s and Apple Airport/s if you are in a position that allows you to do so.

9to5Mac reports that discoveryd has been dropped in OS X 10.10.4 beta and replaced with the previously ousted mDNSResponder daemon. So this problem should be fixed in OS X 10.10.4.