[Pkg-libvirt-maintainers] Bug#773119: executes firstboot script twice in parallel with systemd

martin f krafft madduck at debian.org
Sun Dec 14 15:52:53 UTC 2014


Package: libguestfs-tools
Version: 1:1.29.14-1
Severity: normal
File: /usr/bin/virt-sysprep

virt-sysprep installs LSB compatibility scripts to /etc/rc?.d and
/etc/init.d by the name virt-sysprep-firstboot, and it also installs
a systemd unit firstboot.service. Since systemd units are only
ignored if the LSB init script has exactly the same name, this
causes the sysprep script to be run *twice*, possibly in parallel,
with all weird sort of effects.

I think the best solution will be to rename the systemd unit to
virt-sysprep-firstboot.service, or to avoid running the init.d
script if systemd is detected.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libguestfs-tools depends on:
ii  libatk1.0-0                2.14.0-1
ii  libc6                      2.19-13
ii  libcairo2                  1.14.0-2.1
ii  libconfig9                 1.4.9-2
ii  libfontconfig1             2.11.0-6.3
ii  libfreetype6               2.5.2-2
ii  libfuse2                   2.9.3-15+b1
ii  libgdk-pixbuf2.0-0         2.31.1-2+b1
ii  libglib2.0-0               2.42.1-1
ii  libgtk2.0-0                2.24.25-1
ii  libguestfs-perl            1:1.29.14-1
ii  libguestfs0                1:1.29.14-1
ii  libintl-perl               1.23-1
ii  liblzma5                   5.1.1alpha+20120614-2+b1
ii  libncurses5                5.9+20140913-1
ii  libpango-1.0-0             1.36.8-3
ii  libpangocairo-1.0-0        1.36.8-3
ii  libpangoft2-1.0-0          1.36.8-3
ii  libpcre3                   1:8.36-1
ii  libreadline6               6.3-8+b1
ii  libstring-shellquote-perl  1.03-1
ii  libsys-virt-perl           1.2.9-1
ii  libtinfo5                  5.9+20140913-1
ii  libvirt0                   1.2.10-1
ii  libwin-hivex-perl          1.3.11-1
ii  libxml2                    2.9.2+dfsg1-1

libguestfs-tools recommends no packages.

libguestfs-tools suggests no packages.

-- debconf-show failed


-- 
 .''`.   martin f. krafft <madduck at d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20141214/29eb3627/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list