Your message dated Fri, 28 Apr 2017 18:50:30 +0000
with message-id <[email protected]>
and subject line Bug#859454: fixed in puppet 4.8.2-4
has caused the Debian Bug report #859454,
regarding puppet: package upgrade fails due to preinst not stopping puppet 
daemon
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.)


-- 
859454: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859454
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puppet
Version: 4.8.2-3~bpo8+1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

It appears that there is no check for a running puppet daemon in the preinst 
phase of the package installation. The preinst phase should check whether the 
puppet daemon is running and stop it, but apparently it doesn't do that, so the 
upgrade fails at the end when it attempts to start the puppet daemon since the 
old daemon is still running. If I manually stop the daemon before upgrade, the 
upgrade proceeds without error, and the puppet agent is started at the end of 
the process.

Note that I am using sysvinit (rather than systemd).

Here are the errors from apt-get (following the running puppet agent's own 
attempt to install the packages; hence the "not fully installed" state):

# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up puppet (4.8.2-3~bpo8+1) ...
[FAIL] Starting puppet agent failed!
invoke-rc.d: initscript puppet, action "start" failed.
dpkg: error processing package puppet (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of puppet-common:
 puppet-common depends on puppet; however:
  Package puppet is not configured yet.
dpkg: error processing package puppet-common (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 puppet
 puppet-common

-- System Information:
Debian Release: 8.7
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.35-vs2.3.8.5.2-beng (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages puppet depends on:
ii  adduser                     3.113+nmu3
ii  facter                      2.4.6-1~bpo8+1
ii  hiera                       1.3.4-1
ii  init-system-helpers         1.22
ii  lsb-base                    4.1+Debian13+nmu1
ii  ruby                        1:2.1.5+deb8u2
ii  ruby-augeas                 0.5.0-2+b2
ii  ruby-deep-merge             1.1.1-1~bpo8+1
ii  ruby-rgen                   0.7.0-1
ii  ruby-safe-yaml              1.0.3-1
ii  ruby-shadow                 2.3.4-2
ii  ruby2.1 [ruby-interpreter]  2.1.5-2+deb8u3

Versions of packages puppet recommends:
ii  debconf-utils  1.5.56
ii  lsb-release    4.1+Debian13+nmu1
ii  ruby-selinux   2.3-2

Versions of packages puppet suggests:
pn  ruby-rrd  <none>

-- Configuration Files:
/etc/puppet/puppet.conf changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: puppet
Source-Version: 4.8.2-4

We believe that the bug you reported is fixed in the latest version of
puppet, which is due to be installed in the Debian FTP archive.

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.
Apollon Oikonomopoulos <[email protected]> (supplier of updated puppet 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: SHA256

Format: 1.8
Date: Fri, 28 Apr 2017 17:38:26 +0300
Source: puppet
Binary: puppet puppet-master puppetmaster puppet-master-passenger 
puppetmaster-passenger puppet-common
Architecture: source all
Version: 4.8.2-4
Distribution: unstable
Urgency: medium
Maintainer: Puppet Package Maintainers 
<[email protected]>
Changed-By: Apollon Oikonomopoulos <[email protected]>
Description:
 puppet     - configuration management system
 puppet-common - transitional dummy package
 puppet-master - configuration management system, master service
 puppet-master-passenger - configuration management system, scalable master 
service
 puppetmaster - configuration management system, master service - transitional 
pa
 puppetmaster-passenger - configuration management system, scalable master 
service - transi
Closes: 855923 859454
Changes:
 puppet (4.8.2-4) unstable; urgency=medium
 .
   * Handle creation and removal of /var/cache/puppet/state (Closes: #855923)
   * Add Breaks against old facter versions; facter before 2.4.0 uses a
     deprecated Puppet settings API making `facter --puppet` no longer work with
     Puppet 4.
   * puppet-common: stop the puppet service in preinst when upgrading from
     Puppet 3. Fixes upgrade on sysvinit systems running the puppet agent.
     (Closes: #859454)
Checksums-Sha1:
 2242888dfc266665561439fcf741b9c7e12c56d6 2524 puppet_4.8.2-4.dsc
 e957390c3bffb40fa42a881dd662e0e556e501a8 36668 puppet_4.8.2-4.debian.tar.xz
 276609e8844b09ee60537b758362e883304bb4b5 23542 puppet-common_4.8.2-4_all.deb
 37095ab2e74d64c1250c22d5f46e60cb8c108459 27172 
puppet-master-passenger_4.8.2-4_all.deb
 375af27a74e5f7cc28764334dcc06fbf06ece592 26084 puppet-master_4.8.2-4_all.deb
 69cbaf58ebd6a4078c6d088acb8c94966ec6edba 1122742 puppet_4.8.2-4_all.deb
 8b1dd19202b3b7f39f7c523c6e7f8d45e27b5588 8054 puppet_4.8.2-4_amd64.buildinfo
 bd6db284570618ad43b7b37f3663d0cdce1b0d86 22870 
puppetmaster-passenger_4.8.2-4_all.deb
 6bbd841b7caaa16d257556b1a01a6d9fd7f088e5 23036 puppetmaster_4.8.2-4_all.deb
Checksums-Sha256:
 e8fc9a5b8cd75db3c1eba0dc96e4bbfcf99480fcf845f17fb225784c6ed79436 2524 
puppet_4.8.2-4.dsc
 2df5d2c6cbeac62ebc4698962574e76e2db292f4a114edcd62174c3a24a83439 36668 
puppet_4.8.2-4.debian.tar.xz
 62a783f57a804dc81f24406211f42baf3f9e49394cb098eb92cc98e0e2280e74 23542 
puppet-common_4.8.2-4_all.deb
 f53885ff35f97ae8f6efd43b4d679e2bd47f18c4ca7371bcbaa68de5c4d8c569 27172 
puppet-master-passenger_4.8.2-4_all.deb
 a9e034853d25c86ad5ea41b1cc2d151ad93413649d55b650784d116a3376d890 26084 
puppet-master_4.8.2-4_all.deb
 e3956d603c4e24e0043650549a3d46e98ceaf95a95b6fb29803cd5589d6ee1c8 1122742 
puppet_4.8.2-4_all.deb
 8873d7ee36af98d8448ce7a1084b6f5a1dd5d95e9e066694405069d4de682683 8054 
puppet_4.8.2-4_amd64.buildinfo
 4d57bf70f72e49dd3ba9a18b5f1cc0e8813b13d3adf80566c406bf3dc94f25bf 22870 
puppetmaster-passenger_4.8.2-4_all.deb
 8fff166d652fbd307df348f596cc7ce3252efff076a508545fbeb35326a4cf33 23036 
puppetmaster_4.8.2-4_all.deb
Files:
 6bfdb2b2bd0522bb3b82744024e96150 2524 admin optional puppet_4.8.2-4.dsc
 b06492a4efd7da05659a196d9b9328ee 36668 admin optional 
puppet_4.8.2-4.debian.tar.xz
 e7c6992ef7d2b65fe82ebe8d300cd2b2 23542 oldlibs extra 
puppet-common_4.8.2-4_all.deb
 4207528f736ff01d1fbc8fe45719d570 27172 admin optional 
puppet-master-passenger_4.8.2-4_all.deb
 7d7bd0d0250788cc3d259dcf0eecb967 26084 admin optional 
puppet-master_4.8.2-4_all.deb
 8efb289e22391dc9833a9f5376273b0e 1122742 admin optional puppet_4.8.2-4_all.deb
 8761f7e0cd06bc03c73356d93201783d 8054 admin optional 
puppet_4.8.2-4_amd64.buildinfo
 89df9326070959894ee70b0feb336861 22870 oldlibs extra 
puppetmaster-passenger_4.8.2-4_all.deb
 cfea37c3f769845180769b7e43f807d9 23036 oldlibs extra 
puppetmaster_4.8.2-4_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPgL9ZlYpWVIRC6uZ9RsYxyAkgiQFAlkDhyUACgkQ9RsYxyAk
giQrRxAAg5EG6GufxukWLWGjPP5IMZKSlYdqz/2KGtOPct+8H5pOtMHMlv0YBBkN
hvMzC1K9QYvHN8piB8/kaTc/9khnwE9Lf1BXpn+m9Ig62K+Szm3OIOPIEdU3Q1F5
lSHSrUAUodsDreBIlZ62bIB7sFuCTzIbyO4bpoXFv9XO2V3LpvgSZDpj4Ipu4Jnv
QGOSWZ/e+W4MuOnjyRlT1sgFw4iZWN21l9Bi6S43N4mEupvsl4AIPLzwImz+elmf
NgyhRK2PPE1DKALG80EUUSCiugXiNjA9KYPVvPv8KpAJfgTx3wYefXHeBSJTAZrP
mrLRBWOlMA88eR550fJKyMLqJyi9Hl8V5IC8oK7V5oZVvkso2S/4uM3x4CoYIPu2
pEgnGRGWW5lVRzdXsLbNextSKDtlRzb6Vaz44NEOtRlmckMcNROC8F9FumfQd2NL
7EaXGcMdXGUnOsrXPrwp0YwADRF7f7XpcSr12wgEumB42bHp/aEuLyPyNJn5jX2O
panA85EUPETMoDSE/NzVyjEWOslbLIqcg+okTpf3s3P209RrQ6D9p+J9a+2zclfC
Ip7yFUI+wQv8aix5XeEN/n8rTdM3xqE0HJzKhB7gUo2+baNNR5ty6rHejVPYKx9d
1X8Fef6N8Nl82+UI7+AMDnmPWvJugDZNxk/b4/6TrWlMEMT6ddM=
=/+t3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to