[Bug 708172] [NEW] service libvirt-bin start does not set KRB5_KTNAME as required
Thomas Schweikle
708172 at bugs.launchpad.net
Wed Jan 26 17:34:47 UTC 2011
Public bug reported:
Set KRB5_KTNAME in /etc/default/libvirt-bin, start libvirt-bin, wonder
why the server logs "Key entry not found in keytab"....
Notice /etc/default/libvirt-bin installed, but not used any more.
Add "export KRB5_KTNAME=/etc/libvirt/krb5.keytab" right before the exec-
line in /etc/init/libvirt-bin.conf. Wonder why the server logs "Key
entry not found in keytab" --- it's a problem from upstart: it ignores
variables set within /etc/init/libvirt-bin.conf??
The only way out:
create a new script holding all necessary things to set up libvirtd correctly:
#! /bin/bash
export KRB5_KTNAME=/etc/libvirt/krb5.keytab
/usr/sbin/libvirtd -d --listen
Make it executable, then call it from the original file.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libvirt-bin 0.8.3-1ubuntu14
ProcVersionSignature: Ubuntu 2.6.35-24.42-server 2.6.35.8
Uname: Linux 2.6.35-24-server x86_64
Architecture: amd64
Date: Wed Jan 26 18:14:22 2011
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
SHELL=/bin/bash
LANG=de_DE.UTF-8
LC_CTYPE=en_US.UTF-8
SourcePackage: libvirt
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug maverick
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/708172
Title:
service libvirt-bin start does not set KRB5_KTNAME as required
More information about the Ubuntu-server-bugs
mailing list