I have read #128538 and nothing on my system appears to call domainname. However, if net-tools is removed, the hostname service will not start because /bin/hostname is not provided by coreutils. Coreutils should have a USE=hostname dependent on -net-tools to sort-of support this.
Created attachment 330166 [details, diff] Patch coreutils-*.ebuild to add USE=hostname
Not quite sure if --enable-no-install-program overrides --enable-install-program.
the hostname service shouldn't exist in the first place
Then what sets the hostname? net?
Created attachment 346050 [details, diff] Patch coreutils-*.ebuild to add USE=hostname A patch that actually works this time.
Created attachment 346052 [details, diff] Patch coreutils-*.ebuild to add USE=hostname Block net-tools if USE=hostname.
*** This bug has been marked as a duplicate of bug 128538 ***