Your message dated Mon, 12 Mar 2012 16:02:01 +0000
with message-id <[email protected]>
and subject line Bug#657848: fixed in multipath-tools 0.4.9+git0.4dfdaf2b-3
has caused the Debian Bug report #657848,
regarding Please enable hardened build flags
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.)
--
657848: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: multipath-tools
Version: 0.4.9-3
Severity: important
Tags: patch
Please enable hardened build flags through dpkg-buildflags.
Patch attached.
Cheers,
Moritz
diff -aur multipath-tools-0.4.9.harden/kpartx/Makefile multipath-tools-0.4.9/kpartx/Makefile
--- multipath-tools-0.4.9.harden/kpartx/Makefile 2010-05-22 14:01:58.000000000 +0200
+++ multipath-tools-0.4.9/kpartx/Makefile 2012-01-29 12:37:47.000000000 +0100
@@ -6,7 +6,7 @@
CFLAGS += -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-LDFLAGS = -ldevmapper
+LDFLAGS = `dpkg-buildflags --get LDFLAGS` -ldevmapper
OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o sun.o \
gpt.o mac.o crc32.o lopart.o xstrncpy.o devmapper.o
EXEC = kpartx
Nur in multipath-tools-0.4.9/kpartx: Makefile~.
diff -aur multipath-tools-0.4.9.harden/Makefile.inc multipath-tools-0.4.9/Makefile.inc
--- multipath-tools-0.4.9.harden/Makefile.inc 2010-05-22 14:01:58.000000000 +0200
+++ multipath-tools-0.4.9/Makefile.inc 2012-01-29 12:37:22.000000000 +0100
@@ -35,10 +35,12 @@
GZIP = /bin/gzip -9 -c
INSTALL_PROGRAM = install
-OPTFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes
-CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\"
+OPTFLAGS = -pipe -Wall -Wunused -Wstrict-prototypes
+CFLAGS = `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\"
SHARED_FLAGS = -shared
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
+
+
Nur in multipath-tools-0.4.9: Makefile.inc~.
diff -aur multipath-tools-0.4.9.harden/multipath/Makefile multipath-tools-0.4.9/multipath/Makefile
--- multipath-tools-0.4.9.harden/multipath/Makefile 2010-05-22 14:01:58.000000000 +0200
+++ multipath-tools-0.4.9/multipath/Makefile 2012-01-29 12:37:56.000000000 +0100
@@ -7,7 +7,7 @@
OBJS = main.o
CFLAGS += -I$(multipathdir)
-LDFLAGS += -lpthread -ldevmapper -ldl -lmultipath -L$(multipathdir)
+LDFLAGS += `dpkg-buildflags --get LDFLAGS` -lpthread -ldevmapper -ldl -lmultipath -L$(multipathdir)
EXEC = multipath
Nur in multipath-tools-0.4.9/multipath: Makefile~.
diff -aur multipath-tools-0.4.9.harden/multipathd/Makefile multipath-tools-0.4.9/multipathd/Makefile
--- multipath-tools-0.4.9.harden/multipathd/Makefile 2012-01-29 12:35:20.000000000 +0100
+++ multipath-tools-0.4.9/multipathd/Makefile 2012-01-29 12:38:03.000000000 +0100
@@ -6,7 +6,7 @@
# basic flags setting
#
CFLAGS += -I$(multipathdir)
-LDFLAGS += -lpthread -ldevmapper -lreadline -ldl \
+LDFLAGS += `dpkg-buildflags --get LDFLAGS` -lpthread -ldevmapper -lreadline -ldl \
-lmultipath -L$(multipathdir)
#
Nur in multipath-tools-0.4.9/multipathd: Makefile~.
--- End Message ---
--- Begin Message ---
Source: multipath-tools
Source-Version: 0.4.9+git0.4dfdaf2b-3
We believe that the bug you reported is fixed in the latest version of
multipath-tools, which is due to be installed in the Debian FTP archive:
kpartx_0.4.9+git0.4dfdaf2b-3_amd64.deb
to main/m/multipath-tools/kpartx_0.4.9+git0.4dfdaf2b-3_amd64.deb
multipath-tools-boot_0.4.9+git0.4dfdaf2b-3_all.deb
to main/m/multipath-tools/multipath-tools-boot_0.4.9+git0.4dfdaf2b-3_all.deb
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-3_amd64.deb
to main/m/multipath-tools/multipath-tools-dbg_0.4.9+git0.4dfdaf2b-3_amd64.deb
multipath-tools_0.4.9+git0.4dfdaf2b-3.debian.tar.gz
to main/m/multipath-tools/multipath-tools_0.4.9+git0.4dfdaf2b-3.debian.tar.gz
multipath-tools_0.4.9+git0.4dfdaf2b-3.dsc
to main/m/multipath-tools/multipath-tools_0.4.9+git0.4dfdaf2b-3.dsc
multipath-tools_0.4.9+git0.4dfdaf2b-3_amd64.deb
to main/m/multipath-tools/multipath-tools_0.4.9+git0.4dfdaf2b-3_amd64.deb
multipath-udeb_0.4.9+git0.4dfdaf2b-3_amd64.udeb
to main/m/multipath-tools/multipath-udeb_0.4.9+git0.4dfdaf2b-3_amd64.udeb
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <[email protected]> (supplier of updated multipath-tools
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 12 Mar 2012 20:53:46 +0530
Source: multipath-tools
Binary: multipath-tools multipath-tools-dbg kpartx multipath-tools-boot
multipath-udeb
Architecture: source amd64 all
Version: 0.4.9+git0.4dfdaf2b-3
Distribution: unstable
Urgency: low
Maintainer: Debian LVM Team <[email protected]>
Changed-By: Ritesh Raj Sarraf <[email protected]>
Description:
kpartx - create device mappings for partitions
multipath-tools - maintain multipath block device access
multipath-tools-boot - Support booting from multipath devices
multipath-tools-dbg - maintain multipath block device access - debugging
symbols
multipath-udeb - maintain multipath block device access - udeb package (udeb)
Closes: 657848
Changes:
multipath-tools (0.4.9+git0.4dfdaf2b-3) unstable; urgency=low
.
* [d46bb8f] Fix hardening build flags (Closes: #657848)
Checksums-Sha1:
0c75616ef2b62e05f422d492c9b4644600b9f6bf 2395
multipath-tools_0.4.9+git0.4dfdaf2b-3.dsc
28f1c55c35c6b4ed4a418658642472b333318b53 29140
multipath-tools_0.4.9+git0.4dfdaf2b-3.debian.tar.gz
f922a7048abb00325d51b5fe9547b162c107631d 207836
multipath-tools_0.4.9+git0.4dfdaf2b-3_amd64.deb
02d0fef46b27da9199c93b328cc90c9d91188c05 390284
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-3_amd64.deb
9b6fe19e52121d5cef054e5b9366d27ee92d0de8 31782
kpartx_0.4.9+git0.4dfdaf2b-3_amd64.deb
d8d85c005f4a446ee4d9aa45d53e95484c5759d0 15724
multipath-tools-boot_0.4.9+git0.4dfdaf2b-3_all.deb
7a5159591acaba96284c7dc0299bcd16ca683428 165372
multipath-udeb_0.4.9+git0.4dfdaf2b-3_amd64.udeb
Checksums-Sha256:
f26a744a5d3837d6d88a89b28b5db14121f500271164b03a5ddb69a04bc5735e 2395
multipath-tools_0.4.9+git0.4dfdaf2b-3.dsc
3d2e92e00a163c812c19481f1638ac92165656262eebba78a83da740dc19146a 29140
multipath-tools_0.4.9+git0.4dfdaf2b-3.debian.tar.gz
5f2daf09f373bc7681ccfcebccfc3b0bdeaeaaceafb00ba24261d4f42d3dae0a 207836
multipath-tools_0.4.9+git0.4dfdaf2b-3_amd64.deb
4e86a5e4c14e5dbb02ad149a1fd72b432d6dbba39e72d6f410dc5e01bdc3bf86 390284
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-3_amd64.deb
c835273a9f6e075737ee60bc39e2298f971bc127a2dba5e8c1d5dcfdb3af767d 31782
kpartx_0.4.9+git0.4dfdaf2b-3_amd64.deb
fa5486fb2adcc94c818f7d6ccc5adb4f43f49d42d4675d2d1ab30235c03863fc 15724
multipath-tools-boot_0.4.9+git0.4dfdaf2b-3_all.deb
81e4bd38c7ce43cfe6beba2a52f802cd1b656f87808f55543c16c143b52ba533 165372
multipath-udeb_0.4.9+git0.4dfdaf2b-3_amd64.udeb
Files:
62c6faa3de9e8a788004e197dcf34e12 2395 admin extra
multipath-tools_0.4.9+git0.4dfdaf2b-3.dsc
c0bcecc2daa48334564648a6707eced4 29140 admin extra
multipath-tools_0.4.9+git0.4dfdaf2b-3.debian.tar.gz
7ec516cf5e1b4daba439403821c069fa 207836 admin extra
multipath-tools_0.4.9+git0.4dfdaf2b-3_amd64.deb
5c765f32d30edc8c7651e00542c6c477 390284 debug extra
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-3_amd64.deb
924c9c4123b45ec686700a63c0b5f38a 31782 admin extra
kpartx_0.4.9+git0.4dfdaf2b-3_amd64.deb
a55b0f9ad9a188f50bdd4572df922d0c 15724 admin extra
multipath-tools-boot_0.4.9+git0.4dfdaf2b-3_all.deb
d16236f52c958e16b495149d0c28240c 165372 debian-installer extra
multipath-udeb_0.4.9+git0.4dfdaf2b-3_amd64.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJPXhXuAAoJEKY6WKPy4XVpC20QAINTJ0Se6fFpjzonMiaPX3b0
OVFr6BMdtwH1vq6/qn57qJz5NWn5yY6bsIdcivC513bSC3pfYTs7RkiI8w7QFa8d
+Ga+7/+Lumz7jT3YyH6LxdPcKrqhHO62jZDeIKRgTpJym2BZBPAE3A0k3IzP0I+/
HGcsTDCZbYSb0dVJEzPwDpCNKraQQTU80Kls3MPsHJ+OOSfEiQPWWDT9hSNu+1Li
DeyoZEdmfZlxf2yfkoU9f2BA81X3xazMtnN7rcpUDN3GKjAEnxQRymHGm38BgNjN
HL4Ik7/qb0f+PMdFTdT5RZ2SVU5Ppfzri5IHEg+UREWvUEzBAgegmnLK3Xyy2m4p
Y/UJP4GhUNd0I+aiDyWUAk8CcbXriy4rnWKEnzbG40KFS2LixcdfpvQJzX5xuqPq
7603cfKUH8MawPbIHibuWvkcZQ7Z7qCfshTWkp9M3sDoURZaHgiVyMhcBUYpCUEH
QPm8xks+KYKnW4G95PLL+Y7a4hAbuorJg+99zmgwvwFY0O8+yft2uUzVxbXCLA1i
lIDZmSd0t5PKkp0Tbz9hDPZlDTNLr44tjlTNCUuQh9GOMf92jzDbkWOtrd2xjmkp
HcI1VNN4hRyCZSvUgvek2IpYAcPWVSfA3qx4T5H7O2KUQNyJ1VlA3eqmY8IYSvdY
4FMNgsoG38/bs86GFYlv
=Y+i9
-----END PGP SIGNATURE-----
--- End Message ---