[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109772: marked as done (unblock: puppet-module-voxpupuli-corosync/6.0.1-4)



Your message dated Wed, 23 Jul 2025 19:01:34 +0000
with message-id <E1ueeic-00Cfj3-06@respighi.debian.org>
and subject line unblock puppet-module-voxpupuli-corosync
has caused the Debian Bug report #1109772,
regarding unblock: puppet-module-voxpupuli-corosync/6.0.1-4
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.)


-- 
1109772: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109772
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: puppet-module-voxpupuli-corosync@packages.debian.org
Control: affects -1 + src:puppet-module-voxpupuli-corosync
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package puppet-module-voxpupuli-corosync

[ Reason ]
Without the change, the "missing" (ie: the rexml isn't seen by
puppetserver), it takes 3 runs until puppetserver can compile
successfully the catalog for the agent. On each of the first
3 runs, the agent complains that it cannot load the provider.

Note this is reproducible by just doing:
"puppetserver reload"

Please note that this is a known issue in the puppetserver
itself that we intend to fix in the puppetserver itself later
on (during the development cycle of Forky), however, this
fix is especially targeted for Trixie and seem more straitforward
and appropriate in the puppet-module-voxpupuli-corosync for
the moment.

[ Impact ]
First 3 runs of the puppet agent fail.

[ Tests ]
Manually tested the fix.

[ Risks ]
Minimal risk, as we don't see any other package clashing
with the symlink I'm adding in the postinst of this package.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock puppet-module-voxpupuli-corosync/6.0.1-4
diff --git a/debian/changelog b/debian/changelog
index e7eb648..d98762a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+puppet-module-voxpupuli-corosync (6.0.1-6) unstable; urgency=medium
+
+  * Also remove /usr/lib/puppetserver/vendored-jruby-gems/gems/rexml-3.3.9
+    symlink in postrm.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 23 Jul 2025 13:52:42 +0200
+
+puppet-module-voxpupuli-corosync (6.0.1-5) unstable; urgency=medium
+
+  * Add a rexml-3.3.9.gemspec symlink.
+  * Runtime depends on libruby3.3 to make sure the gem rexml-3.3.9 is present.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 23 Jul 2025 12:19:20 +0200
+
 puppet-module-voxpupuli-corosync (6.0.1-4) unstable; urgency=medium
 
   * Add fix-compat-with-latest-puppetserver.patch.
diff --git a/debian/control b/debian/control
index f29fa94..b63c645 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Homepage: https://github.com/voxpupuli/puppet-corosync
 Package: puppet-module-voxpupuli-corosync
 Architecture: all
 Depends:
+ libruby3.3,
  puppet,
  puppet-module-puppetlabs-stdlib,
  ${misc:Depends},
diff --git a/debian/puppet-module-voxpupuli-corosync.postinst b/debian/puppet-module-voxpupuli-corosync.postinst
index 6b2b195..54fcf65 100644
--- a/debian/puppet-module-voxpupuli-corosync.postinst
+++ b/debian/puppet-module-voxpupuli-corosync.postinst
@@ -4,6 +4,12 @@ set -e
 
 if [ "${1}" = "configure" ] ; then
 	update-alternatives --install /usr/share/puppet/modules/corosync puppet-module-corosync /usr/share/puppet/modules.available/voxpupuli-corosync 500
+	if [ -f /usr/lib/ruby/gems/3.3.0/specifications/rexml-3.3.9.gemspec ] && [ -d /usr/lib/puppetserver/vendored-jruby-gems/specifications ] && ! [ -h /usr/lib/puppetserver/vendored-jruby-gems/specifications/rexml-3.3.9.gemspec ] ; then
+		ln -s /usr/lib/ruby/gems/3.3.0/specifications/rexml-3.3.9.gemspec /usr/lib/puppetserver/vendored-jruby-gems/specifications/rexml-3.3.9.gemspec
+	fi
+	if [ -d /usr/lib/ruby/gems/3.3.0/gems/rexml-3.3.9 ] && [ -d /usr/lib/puppetserver/vendored-jruby-gems/gems ] && ! [ -h /usr/lib/puppetserver/vendored-jruby-gems/gems/rexml-3.3.9 ] ; then
+		ln -s /usr/lib/ruby/gems/3.3.0/gems/rexml-3.3.9 /usr/lib/puppetserver/vendored-jruby-gems/gems/rexml-3.3.9
+	fi
 fi
 
 #DEBHELPER#
diff --git a/debian/puppet-module-voxpupuli-corosync.postrm b/debian/puppet-module-voxpupuli-corosync.postrm
index fef95b4..cf512d9 100644
--- a/debian/puppet-module-voxpupuli-corosync.postrm
+++ b/debian/puppet-module-voxpupuli-corosync.postrm
@@ -4,6 +4,12 @@ set -e
 
 if [ "${1}" = "remove" ] ; then
 	update-alternatives --remove puppet-module-corosync /usr/share/puppet/modules.available/voxpupuli-corosync
+	if [ -h /usr/lib/puppetserver/vendored-jruby-gems/specifications/rexml-3.3.9.gemspec ] ; then
+		rm -f /usr/lib/puppetserver/vendored-jruby-gems/specifications/rexml-3.3.9.gemspec || true
+	fi
+	if [ -h /usr/lib/puppetserver/vendored-jruby-gems/gems/rexml-3.3.9 ] ; then
+		rm -f /usr/lib/puppetserver/vendored-jruby-gems/gems/rexml-3.3.9 || true
+	fi
 fi
 
 #DEBHELPER#

--- End Message ---
--- Begin Message ---
Unblocked puppet-module-voxpupuli-corosync.

--- End Message ---

Reply to: