Your message dated Mon, 02 Feb 2015 21:34:16 +0000
with message-id <e1yiodm-0001fe...@franck.debian.org>
and subject line Bug#774607: fixed in git 1:2.1.4-2.1
has caused the Debian Bug report #774607,
regarding gitweb: dpkg trigger cycle via apache2
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 ow...@bugs.debian.org
immediately.)


-- 
774607: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774607
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gitweb
Version: 1:2.1.4-2
Severity: serious
Control: block 774794 by -1

Hi,

The gitweb package has a trigger cycle via apache2.

Steps to reproduce the cycle (in a Jessie/sid chroot):
"""
# apt-get install apache2 gitweb
# dpkg --version | grep ' version 1.17' && \
  dpkg --unpack /var/cache/apt/archives/apache2_*.deb && \
  dpkg --configure --pending
Debian `dpkg' package management program version 1.17.23 (amd64).
(Reading database ... 13131 files and directories currently installed.)
Preparing to unpack .../apache2_2.4.10-9_amd64.deb ...
Unpacking apache2 (2.4.10-9) over (2.4.10-9) ...
Setting up apache2 (2.4.10-9) ...
invoke-rc.d: policy-rc.d denied execution of restart.
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  gitweb -> gitweb
 packages' pending triggers which are or may be unresolvable:
  gitweb: /usr/share/apache2/apache2-maintscript-helper
dpkg: error processing package gitweb (--configure):
 triggers looping, abandoned
Errors were encountered while processing:
 gitweb
"""

This simulates an upgrade scenario, where apache2 might be
temporarily deconfigured while gitweb remains configured.  If this
happens, dpkg is unable to recover as the cycle due to "await" trigger
AND the dependency requires both packages to be configured.

Known solutions:

 * Use no-await triggers.  *CAVEAT*: not always applicable.  Known suitable
   use cases includes "cache" handling, where the cache is allowed to be
   out of date tempoarily.
 * Reduce the dependency to Recommends.  *CAVEAT*: Rarely applicable.
 * Rewrite the solution to avoid triggers entirely. *CAVEAT*: May be
   non-trivial and likely to involve updates to all packages relying on
   the trigger.

The trigger on apache2 (via the
"/usr/share/apache2/apache2-maintscript-helper" file) is defined at
[1].

~Niels

[1] 
http://repo.or.cz/w/git/debian.git/blob/a1b6464b17d4672d0ea56b0815a1da7d82693404:/debian/gitweb.triggers

--- End Message ---
--- Begin Message ---
Source: git
Source-Version: 1:2.1.4-2.1

