Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Dear release team members,

Please unblock package shaarli


This package provides a web application. The application creates a data file 
and cached files in specific folders.
Until version 0.0.42~beta~dfsg1-1, the package is not usable out of the box, as 
a 500 Internal Server Error is logged when accessing the page for the first 
time.

The cause of that error is that the folders exist (they are created as part of 
the installation of the package), but are owned by user root instead of 
www-data, which is the user under which the Apache and nginx web servers run by 
default.

In order to make the package usable without having to manually change the owner 
of these folders, I have released and uploaded to sid a new Debian version that 
sets the appropriate permissions on these folders.

This is a great enhancement to the usability of the package, for which I would 
like to request an unblock for the package. This will ensure that Jessie users 
can use the sofware straight after installing it.

You will notice that next to calling `chown` from debian/rules (what fixes this 
bug #773039), I have also made a change to the changelog, as I had noticed I 
had forgotten to document an important change in the last version (that the 
location we get the upstream tarball was changed). I trust that this change 
made to ensure proper documentation of the Debian package will not interfere 
with this unblock request.


Thanks for your time. Please let me know if you have questions regarding this 
request.
    +Emilien



Follows the debdiff against the package in testing:




$ debdiff shaarli_0.0.42~beta~dfsg1-1.dsc shaarli_0.0.42~beta~dfsg1-2.dsc
diff -Nru shaarli-0.0.42~beta~dfsg1/debian/changelog 
shaarli-0.0.42~beta~dfsg1/debian/changelog
--- shaarli-0.0.42~beta~dfsg1/debian/changelog  2014-12-13 16:37:20.000000000 
+0100
+++ shaarli-0.0.42~beta~dfsg1/debian/changelog  2014-12-13 16:53:18.000000000 
+0100
@@ -1,6 +1,17 @@
+shaarli (0.0.42~beta~dfsg1-2) unstable; urgency=low
+
+  * Fix permissions on cache and data folders (Closes: #773039)
+  * Fix previous changelog entry, indicating upstream change
+
+ -- Emilien Klein <emilien+deb...@klein.st>  Sat, 13 Dec 2014 16:40:35 +0100
+
 shaarli (0.0.42~beta~dfsg1-1) unstable; urgency=low
 
   * New upstream version
+  * d/control and d/watch: The upstream source was changed from Seb Sauvage's
+      inactive repository [0] to the community-maintained repository [1].
+      [0] https://github.com/sebsauvage/Shaarli
+      [1] https://github.com/shaarli/Shaarli
   * d/control:
       - Depend on javascript-common to serve the JavaScript libraries
       - Update Standards-Version to 3.9.6
diff -Nru shaarli-0.0.42~beta~dfsg1/debian/rules 
shaarli-0.0.42~beta~dfsg1/debian/rules
--- shaarli-0.0.42~beta~dfsg1/debian/rules      2014-12-13 16:37:20.000000000 
+0100
+++ shaarli-0.0.42~beta~dfsg1/debian/rules      2014-12-13 16:40:17.000000000 
+0100
@@ -17,6 +17,11 @@
        chmod 644 debian/shaarli/usr/share/shaarli/inc/*
        chmod 644 debian/shaarli/usr/share/shaarli/tpl/*
        chmod 644 debian/shaarli/usr/share/shaarli/index.php
+       # Make the web server user the owner of the cache and data directories
+       chown www-data:www-data debian/shaarli/var/lib/shaarli/data
+       chown www-data:www-data debian/shaarli/var/cache/shaarli/cache
+       chown www-data:www-data debian/shaarli/var/cache/shaarli/pagecache
+       chown www-data:www-data debian/shaarli/var/cache/shaarli/tmp
 
 %:
        dh $@ --with apache2











unblock shaarli/0.0.42~beta~dfsg1-2

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to