Your message dated Mon, 25 Apr 2016 17:34:55 +0000
with message-id <[email protected]>
and subject line Bug#822511: Removed package(s) from unstable
has caused the Debian Bug report #770048,
regarding phpgacl: Uses absolute obsolete path for dpkg-statoverride
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.)


-- 
770048: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770048
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: phpgacl
Source-Version: 3.3.7-7.3
Severity: important
Tags: patch

Hi!

This package is using obsolete absolute paths when stating or calling
dpkg-statoverride. This has been a compatibility symlinks for a while
and got removed in dpkg 1.17.0, I'll reintroduce it in dpkg 1.17.22 but
will be removing it again in 1.18.x.

Please stop using absolute paths in maintainer scripts, as they will
suffer this kind of problem. For more info please see:

<https://lintian.debian.org/tags/command-with-path-in-maintainer-script.html>

although that lintian check does not currently trigger for this issue,
but it should.

Attached a patch fixing this, by always assuming that dpkg-statoverride
is present, which has been true for a very long time now.

Thanks,
Guillem
diff --git a/debian/phpgacl.postinst b/debian/phpgacl.postinst
index 4275bb5..c1077b5 100644
--- a/debian/phpgacl.postinst
+++ b/debian/phpgacl.postinst
@@ -82,16 +82,14 @@ esac
 
 # Ensure the config file is readable by root.www-data and mode 640
 # since it stores the database password
-if [ ! -x /usr/sbin/dpkg-statoverride ] || \
-   ! dpkg-statoverride --list $CONF > /dev/null
+if ! dpkg-statoverride --list $CONF > /dev/null
 then
     chown root:www-data $CONF
     chmod 640 $CONF
 fi
 
 # Ensure the templates_c directory needed by smarty is writable by www-data
-if [ ! -x /usr/sbin/dpkg-statoverride ] || \
-   ! dpkg-statoverride --list /usr/share/phpgacl/admin/templates_c > /dev/null
+if ! dpkg-statoverride --list /usr/share/phpgacl/admin/templates_c > /dev/null
 then
     chown root:www-data /usr/share/phpgacl/admin/templates_c
     chmod -R 770 /usr/share/phpgacl/admin/templates_c

--- End Message ---
--- Begin Message ---
Version: 3.3.7-7.3+rm

Dear submitter,

as the package phpgacl 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/822511

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