We believe that the bug you reported is fixed in the latest version of
git, 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 774...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <ni...@thykier.net> (supplier of updated git 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 02 Feb 2015 19:42:37 +0100
Source: git
Binary: git git-man git-core git-doc git-arch git-cvs git-svn git-mediawiki 
git-email git-daemon-run git-daemon-sysvinit git-gui gitk git-el gitweb git-all
Architecture: source amd64 all
Version: 1:2.1.4-2.1
Distribution: unstable
Urgency: medium
Maintainer: Gerrit Pape <p...@smarden.org>
Changed-By: Niels Thykier <ni...@thykier.net>
Description:
 git        - fast, scalable, distributed revision control system
 git-all    - fast, scalable, distributed revision control system (all subpacka
 git-arch   - fast, scalable, distributed revision control system (arch interop
 git-core   - fast, scalable, distributed revision control system (obsolete)
 git-cvs    - fast, scalable, distributed revision control system (cvs interope
 git-daemon-run - fast, scalable, distributed revision control system 
(git-daemon s
 git-daemon-sysvinit - fast, scalable, distributed revision control system 
(git-daemon s
 git-doc    - fast, scalable, distributed revision control system (documentatio
 git-el     - fast, scalable, distributed revision control system (emacs suppor
 git-email  - fast, scalable, distributed revision control system (email add-on
 git-gui    - fast, scalable, distributed revision control system (GUI)
 git-man    - fast, scalable, distributed revision control system (manual pages
 git-mediawiki - fast, scalable, distributed revision control system (MediaWiki 
in
 git-svn    - fast, scalable, distributed revision control system (svn interope
 gitk       - fast, scalable, distributed revision control system (revision tre
 gitweb     - fast, scalable, distributed revision control system (web interfac
Closes: 774607
Changes:
 git (1:2.1.4-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Use interest-noawait triggers for gitweb to avoid a
     trigger cycle.  (Closes: #774607)
Checksums-Sha1:
 f1e39c563cff0a0a5c1daefdcf520c862689bac7 2775 git_2.1.4-2.1.dsc
 c8ffc156a58fc47de3fe49624176f30f6d1c7d64 464924 git_2.1.4-2.1.debian.tar.xz
 47b79d5beeafebb6a484b621e67cacefce6da4ab 3624026 git_2.1.4-2.1_amd64.deb
 d5e4d9d7d706c23fbdf237c8e884ea03aff62de8 1382572 git-doc_2.1.4-2.1_all.deb
 5d2f8a42749b49b6b52f5449859d6417d5815d16 587922 git-arch_2.1.4-2.1_all.deb
 ecedc24f8e01f65fb7554eec6c688f5727f3bb50 638388 git-cvs_2.1.4-2.1_all.deb
 61a5562f9c39c9fcf5f1ca327eb16d1eacddc463 661564 git-svn_2.1.4-2.1_all.deb
 6735e01ad99853c0d1ea03e46fc46387aa80e1df 591188 git-mediawiki_2.1.4-2.1_all.deb
 cdd12b0449b52687cb371bc459be351a5f36f156 577146 
git-daemon-run_2.1.4-2.1_all.deb
 53633a33d65c830f44f8938ff7712c0ed3b4bdda 578108 
git-daemon-sysvinit_2.1.4-2.1_all.deb
 ae4c5fa02ff19b0c89dd79e1b082d801a13ad94f 594282 git-email_2.1.4-2.1_all.deb
 273773263a40f03a29a0f6e1a5c9aa6849e4f646 765942 git-gui_2.1.4-2.1_all.deb
 593191146f71081d4ac8b25bf42922803d4c6b77 695144 gitk_2.1.4-2.1_all.deb
 6cb9622770456e2cf47b6a3fa77d274d84cf672d 580002 gitweb_2.1.4-2.1_all.deb
 6f957c0612af97ac56801007685d9af7a32d9ad3 575440 git-all_2.1.4-2.1_all.deb
 76642f84a20a6809209d8b9ae30c8a1c990a999e 594272 git-el_2.1.4-2.1_all.deb
 500590fa74bf8b849f8490b9bd21a04588bc8c9d 1266150 git-man_2.1.4-2.1_all.deb
 678f16db4169e17fd224bce52126b6907adec75b 1494 git-core_2.1.4-2.1_all.deb
Checksums-Sha256:
 8186cd18afe8f33490f53b385dd74c44d98c55dc22c9c1a0e78d5234405dd566 2775 
git_2.1.4-2.1.dsc
 a5e75a45917f3f5d308c5b14000e7a1b8372714114179376d16432661378351d 464924 
git_2.1.4-2.1.debian.tar.xz
 7efb600faadfdc65c62af7497e53ff62b87fb114368c63c53bc2a25590b561d5 3624026 
git_2.1.4-2.1_amd64.deb
 bf32914d8b16d35a738d530bcf084415851d7d2a750eb81aaa8b5fe15d88f608 1382572 
git-doc_2.1.4-2.1_all.deb
 404e3876a1cedff9b5ae926015cc636a74840874a06b73780eaa034d632e11df 587922 
git-arch_2.1.4-2.1_all.deb
 26be5d6f9f163615727b0d6e882360afb187520d0d0d062c0df127d7097f78ab 638388 
git-cvs_2.1.4-2.1_all.deb
 27b8173d696b8746002d4875346816652d31e2eea289ad5b8fbd2b50705fccd6 661564 
git-svn_2.1.4-2.1_all.deb
 6babdbb7dfc7fe1d5ce6c0f6cb8d434a575432a824cfff3ecda9ad9ea885f9fe 591188 
git-mediawiki_2.1.4-2.1_all.deb
 d04543d0564395e8df8ddb1aa853e4a3b9f75eae070d546cb83097ea6b20b3ee 577146 
git-daemon-run_2.1.4-2.1_all.deb
 8c5e9a6f0ac092978e9230ed75817435ddaad8701dd3e3028368eaea1fef88a3 578108 
git-daemon-sysvinit_2.1.4-2.1_all.deb
 c71ebad2e5a571c9c1b7a3dbbf04b0221956d8cc4b36382422675d6cf827f661 594282 
git-email_2.1.4-2.1_all.deb
 9d273a641cd49cd541ea645368d28d7e0459565e334e6b376f936fb4fe39fdee 765942 
git-gui_2.1.4-2.1_all.deb
 bb7d38f29758c6606861c11f1febf055f62fa8c897ccee1d12456c5379a31616 695144 
gitk_2.1.4-2.1_all.deb
 0cc38a763e22d0c1401c5be6def80afdb9b4bb4f5075f901c592068db217d3a2 580002 
gitweb_2.1.4-2.1_all.deb
 825009ad6a1f9936391eb77cff0d57c2b9f08e80cf133887d22cacc603e1a367 575440 
git-all_2.1.4-2.1_all.deb
 0c24912b2a683386a114b71d546bac222e88df6718f243bd816cf67c7bb3efdb 594272 
git-el_2.1.4-2.1_all.deb
 f342c0e20d66cf7a83d1cfebe1d1c8c06b77a2fe5ea84f1ce48186438ef68e4f 1266150 
git-man_2.1.4-2.1_all.deb
 4b030c6c8f544fa5a2d8aff0aa6a07a8e5efe84a6894a1d0a0e745e9d0545c55 1494 
git-core_2.1.4-2.1_all.deb
Files:
 423749f9035a29996e919928449c4a72 2775 vcs optional git_2.1.4-2.1.dsc
 41465883f64e5dbe56d98a62432a22ee 464924 vcs optional 
git_2.1.4-2.1.debian.tar.xz
 a995841af742b012bba8cd6a80d1f017 3624026 vcs optional git_2.1.4-2.1_amd64.deb
 dae2c44b8c98d4a6ac6d583084604e44 1382572 doc optional git-doc_2.1.4-2.1_all.deb
 3f395eac92fe4f5f8f91566e567e973b 587922 vcs optional git-arch_2.1.4-2.1_all.deb
 9018b87ac87be0c034ab8687f7c2c422 638388 vcs optional git-cvs_2.1.4-2.1_all.deb
 80785b1b799ddb3013458ce5473f5dea 661564 vcs optional git-svn_2.1.4-2.1_all.deb
 f4395fe2be8221b72e519c7cfbba851a 591188 vcs optional 
git-mediawiki_2.1.4-2.1_all.deb
 9ed4d730acb398e556e4bc618ee168ec 577146 vcs optional 
git-daemon-run_2.1.4-2.1_all.deb
 7546b0d06b90bac0b36022dab1f03d19 578108 vcs extra 
git-daemon-sysvinit_2.1.4-2.1_all.deb
 509b08422925bb8fb67c09ff8a01f604 594282 vcs optional 
git-email_2.1.4-2.1_all.deb
 eb9e76859815577c6527bacc033a5a95 765942 vcs optional git-gui_2.1.4-2.1_all.deb
 cbe6548533498a08bba05b132f2d8741 695144 vcs optional gitk_2.1.4-2.1_all.deb
 591aea67034d4c2d750732fb749bc597 580002 vcs optional gitweb_2.1.4-2.1_all.deb
 61db2ac5e0d28464c6f9320d06d04931 575440 vcs optional git-all_2.1.4-2.1_all.deb
 32dfc39152f0f9dc5d36c385bbb6c418 594272 vcs optional git-el_2.1.4-2.1_all.deb
 9f252d1cfead4e13cc06e67fa8ac74a0 1266150 doc optional git-man_2.1.4-2.1_all.deb
 99ed2c66543ac8805ed95e6950ab5e4b 1494 vcs optional git-core_2.1.4-2.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUz9coAAoJEAVLu599gGRCxJoP/jyudXY9H0PmcHCxKxOEHDwM
+bW+6KDu0y/sCj2SGUFaB3ImQEcpfe2exRGV3R6HNXjxVkS88cVBHlfEE4AGMyLq
goHxHmuNInhqQJ5VGwuETpzxUqPf78Gf+zlV7iagfEb5ESDJME0Q65VdmSqQbcC3
aAoYUw7QJGYaI1FpDAWT6vfi29JJ83xWXpf/OpfjmajHZTbzLKfHZxkSY6qd+5fO
KBc5SO/QYy6oUQ5Oi6J7aUX9BaFWzy7WlnhiM+y8CoI7WHTZFw3xlBbDyna11L4a
aGlUwgHcjm9y7klbAYqcZhFVQGQ6H/gSIxwZj3s5JDRSIH+xZr+K0PmXhrxhDl8g
lX8V0AeKTjMVtTPGhnaJpSLzixgFfxzvimiz6axpCoul9t5jEFVNY2+oKmkEFPKK
Fv4pbbRS1XFHtUO6lmVw7vfkw/A72XV4i1Jn7FZTHUoz/X0a8vNRaA3AT0o29JPM
FEt4S4joO9WXq8bh9BCqP2URFF6rbPeWiB2Bq2mtNlZPq9ODawVk1tBrdWFKkC5t
SzQb+veBarF2b1IZvbQZ4kYZ8r1EAiRgD7Wbc/f41kvrTAJIriZZPNg/rb8wbujw
4RusSbAt5VRQxg2+pZwzHe2CA5i5cOxGb5qECDYcpWjsHtwwHlrL0+Kf2PMWdas4
Nm1vRhTNQOiPweC0ubMQ
=3hOz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to