Your message dated Sat, 26 Mar 2022 11:59:13 +0000
with message-id 
<c4d20274f6d76a43fb574d2177f6e3af4235e4be.ca...@adam-barratt.org.uk>
and subject line Closing p-u requests for updates in 11.3
has caused the Debian Bug report #1002051,
regarding bullseye-pu: package heartbeat/1:3.0.6-11+deb11u1
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.)


-- 
1002051: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002051
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian....@packages.debian.org
Usertags: pu

[ Reason ]
heartbeat deamon starts correctly after installation, but not
after reboot because of missing /run/heartbeat directories.
The change reintroduces a tempfiles configuration for creating
the required directories on boot.

[ Impact ]
heartbeat fails to start correctly until the required directories
in /run are created.

[ Tests ]
Manually tested by checking the service starts correctly after
a reboot.

[ Risks ]
The change is simple and has already been released to unstable
in #993575 and tested by users.

[ 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 (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
Change removes creating /run directories in postinst, since
this masks the problem until reboot. Instead a tempfiles
configuration is included for creating the required directories.

[ Other info ]
The bug only affects systemd installations since the init script
recreates the required directories on every start.


diff -Nru heartbeat-3.0.6/debian/changelog heartbeat-3.0.6/debian/changelog
--- heartbeat-3.0.6/debian/changelog    2021-01-20 21:59:42.000000000 +0100
+++ heartbeat-3.0.6/debian/changelog    2021-12-20 23:51:42.000000000 +0100
@@ -1,3 +1,9 @@
+heartbeat (1:3.0.6-11+deb11u1) bullseye; urgency=medium
+
+  * Use tmpfiles.d to create /run/heartbeat (Closes: #1002037)
+
+ -- Valentin Vidic <vvi...@debian.org>  Mon, 20 Dec 2021 23:51:42 +0100
+
 heartbeat (1:3.0.6-11) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru heartbeat-3.0.6/debian/heartbeat.postinst 
heartbeat-3.0.6/debian/heartbeat.postinst
--- heartbeat-3.0.6/debian/heartbeat.postinst   2018-12-09 14:58:48.000000000 
+0100
+++ heartbeat-3.0.6/debian/heartbeat.postinst   2021-12-20 23:50:08.000000000 
+0100
@@ -33,7 +33,6 @@
        fi
 
        for i in /var/lib/heartbeat/ccm /var/lib/heartbeat/crm \
-                       /run/heartbeat/ccm /run/heartbeat/crm \
                        /var/lib/heartbeat/pengine; do
                mkdir -p $i
                chmod 750 $i
@@ -41,10 +40,6 @@
                chgrp haclient $i
        done
 
-       # prepare agent state dir
-       mkdir -p /run/resource-agents
-       chmod 755 /run/resource-agents
-
        chgrp haclient /usr/bin/cl_status
        chmod 2555 /usr/bin/cl_status
 
diff -Nru heartbeat-3.0.6/debian/rules heartbeat-3.0.6/debian/rules
--- heartbeat-3.0.6/debian/rules        2020-08-22 23:04:27.000000000 +0200
+++ heartbeat-3.0.6/debian/rules        2021-12-20 23:50:08.000000000 +0100
@@ -103,7 +103,7 @@
 
        # move sysv init script and systemd service file to expected locations 
for dh_install
        ! test -e ./debian/tmp/usr/lib/tmpfiles.d/heartbeat.conf || \
-       mv ./debian/tmp/usr/lib/tmpfiles.d/heartbeat.conf 
./debian/heartbeat.tmpfile
+       mv ./debian/tmp/usr/lib/tmpfiles.d/heartbeat.conf 
./debian/heartbeat.tmpfiles
        ! test -e ./debian/tmp/lib/systemd/system/heartbeat.service || \
        mv ./debian/tmp/lib/systemd/system/heartbeat.service 
./debian/heartbeat.service
        ! test -e ./debian/tmp/etc/init.d/heartbeat || \
@@ -129,6 +129,7 @@
        dh_installexamples -a
        dh_installinit -a -n -u 'defaults 20 32'
        dh_installsystemd -a
+       dh_installtmpfiles -a
        dh_installman -a
        dh_installchangelogs -a `pwd`/doc/ChangeLog
        dh_installlogcheck -a

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 11.3

Hi,

The updates referenced by these bugs were included in stable as part of
this morning's 11.3 point release.

Regards,

Adam

--- End Message ---

Reply via email to