service libvirt-bin start does not set KRB5_KTNAME as required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Maverick |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Set KRB5_KTNAME in /etc/default/
Notice /etc/default/
Add "export KRB5_KTNAME=
The only way out:
create a new script holding all necessary things to set up libvirtd correctly:
#! /bin/bash
export KRB5_KTNAME=
/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
ProcVersionSign
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=
SourcePackage: libvirt
Related branches
- Serge Hallyn: Needs Resubmitting
- Clint Byrum (community): Needs Fixing
- Ubuntu Sponsors: Pending requested
-
Diff: 38 lines (+14/-1)2 files modifieddebian/changelog (+9/-0)
debian/libvirt-bin.upstart (+5/-1)
Changed in libvirt (Ubuntu Maverick): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in libvirt (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
Changed in libvirt (Ubuntu): | |
assignee: | Serge Hallyn (serge-hallyn) → nobody |
Thomas, thank you for taking the time to file this bug report and help us make Ubuntu better!
The upstart job is, indeed, ignoring any settings that used to be set in /etc/default/ libvirt- bin.
Seeing as there is no warning about this in the release notes or changelog, I think this is a regression, as it breaks on upgrade from lucid to maverick.
As a workaround, you can take all the settings from that file and manually add them to /etc/init/ libvirt- bin.conf as
env KRB5_KTNAME= /etc/libvirt/ krb5.keytab
There is no need for a special script to do that.
The fix should be to source /etc/default/ libvirt- bin and respect the flags as they were before, at least until the release following the next LTS.
Marking Triaged ( as Ubuntu is upstream for the upstart job ) and setting Importance to Medium, as this is a regression on upgrade, but only affects users with non-default configurations.