Your message dated Sat, 12 Dec 2015 18:53:05 -0500
with message-id <[email protected]>
and subject line gparted: Bug in gparted script
has caused the Debian Bug report #790773,
regarding gparted: Bug in gparted script
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.)
--
790773: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790773
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gparted
Version: 0.19.0-3
Severity: important
Tags: patch
Dear Maintainer,
The gparted script tests for an already running instance of
gpartedbin by using the line:
test "z`ps -e | grep gpartedbin`" != "z"
but the condition is met because the output contains the "grep
gartedbin" process itself and thus the script fails. I propose
the fix in the attached patch.
Thanks,
Morten
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=da_DK.utf8, LC_CTYPE=da_DK.utf8 (charmap=UTF-8) (ignored: LC_ALL
set to da_DK.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gparted depends on:
ii libatkmm-1.6-1 2.22.7-2.1
ii libc6 2.19-18
ii libgcc1 1:5.1.1-12
ii libglib2.0-0 2.44.1-1.1
ii libglibmm-2.4-1c2a 2.44.0-1
ii libgtk2.0-0 2.24.28-1
ii libgtkmm-2.4-1c2a 1:2.24.4-1.1
ii libpangomm-1.4-1 2.36.0-1
ii libparted-fs-resize0 3.2-7
ii libparted2 3.2-7
ii libsigc++-2.0-0c2a 2.4.1-1
ii libstdc++6 5.1.1-12
ii libuuid1 2.26.2-6
gparted recommends no packages.
Versions of packages gparted suggests:
pn dmraid <none>
ii dmsetup 2:1.02.90-2.2
ii dosfstools 3.0.28-1
pn gpart <none>
pn jfsutils <none>
pn kpartx <none>
pn mtools <none>
ii ntfs-3g 1:2014.2.15AR.3-3
pn reiser4progs <none>
pn reiserfsprogs <none>
pn xfsprogs <none>
ii yelp 3.16.1-1
-- no debconf information
--- gparted 2015-07-01 18:10:09.606546500 +0200
+++ /usr/sbin/gparted 2015-07-01 18:11:09.794476644 +0200
@@ -30,7 +30,7 @@
#
# Only permit one instance of GParted to execute at a time
#
-if test "z`ps -e | grep gpartedbin`" != "z"; then
+if test "z`ps -e | grep gpartedbin | grep -v grep`" != "z"; then
echo "The process gpartedbin is already running."
echo "Only one gpartedbin process is permitted."
exit 1
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Closing bug per submitter request.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCgAGBQJWbLNNAAoJEBB5UWFcu6UWHVcH/Ar7+q+3Zuy5UEEClIIUWA54
W28VIlC88Z3N2vHeOYfTGlX5r9xI72PCWr3+RqzX1QV1eMwvIJfi66dU2BLeA1q1
AhLYdJwUeYOmEsiAx353S9UtbL92lBqpWTA7YghoDt+JB/plQwzsLok2hA8T7uID
SKIDyjqR08O+4+MRnVQ/DFpWnNXF1ND4JdDdZ0E0uDHB9GAZA4capVtU16KWBjd4
nM79mx8k5rj2rsG255YoVF4X8Mq1qFmTZuHgTXZczcu+PhtnFKJWo9QviYlFi9XU
WRwX4tTAucNvQFvXh9Pp/ci2wzAp+GJYlikvy2PapCTspP6cmkkUd68INJ/Px2U=
=3lsd
-----END PGP SIGNATURE-----
--- End Message ---