Currently, qpidd defaults to using /etc/krb5.keytab because KRB5_KTNAME cant be set without editing the init script. The problem is that often a host will have multiple keytabs files other than /etc/krb5.keytab. In this case, it would be nice to use /etc/qpidd.keytab or /etc/qpidd.<hostname>.keytab or some other random filename and location.
Two possible ways of adding this support...
1. Allow setting the krb5 keytab location in /etc/qpidd.conf (ie krb5-ktname=) and have the c++ broker executable set KRB5_KTNAME.
2. While the init script already looks for /etc/sysconfig/qpidd, the sysconfig file should be added to the qpid-cpp package. Also, and add a test to see if KRB5_KTNAME is set should be added to the init script. If it exists in /etc/sysconfig/qpidd then set it where qpidd is started by daemon().
See also https://bugzilla.redhat.com/show_bug.cgi?id=635585 which is related.