diff options
author | Laszlo Ersek <lersek@redhat.com> | 2014-03-14 15:39:36 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-03-15 13:54:18 +0400 |
commit | dfb3804d478bce02350bdf87534dc7dd3d1ded51 (patch) | |
tree | c46e8e087cfbbcda8ae7e65e0fd9a70666c879e9 /scripts/qapi-commands.py | |
parent | 03d51428e2da0188a0adea00cbd713cc1e967e7a (diff) |
sasl: Avoid 'Could not find keytab file' in syslog
The "keytab" specification in "qemu.sasl" only makes sense if "gssapi" is
selected in "mech_list". Even if the latter is not done (ie. "gssapi" is
not selected), the cyrus-sasl library tries to open the specified keytab
file, although nothing has a use for it outside the gssapi backend.
Since the default keytab file "/etc/qemu/krb5.tab" is usually absent, the
cyrus-sasl library emits a warning to syslog at startup, which tends to
annoy users (who didn't ask for gssapi in the first place).
Comment out the keytab specification per default.
"qemu-doc.texi" already correctly explains how to use "mech_list: gssapi"
together with "keytab:".
See also:
- upstream libvirt commit fe772f24,
- Red Hat Bugzilla <https://bugzilla.redhat.com/show_bug.cgi?id=1018434>.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
ACKed-By: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions