Your message dated Mon, 06 Mar 2017 23:18:54 +0000
with message-id <[email protected]>
and subject line Bug#856925: fixed in systray-mdstat 1.0.1-1
has caused the Debian Bug report #856925,
regarding systray-mdstat: fails to start: Icon harddriveok.png not found at 
/usr/bin/systray-mdstat line 156.
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.)


-- 
856925: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856925
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systray-mdstat
Version: 1.0.0-1
Severity: grave
Tags: patch

Trying to start systray-mdstat fails with:

 % systray-mdstat
 Icon harddriveok.png not found at /usr/bin/systray-mdstat line 156.

strace shows three failed attempts to open the file:

 % strace -e trace=file systray-mdstat 2>&1 |grep harddrive
 stat("share/harddriveok.png", 0x5627a78cc298) = -1 ENOENT (No such file or 
directory)
 stat("/usr/local/share/systray-mdstat/harddriveok.png", 0x5627a78cc298) = -1 
ENOENT (No such file or directory)
 stat("/usr/share/systray-mdstat/harddriveok.png", 0x5627a78cc298) = -1 ENOENT 
(No such file or directory)
 Icon harddriveok.png not found at /usr/bin/systray-mdstat line 156.

while the file is at 
/usr/share/perl5/auto/share/dist/systray-mdstat/harddriveok.png

The following patch fixes that:

-----------------------------------------------
diff --git a/bin/systray-mdstat b/bin/systray-mdstat
index e45e403..39a7428 100755
--- a/bin/systray-mdstat
+++ b/bin/systray-mdstat
@@ -90,8 +90,8 @@ my @icon_dirs = qw(
 # Unfortunately File::ShareDir functions die instead of returning
 # undef if they can't find an according directory.
 try {
-    push(@icon_dirs, dist_dir('App-Systray-Mdstat'));
-}
+    push(@icon_dirs, dist_dir('systray-mdstat'));
+};
 
 
 check_mdstat();
-----------------------------------------------

It does two things:
 - adds the missing semicolon after the try {} block;
 - changes the dist name from 'App-Systray-Mdstat' to 'systray-mdstat' to match 
   the location of the images as shipped in the Debian package.

Cheers,
    dam


-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systray-mdstat depends on:
ii  libfile-sharedir-perl  1.102-1
ii  libgtk3-perl           0.030-1
ii  libtry-tiny-perl       0.28-1
pn  perl:any               <none>

systray-mdstat recommends no packages.

Versions of packages systray-mdstat suggests:
ii  libgtk2-traymanager-perl  0.05-3+b3
ii  perlpanel                 1:0.9.1+cvs20051225-2.1
pn  smart-notifier            <none>
ii  trayer                    1.1.5-1
ii  xfce4-panel               4.12.1-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: systray-mdstat
Source-Version: 1.0.1-1

We believe that the bug you reported is fixed in the latest version of
systray-mdstat, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <[email protected]> (supplier of updated systray-mdstat 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: SHA256

Format: 1.8
Date: Mon, 06 Mar 2017 23:48:18 +0100
Source: systray-mdstat
Binary: systray-mdstat
Architecture: source all
Version: 1.0.1-1
Distribution: unstable
Urgency: low
Maintainer: Axel Beckert <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Description:
 systray-mdstat - Notifies about Linux Software RAID changes in system tray
Closes: 856925
Changes:
 systray-mdstat (1.0.1-1) unstable; urgency=low
 .
   * New upstream bugfix release.
     + Fixes dist name for File::ShareDir. Thanks Damyan Ivanov!
        (Closes: #856925)
Checksums-Sha1:
 cb9b9cf6cc264917f2e8e539d6a8b2c4cf147e6f 2191 systray-mdstat_1.0.1-1.dsc
 9c9e07afc7b18e99964d82af66cd71d67d44a6ce 32416 systray-mdstat_1.0.1.orig.tar.xz
 3511a348ac1e63cbef6fe3b5e1c58214c5c33f1a 2304 
systray-mdstat_1.0.1-1.debian.tar.xz
 380f829efdbbcd71c2603d561519fbe1af6e47c8 25930 systray-mdstat_1.0.1-1_all.deb
 e1a7ae141dcf3b9bef72f55dc5c75d114e05a36c 12790 
systray-mdstat_1.0.1-1_amd64.buildinfo
Checksums-Sha256:
 b93d7a1c094d11f6e7cddaec91e9fc726f483b4b4866f75007da5a00c7e98f94 2191 
systray-mdstat_1.0.1-1.dsc
 6d7f0df141fd04c12dcc0144405589788a5346ca99f7379128808f5ac24e44c2 32416 
systray-mdstat_1.0.1.orig.tar.xz
 6823ed5020f8ee0ab478b0bf96f5c366b4085d1f5cabddc4e109f223fdb2ae22 2304 
systray-mdstat_1.0.1-1.debian.tar.xz
 86c416a5808bb2e82ec7cf9c04eee2cac5d42a383325ad6d1efe2febbdb1aedc 25930 
systray-mdstat_1.0.1-1_all.deb
 885ad1c72e253dc81955bf0ae5784b4a27ec77be1ed587efb95dd24b908b4f0b 12790 
systray-mdstat_1.0.1-1_amd64.buildinfo
Files:
 a4e932aba6b0315685169b8200af998c 2191 utils extra systray-mdstat_1.0.1-1.dsc
 4c1ac8583a267a84fff004d262209159 32416 utils extra 
systray-mdstat_1.0.1.orig.tar.xz
 b83d6436d51e4d7ac0df036e1d1513b2 2304 utils extra 
systray-mdstat_1.0.1-1.debian.tar.xz
 60782a827b4c0dd3be159703e475b721 25930 utils extra 
systray-mdstat_1.0.1-1_all.deb
 c2533c5c71023fec5ff9a8f858208c8e 12790 utils extra 
systray-mdstat_1.0.1-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAli96F8ACgkQa+Zjx1o1
yXXiuxAAob5CQVCtnZQDawdSUwqkerEoFiPe70/yK4nb7zO1moorZHiz5ceAuNpF
5z+TuqKRsHZq25pHGZrBUksC+fritHXNhTl0CoO6bjxodW3tfUISCCZNmB5Z28/c
Nn7ADbprCyIkaMrs7oo8oDMO9GreJMO1Cm4LSSmNFWNQ9JadLbJP4IkrL54LV5by
X6OM9TmMDEWo+yNfO6K7HfXEKFJ/pnwQpXglNSjpSVVo8VEYLP6ew/2oti+jyiiW
bFJOkdH6yUmcXvw5g+b1+/4MNushAok5H935mBXqGv4ZaSvcDfE4UxWm+1asw2Kr
XUr3hph9zDHDPN7sxv1GWPI8xKm/+3PR2R2N6WnfuuFYAApv3bEKTGcv57ntZIPd
XM65tuEcaKqSd2NOA/6XBZEEelAQVVpn9CAM/Y46VbTiltM5tWsI/6o18LMXA3M6
DDJ+HZnvcQsHLNg6YuGZt5HAz+0jsQ/RyLesK1sH7VKhYmOfxMf0mNBm9eGZUwlh
csh6QE/6/2Lzc4cEn1UAfnp55KY3u5R1hbpKJJz3QOuaIS8XdItT56108fOvr7oh
HHRAJO43uN7yFeZP9DLRkuvXVRKZakQUWghSqgUmOuzU2ZVdSMrA/dTFvVTiMGp0
SWlItzLSCHMzU331beXRAYTz+K3gUJFVhA11WOUX8c5pI0xGGEQ=
=kzKD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to