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

Bug#990390: marked as done (prepproval: unblock: nfs-utils/1:1.3.4-6)



Your message dated Mon, 28 Jun 2021 10:03:25 +0000
with message-id <E1lxo6v-0001sf-5O@fasolo.debian.org>
and subject line Bug#990390: fixed in live-config 11.0.3
has caused the Debian Bug report #990390,
regarding prepproval: unblock: nfs-utils/1:1.3.4-6
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.)


-- 
990390: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990390
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: carnil@debian.org,883194@bugs.debian.org,dparsons@debian.org

Hi Release team,

Please unblock package nfs-utils, or rather this is a pre-approval
request for it.

It was requested that we fix #883194 for python2 removal for the
nfs-utils package. I'm including as well a longstanding resource leak
fix (#513284).

[ Reason ]
Main reason is the python2 -> python3 switch, allowing to have systems
without the python2 interpreter to be installed.

[ Impact ]
Systems will keep the python binary package around and so the
python2.7 interpreter.

[ Tests ]
None specifically. We take the switch from upstream and switch the
recommentes from python to python3.

[ Risks ]
Low, user have tested the python3 compatiblity according to the
#883194 buglog. The patc hfor #513284 was upstreamed and applied
upstream.

[ 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

[ Other info ]
None

Okay to upload?

unblock nfs-utils/1:1.3.4-6

Regards,
Salvatore
diff -Nru nfs-utils-1.3.4/debian/changelog nfs-utils-1.3.4/debian/changelog
--- nfs-utils-1.3.4/debian/changelog	2021-03-09 17:17:42.000000000 +0100
+++ nfs-utils-1.3.4/debian/changelog	2021-06-28 09:15:06.000000000 +0200
@@ -1,3 +1,12 @@
+nfs-utils (1:1.3.4-6) unstable; urgency=medium
+
+  * mountstats:  Remove a shebang
+  * Convert remaining python scripts to python3 (Closes: #883194)
+  * debian/control: Switch Recommends from python to python3
+  * Removed a resource leak from mountd/fsloc.c (Closes: #513284)
+
+ -- Salvatore Bonaccorso <carnil@debian.org>  Mon, 28 Jun 2021 09:15:06 +0200
+
 nfs-utils (1:1.3.4-5) unstable; urgency=medium
 
   [ Felix Lechner ]
diff -Nru nfs-utils-1.3.4/debian/control nfs-utils-1.3.4/debian/control
--- nfs-utils-1.3.4/debian/control	2021-03-09 17:17:42.000000000 +0100
+++ nfs-utils-1.3.4/debian/control	2021-06-28 09:14:54.000000000 +0200
@@ -31,7 +31,7 @@
 Package: nfs-common
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, rpcbind, adduser, ucf, lsb-base (>= 1.3-9ubuntu3), keyutils
-Recommends: python
+Recommends: python3
 Suggests: open-iscsi, watchdog
 Provides: nfs-client
 Conflicts: nfs-client
diff -Nru nfs-utils-1.3.4/debian/patches/Convert-remaining-python-scripts-to-python3.patch nfs-utils-1.3.4/debian/patches/Convert-remaining-python-scripts-to-python3.patch
--- nfs-utils-1.3.4/debian/patches/Convert-remaining-python-scripts-to-python3.patch	1970-01-01 01:00:00.000000000 +0100
+++ nfs-utils-1.3.4/debian/patches/Convert-remaining-python-scripts-to-python3.patch	2021-06-28 09:14:54.000000000 +0200
@@ -0,0 +1,44 @@
+From: "Signed-off-by: NeilBrown" <neilb@suse.de>
+Date: Mon, 31 Aug 2020 10:48:04 -0400
+Subject: Convert remaining python scripts to python3
+Origin: https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=d1683f356bd920d93f2db007902b2c46f97a2e49
+Bug-Debian: https://bugs.debian.org/883194
+
+nfs-utils contains 4 python scripts, two request
+ /usr/bin/python3
+in their shebang line, two request
+ /usr/bin/python
+
+Those latter two run perfectly well with python3 and as python2 is on the
+way out, change them so they requrest /usr/bin/python3.
+
+Signed-off-by: NeilBrown <neilb@suse.de>
+Signed-off-by: Steve Dickson <steved@redhat.com>
+---
+ tools/mountstats/mountstats.py | 2 +-
+ tools/nfs-iostat/nfs-iostat.py | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
+index 1054f698c8e3..00adc96bafeb 100755
+--- a/tools/mountstats/mountstats.py
++++ b/tools/mountstats/mountstats.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # -*- python-mode -*-
+ """Parse /proc/self/mountstats and display it in human readable form
+ """
+diff --git a/tools/nfs-iostat/nfs-iostat.py b/tools/nfs-iostat/nfs-iostat.py
+index 50fd6a92977b..4f5e8a664ae8 100755
+--- a/tools/nfs-iostat/nfs-iostat.py
++++ b/tools/nfs-iostat/nfs-iostat.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # -*- python-mode -*-
+ """Emulate iostat for NFS mount points using /proc/self/mountstats
+ """
+-- 
+2.32.0
+
diff -Nru nfs-utils-1.3.4/debian/patches/Removed-a-resource-leak-from-mountd-fsloc.c.patch nfs-utils-1.3.4/debian/patches/Removed-a-resource-leak-from-mountd-fsloc.c.patch
--- nfs-utils-1.3.4/debian/patches/Removed-a-resource-leak-from-mountd-fsloc.c.patch	1970-01-01 01:00:00.000000000 +0100
+++ nfs-utils-1.3.4/debian/patches/Removed-a-resource-leak-from-mountd-fsloc.c.patch	2021-06-28 09:14:54.000000000 +0200
@@ -0,0 +1,29 @@
+From: Steve Dickson <steved@redhat.com>
+Date: Fri, 26 Apr 2019 13:40:54 -0400
+Subject: Removed a resource leak from mountd/fsloc.c
+Origin: https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=26b84f73adc2ff9011bea307c47a4c0cdf4a3031
+Bug-Debian: https://bugs.debian.org/513284
+
+mountd/fsloc.c:97: overwrite_var: Overwriting "mp" in
+	"mp = calloc(1UL, 16UL)" leaks the storage that "mp" points to.
+
+Signed-off-by: Steve Dickson <steved@redhat.com>
+---
+ utils/mountd/fsloc.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/utils/mountd/fsloc.c b/utils/mountd/fsloc.c
+index bc737d191cf8..cf42944fa9a6 100644
+--- a/utils/mountd/fsloc.c
++++ b/utils/mountd/fsloc.c
+@@ -102,6 +102,7 @@ static struct servers *parse_list(char **list)
+ 		cp = strchr(list[i], '@');
+ 		if ((!cp) || list[i][0] != '/') {
+ 			xlog(L_WARNING, "invalid entry '%s'", list[i]);
++			free(mp);
+ 			continue; /* XXX Need better error handling */
+ 		}
+ 		res->h_mp[i] = mp;
+-- 
+2.27.0
+
diff -Nru nfs-utils-1.3.4/debian/patches/mountstats-Remove-a-shebang.patch nfs-utils-1.3.4/debian/patches/mountstats-Remove-a-shebang.patch
--- nfs-utils-1.3.4/debian/patches/mountstats-Remove-a-shebang.patch	1970-01-01 01:00:00.000000000 +0100
+++ nfs-utils-1.3.4/debian/patches/mountstats-Remove-a-shebang.patch	2021-06-28 09:14:54.000000000 +0200
@@ -0,0 +1,26 @@
+From: Steve Dickson <steved@redhat.com>
+Date: Thu, 27 Jul 2017 10:35:55 -0400
+Subject: mountstats:  Remove a shebang
+Origin: https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=caa59a30b78dedea99a2317da95bb86810360645
+
+There might be an issue that the script is executed with unwanted
+version of <lang>.
+
+Signed-off-by: Steve Dickson <steved@redhat.com>
+---
+ tools/mountstats/mountstats.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
+index 88ccdae78c9f..a68d70225769 100644
+--- a/tools/mountstats/mountstats.py
++++ b/tools/mountstats/mountstats.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ # -*- python-mode -*-
+ """Parse /proc/self/mountstats and display it in human readable form
+ """
+-- 
+2.32.0
+
diff -Nru nfs-utils-1.3.4/debian/patches/series nfs-utils-1.3.4/debian/patches/series
--- nfs-utils-1.3.4/debian/patches/series	2021-03-09 17:17:42.000000000 +0100
+++ nfs-utils-1.3.4/debian/patches/series	2021-06-28 09:14:54.000000000 +0200
@@ -18,3 +18,6 @@
 nfsiostat-replace-list-reserved-word.patch
 statd-take-user-id-from-var-lib-nfs-sm.patch
 Allow-compilation-to-succeed-with-fno-common.patch
+mountstats-Remove-a-shebang.patch
+Convert-remaining-python-scripts-to-python3.patch
+Removed-a-resource-leak-from-mountd-fsloc.c.patch

--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 11.0.3
Done: Jonathan Carter <jcc@debian.org>

We believe that the bug you reported is fixed in the latest version of
live-config, which is due to be installed in the Debian FTP archive.

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 990390@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonathan Carter <jcc@debian.org> (supplier of updated live-config 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Jun 2021 11:43:41 +0200
Source: live-config
Architecture: source
Version: 11.0.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Live Maintainers <debian-live@lists.debian.org>
Changed-By: Jonathan Carter <jcc@debian.org>
Closes: 990390
Changes:
 live-config (11.0.3) unstable; urgency=medium
 .
   * Integrate patch to fix kde plasma desktop auto-login,
     thanks Leszek Lesner (Closes: #990390)
Checksums-Sha1:
 851dc70ee1b8ac8922afbd7e94254b47bbd2ca74 1968 live-config_11.0.3.dsc
 6f865e84947e0e70352eca0a039f7ffc9cdcb161 77952 live-config_11.0.3.tar.xz
 e9294c887b61d92da71bd09ca7d0f239e286b943 5475 live-config_11.0.3_source.buildinfo
Checksums-Sha256:
 e97d850ae937f8bf5d8d6afed69f30b1e166f84b261eda63895f5fca3984bc6d 1968 live-config_11.0.3.dsc
 03c0e453c9a54ff4888fd6f6073918d97a02d888825fd31643accc1945e1878f 77952 live-config_11.0.3.tar.xz
 36d76a58e3bd6d5ac773dba14282882e62ef0528ec4ebe781c56bd0e535fcd02 5475 live-config_11.0.3_source.buildinfo
Files:
 3db8c12f193e9ca86e7a575b564fbc3a 1968 misc optional live-config_11.0.3.dsc
 d36e4a2cc84c1c5e52b32dacbdf81888 77952 misc optional live-config_11.0.3.tar.xz
 ab45b3b52ff1cdf113c101105332a039 5475 misc optional live-config_11.0.3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEExyA8CpIGcL+U8AuxsB0acqyNyaEFAmDZmiIPHGpjY0BkZWJp
YW4ub3JnAAoJELAdGnKsjcmhLioP/jY/PEt39MJvD+xI4Nz/SbmOwSj5LuuvryTI
Z7NCTOVYWjIHwLFWkx4majxGuAEbzI6UgG2X+7Ke77Un5Cw4VQ46Ad4A0xVtraXk
087Sbjy18HPjL8+6x2NIhdRQBjMqSA8+VVjMwEwuteLHGe5TiVyubtEIZPglGBBk
9QTKvNfCGosX6X8T9PoXUIUuqY6ENHi8O+dkrgfCPdwMuUGLSXxtq7RYnAxVWIRW
V0ETyACRNCPCmtFGVWm3O3nQB42xNYUDEQYdo81A1aAO4h8roPTPExwVnA2gO/nY
TG7qHdic8bQrVN4W5nuto8zVYuSh5dUQcuLebhmww/rPBFjMlVH7OIegUcFY9Kiy
rkT5IdHDescoxs7xLJ8E6LiiaXHV1MAcydrSl/qUuFlR73SSZNo9wpxAChC+5sIz
Ga7ipRm5qd/iAtUByGeccnSoKrEaYJ1HnJGhDyEWbQu4q3bKFN5SURsBDFuwvo+b
KTNRC1NNFUFDOmPd30oB9fi5gyL7DsTsUxvs/EazSCKn5qPmobBFRIl4hopGafsS
z3GHuPTJHY9Yk8F+Y48Yr4oFNwVnvecv/rqgjmjI4RpchowPtI2XUZ4hnPCsTYH2
I8+x5PkO9jZ203I4erNuKXbMdsLupeCcZdBNztKmVjT7VxVJpCxBpVKXejPcTGqv
jpgPzAVQ
=L8qz
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: