[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 01/13] sasl: Avoid 'Could not find keytab file' in
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 01/13] sasl: Avoid 'Could not find keytab file' in syslog |
Date: |
Sat, 15 Mar 2014 13:56:47 +0400 |
From: Laszlo Ersek <address@hidden>
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 <address@hidden>
ACKed-By: Cole Robinson <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
qemu.sasl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/qemu.sasl b/qemu.sasl
index 9dc8323..64fdef3 100644
--- a/qemu.sasl
+++ b/qemu.sasl
@@ -22,7 +22,9 @@ mech_list: digest-md5
# Some older builds of MIT kerberos on Linux ignore this option &
# instead need KRB5_KTNAME env var.
# For modern Linux, and other OS, this should be sufficient
-keytab: /etc/qemu/krb5.tab
+#
+# There is no default value here, uncomment if you need this
+#keytab: /etc/qemu/krb5.tab
# If using digest-md5 for username/passwds, then this is the file
# containing the passwds. Use 'saslpasswd2 -a qemu [username]'
--
1.7.10.4
- [Qemu-trivial] [PULL 00/13] Trivial patches for 2014-03-15, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 05/13] .travis.yml: add IRC notifications for build failures, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 04/13] .travis.yml: trivial whitespace fixup, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 01/13] sasl: Avoid 'Could not find keytab file' in syslog,
Michael Tokarev <=
- [Qemu-trivial] [PULL 02/13] .travis.yml: add a new build target with non-core devlibs, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 03/13] .travis.yml: re-enable lttng user space trace test, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 13/13] FSL eTSEC: Fix typo in rx ring, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 08/13] misc: Fix typos in comments, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 06/13] hw/timer/grlib_gptimer: Avoid integer overflows, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 07/13] Add qga/qapi-generated to .gitignore, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 10/13] audio: Add 'static' attributes to several variables, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 11/13] configure: Don't use __int128_t for clang versions before 3.2, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 12/13] scripts/make-release: Don't distribute .git directories, Michael Tokarev, 2014/03/15
- [Qemu-trivial] [PULL 09/13] tests: Fix 'make test' for i686 hosts (build regression), Michael Tokarev, 2014/03/15