Your message dated Thu, 16 Oct 2008 17:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#502299: fixed in kvm 72+dfsg-2
has caused the Debian Bug report #502299,
regarding Fails to install correctly if /etc/group contains any line matching
"kvm"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
502299: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502299
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: kvm
Version: 72+dfsg-1.1
Severity: normal
(This bug seems RC to me; please increase severity accordingly if you agree.)
kvm's preinst contains the following code:
> GROUP=kvm
>
> # Workaround for bug in addgroup
> . /etc/adduser.conf
> [ -z "$FIRST_SYSTEM_UID" ] && exit 1
> [ -z "$LAST_SYSTEM_UID" ] && exit 2
>
> GID=$(grep ${GROUP} /etc/group >/dev/null && grep ${GROUP} /etc/group | cut
> -d ':' -f 3)
>
> if [ -n "$GID" ] \
> && [ "$GID" -lt "$FIRST_SYSTEM_UID" \
> -o "$GID" -gt "$LAST_SYSTEM_UID" ]; then
> cat >&2 <<EOF
>
> Error: The kvm package needs to create a group named "${GROUP}" in
> /etc/group to be used for /dev/kvm, but the group ${GROUP} already exists
> and it is not a group in the system range
> (${FIRST_SYSTEM_UID}..${LAST_SYSTEM_UID}). Depending on
> the circumstances, you may want to remove or rename the currently
> existing ${GROUP} group before reinstalling the kvm package.
>
> Aborting the installation of kvm now.
>
> EOF
> exit 3
> fi
>
> if [ -z "$GID" ]; then
> /usr/sbin/addgroup --system ${GROUP}
> if [ $? -ne 0 ]; then
> echo >&2 "Error: failed to add the group ${GROUP}."
> exit 4
> fi
> else
> echo >&2 "kvm: Using the existing group \"$GROUP\" (gid $GID) for
> /dev/kvm"
> fi
In particular, note that it simply does "grep ${GROUP} /etc/group".
This will match any line in /etc/group which contains the string
"kvm". This can lead to two possible failures:
* If an /etc/group line for a non-system group contains "kvm"
somewhere, the install will incorrectly complain that the group
already exists.
* If an /etc/group line for a system group contains "kvm" somewhere,
kvm will use it rather than creating a group "kvm".
Might I suggest "getent group kvm"?
(Also, I haven't seen code like this in any other package that creates
a group.)
- Josh Triplett
--- End Message ---
--- Begin Message ---
Source: kvm
Source-Version: 72+dfsg-2
We believe that the bug you reported is fixed in the latest version of
kvm, which is due to be installed in the Debian FTP archive:
kvm-source_72+dfsg-2_all.deb
to pool/main/k/kvm/kvm-source_72+dfsg-2_all.deb
kvm_72+dfsg-2.diff.gz
to pool/main/k/kvm/kvm_72+dfsg-2.diff.gz
kvm_72+dfsg-2.dsc
to pool/main/k/kvm/kvm_72+dfsg-2.dsc
kvm_72+dfsg-2_i386.deb
to pool/main/k/kvm/kvm_72+dfsg-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jan Lübbe <[EMAIL PROTECTED]> (supplier of updated kvm package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 16 Oct 2008 18:22:41 +0200
Source: kvm
Binary: kvm kvm-source
Architecture: source all i386
Version: 72+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Jan Lübbe <[EMAIL PROTECTED]>
Changed-By: Jan Lübbe <[EMAIL PROTECTED]>
Description:
kvm - Full virtualization on x86 hardware
kvm-source - Source for the KVM driver
Closes: 502299
Changes:
kvm (72+dfsg-2) unstable; urgency=medium
.
* Merge changes from NMU, thanks to Thomas Viehmann
* Use a sane method for creating the kvm group, thanks to Josh Tripplet
(closes: #502299)
Checksums-Sha1:
9157d238a239fc613b87a0437c9478274a4d5520 1320 kvm_72+dfsg-2.dsc
5f393a4e0fc1dab0d9001025f36f8818ef041921 37053 kvm_72+dfsg-2.diff.gz
34f321399d657bb8a21bdc7a52d333164daa5e8c 157276 kvm-source_72+dfsg-2_all.deb
e36d1b0d7e3478af468deec2139c344de39b7e05 1029372 kvm_72+dfsg-2_i386.deb
Checksums-Sha256:
982058a75a543b467342d5efe6d7a4efa4ebe2a305a201d7443c336e9948c5e5 1320
kvm_72+dfsg-2.dsc
c44dc779d6bb5ad3e28685e1943294abc59c3e33cbfd45e631dd4ebf70091888 37053
kvm_72+dfsg-2.diff.gz
a332d1913d4d17847affa36a27950c140f717ea769807e02b1ec8e6fb12dd3e6 157276
kvm-source_72+dfsg-2_all.deb
ca2fc09ed0d6a2ad1eb0e2ad5c0f63e05da3105b5344826a9da8d58908c8ba2d 1029372
kvm_72+dfsg-2_i386.deb
Files:
37f11b39bb48600f25da6e20b7862202 1320 misc optional kvm_72+dfsg-2.dsc
ff92b5d65572bba56d373c709f8487b4 37053 misc optional kvm_72+dfsg-2.diff.gz
28fb07f7e4b27244a576b02c18019dc6 157276 misc optional
kvm-source_72+dfsg-2_all.deb
d21dd575174b37fa5433c98b2233cbae 1029372 misc optional kvm_72+dfsg-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkj3b2oACgkQioOL5NhIDy5KxACfaNAmD7a/d/ROjwJpP/rT7Jqx
QrwAn2p7T22OABI2gTWfpgvwFFQA1zgH
=Jmgk
-----END PGP SIGNATURE-----
--- End Message ---