Your message dated Sat, 14 Jan 2017 12:37:03 +0000 with message-id <1484397423.1091.25.camel@adam-barratt.org.uk> and subject line Closing requests included in today's point release has caused the Debian Bug report #844161, regarding jessie-pu: package redmine/3.0~20140825-8~deb8u4 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 owner@bugs.debian.org immediately.) -- 844161: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844161 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: jessie-pu: package redmine/3.0~20140825-8~deb8u4
- From: Antonio Terceiro <terceiro@debian.org>
- Date: Sat, 12 Nov 2016 19:05:54 -0200
- Message-id: <20161112210554.ahe55lemtzzcvokg@debian.org>
Package: release.debian.org Severity: normal Tags: jessie User: release.debian.org@packages.debian.org Usertags: pu Hi, I would like to update redmine in jessie. redmine (3.0~20140825-8~deb8u4) jessie; urgency=medium * debian/postinst: handle dependency check failure when triggered, to avoid breaking in the middle of dist-upgrades. * gemfile-adjustments.patch: avoid opening database configuration that are not readable (Closes: #826663) -- Antonio Terceiro <terceiro@debian.org> Sat, 12 Nov 2016 19:00:15 -0200 full diff attached -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)diff --git a/debian/changelog b/debian/changelog index ec0e42a..9a894b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +redmine (3.0~20140825-8~deb8u4) jessie; urgency=medium + + * debian/postinst: handle dependency check failure when triggered, to avoid + breaking in the middle of dist-upgrades. + * gemfile-adjustments.patch: avoid opening database configuration that are + not readable (Closes: #826663) + + -- Antonio Terceiro <terceiro@debian.org> Sat, 12 Nov 2016 19:00:15 -0200 + redmine (3.0~20140825-8~deb8u3) jessie; urgency=medium * gemfile-adjustments.patch: load all database drivers for all Redmine diff --git a/debian/patches/gemfile-adjustments.patch b/debian/patches/gemfile-adjustments.patch index 0db0aa3..f38d5e3 100644 --- a/debian/patches/gemfile-adjustments.patch +++ b/debian/patches/gemfile-adjustments.patch @@ -45,7 +45,7 @@ -if File.exist?(database_file) +seen_adapters = {} +Dir['{config,/etc/redmine/*}/database.yml'].select do |f| -+ File.exists?(f) ++ File.readable?(f) +end.each do |database_file| database_config = YAML::load(ERB.new(IO.read(database_file)).result) adapters = database_config.values.map {|c| c['adapter']}.compact.uniq diff --git a/debian/postinst b/debian/postinst index 0abb494..2990058 100644 --- a/debian/postinst +++ b/debian/postinst @@ -12,7 +12,25 @@ RAKE_VERBOSE=false # update Gemfile.lock, always rm -f /var/lib/redmine/Gemfile.lock -(cd /usr/share/redmine && bundle --local --quiet) +cd /usr/share/redmine +if ! bundle --local --quiet; then + if [ "$1" = "triggered" ]; then + # probably triggered in the middle of an system upgrade; ignore failure + # but abort here + echo "#########################################################################" + echo "# Failed to detect redmine dependencies; if you are in the middle of an #" + echo "# upgrade, this is probably fine, there will be another attempt later. #" + echo "# #" + echo "# If you are NOT in the middle of an upgrade, there is probably a real #" + echo "# issue. Please report a bug. #" + echo "#########################################################################" + exit 0 + else + # something is really broken + exit 1 + fi +fi +cd - >/dev/null chown www-data:www-data /var/lib/redmine/Gemfile.lock # remove and purge old instances each time postinst is calledAttachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 823517-done@bugs.debian.org, 829606-done@bugs.debian.org, 836795-done@bugs.debian.org, 836823-done@bugs.debian.org, 837105-done@bugs.debian.org, 837428-done@bugs.debian.org, 837558-done@bugs.debian.org, 837575-done@bugs.debian.org, 837607-done@bugs.debian.org, 838396-done@bugs.debian.org, 838780-done@bugs.debian.org, 838869-done@bugs.debian.org, 838882-done@bugs.debian.org, 839242-done@bugs.debian.org, 839531-done@bugs.debian.org, 839656-done@bugs.debian.org, 839731-done@bugs.debian.org, 839814-done@bugs.debian.org, 839907-done@bugs.debian.org, 839927-done@bugs.debian.org, 840127-done@bugs.debian.org, 840188-done@bugs.debian.org, 840191-done@bugs.debian.org, 840350-done@bugs.debian.org, 840378-done@bugs.debian.org, 840379-done@bugs.debian.org, 840942-done@bugs.debian.org, 841462-done@bugs.debian.org, 841681-done@bugs.debian.org, 841767-done@bugs.debian.org, 841979-done@bugs.debian.org, 842013-done@bugs.debian.org, 842509-done@bugs.debian.org, 842938-done@bugs.debian.org, 843171-done@bugs.debian.org, 843268-done@bugs.debian.org, 843411-done@bugs.debian.org, 843426-done@bugs.debian.org, 843508-done@bugs.debian.org, 843775-done@bugs.debian.org, 843999-done@bugs.debian.org, 844150-done@bugs.debian.org, 844161-done@bugs.debian.org, 844746-done@bugs.debian.org, 845156-done@bugs.debian.org, 845263-done@bugs.debian.org, 845387-done@bugs.debian.org, 845443-done@bugs.debian.org, 845474-done@bugs.debian.org, 845564-done@bugs.debian.org, 845570-done@bugs.debian.org, 846017-done@bugs.debian.org, 846031-done@bugs.debian.org, 846352-done@bugs.debian.org, 846948-done@bugs.debian.org, 847273-done@bugs.debian.org, 847921-done@bugs.debian.org, 848341-done@bugs.debian.org, 848610-done@bugs.debian.org, 848829-done@bugs.debian.org, 848908-done@bugs.debian.org, 848926-done@bugs.debian.org, 848942-done@bugs.debian.org, 849004-done@bugs.debian.org, 849020-done@bugs.debian.org, 849175-done@bugs.debian.org, 849438-done@bugs.debian.org, 849467-done@bugs.debian.org, 849538-done@bugs.debian.org, 849698-done@bugs.debian.org, 849725-done@bugs.debian.org, 849865-done@bugs.debian.org, 849869-done@bugs.debian.org, 849962-done@bugs.debian.org, 849967-done@bugs.debian.org, 850084-done@bugs.debian.org, 850154-done@bugs.debian.org, 850214-done@bugs.debian.org, 850539-done@bugs.debian.org, 850542-done@bugs.debian.org, 850563-done@bugs.debian.org, 850566-done@bugs.debian.org, 850567-done@bugs.debian.org, 838109-done@bugs.debian.org, 849488-done@bugs.debian.org
- Subject: Closing requests included in today's point release
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 14 Jan 2017 12:37:03 +0000
- Message-id: <1484397423.1091.25.camel@adam-barratt.org.uk>
Version: 8.7 Hi, Each of these bugs refers to an update that was included in today's 8.7 point release. Regards, Adam
--- End Message ---