Your message dated Fri, 05 Feb 2016 17:14:26 +0000
with message-id <[email protected]>
and subject line Bug#813688: Removed package(s) from unstable
has caused the Debian Bug report #715391,
regarding Cluster report generation fails.
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.)


-- 
715391: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715391
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pacemaker-mgmt
Version: 2.0.0+hg1141-2.2
Severity: normal
Tags: patch

My pacemaker cluster is running wheezy with a backport of the
pacemaker-mgmt package.

The "Tools" -> "Cluster Report" command fails instantly. The cluster log
contains (hb_report ... /tmp/clrp.XXXXXX contains illegal characters),
which is from the following code in hb_report from the cluster-glue
(wheezy or sid) package ($1 = basename of report temp file):

chkname() {
        [ "$1" ] || usage short
        echo $1 | grep -qs '[^a-zA-Z0-9@_+=:-]' &&
                fatal "$1 contains illegal characters"
}

The mgmtd daemon contains the following code to generate the reports
temporary file:

const char *tempdir = "/tmp";
char *dest = tempnam(tempdir, "clrp.");

I couldn't find a quick source for the character set used by tempnam to
generate the filename, so the patch might just be a incomplete / wrong
workaround.
--- pacemaker-mgmt-2.0.0+hg1141.orig/mgmt/daemon/mgmt_crm.c
+++ pacemaker-mgmt-2.0.0+hg1141/mgmt/daemon/mgmt_crm.c
@@ -1956,7 +1956,7 @@
 	char str[MAX_STRLEN];
 	char filename[MAX_STRLEN];
 	const char *tempdir = "/tmp";
-	char *dest = tempnam(tempdir, "clrp.");
+	char *dest = tempnam(tempdir, "clrp_");
 	struct stat statbuf;
 	char *ret = NULL;
 	FILE *fstream = NULL;

--- End Message ---
--- Begin Message ---
Version: 2.0.0+hg1141-2.3+rm

Dear submitter,

as the package pacemaker-mgmt has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/813688

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to