Inconsistent service names

The AFP exports are being named “{share} on RockStor” instead of just "{share}"
The Avahi smb service is named “RockStor@{ip_address}” instead of “{hostname}”. Also the Avahi smb service is advertised even when Samba is switched off.

Thanks for your feedback.

What is the problem if the AFP export appears as “{share} on RockStor” versus just “{share}”?

On the same note, what is the problem if Avahi broadcast says “RockStor@{ip_address}” instead of “{hostname}”?

Let’s discuss some more and we can file appropriate issues on github.

What is the problem if the AFP export appears as “{share} on RockStor” versus just “{share}”?

For one thing, it means the names don’t match between Samba and AFP. Secondly it is unnecessary clutter that doesn’t add anything useful. Thirdly I wish to avoid spaces in the export name, but this makes it impossible.

what is the problem if Avahi broadcast says “RockStor@{ip_address}” instead of “{hostname}”?

It is inconsistent with the DNS, NETBIOS and AFP name. This also causes a second, phantom host to show in OS-X which OS-X has trouble connecting to.
Plus it doesn’t actually tell you the hostname of the RockStor appliance, and the ip is hardcoded at first-run setup and won’t update if the address changes.
Actually I’m not sure why the Avahi broadcast is even needed. OS-X has no trouble finding NETBIOS services, plus AFP is now supported which works even better.
 

All valid points and sound reasoning. Thanks for your contribution in improving Rockstor.

I’ve created an issue for this: https://github.com/rockstor/rockstor-core/issues/535

Feel free to participate on github to ensure this is done properly.

Closing the loop on this topic. The issue(https://github.com/rockstor/rockstor-core/issues/535) was fixed on Dec 24, 2014.