Failed to issue method call: Unit hostname.service is masked.
I get this error when running the hostname-change action, from the "service hostname.sh start" command.
https://wiki.debian.org/HowTo/ChangeHostname suggests using "invoke-rc.d hostname.sh start" and that does appear to work.