Your message dated Sat, 13 Dec 2014 16:04:33 +0000
with message-id <e1xzpbj-0000aj...@franck.debian.org>
and subject line Bug#773039: fixed in shaarli 0.0.42~beta~dfsg1-2
has caused the Debian Bug report #773039,
regarding shaarli: Unusable after install due to incorrect folder permissions 
out of the box
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 ow...@bugs.debian.org
immediately.)


-- 
773039: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773039
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: shaarli
Version: 0.0.42~beta~dfsg1-1
Severity: serious
Justification: Policy 10.7.3


After installing shaarli from Testing on a new machine, a 500 Internal Server 
Error is logged when accessing the page for the first time.

>From /var/log/nginx/error.log:

2014/12/13 14:39:27 [error] 10171#0: *29 FastCGI sent in stderr: "PHP message: 
PHP Fatal error:  Uncaught exception 'RainTpl_Exception' with message 'Cache 
directory /var/cache/shaarli/tmp/doesn't have write permission. Set write 
permission or set RAINTPL_CHECK_TEMPLATE_UPDATE to false. More details on 
http://www.raintpl.com/Documentation/Documentation-for-PHP-developers/Configuration/'
 in /usr/share/raintpl/inc/rain.tpl.class.php:321
Stack trace:
#0 /usr/share/raintpl/inc/rain.tpl.class.php(274): 
RainTPL->compileFile('install', NULL, 'tpl/install.htm...', 
'/var/cache/shaa...', '/var/cache/shaa...')
#1 /usr/share/raintpl/inc/rain.tpl.class.php(164): 
RainTPL->check_template('install')
#2 /usr/share/shaarli/index.php(674): RainTPL->draw('install')
#3 /usr/share/shaarli/index.php(2107): pageBuilder->renderPage('install')
#4 /usr/share/shaarli/index.php(108): install()
#5 {main}
  thrown in /usr/share/raintpl/inc/rain.tpl.class.php on line 321" while 
reading response header from upstream, client: 127.0.0.1, server: _, request: 
"GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: 
"127.0.0.1"



The permission on the /var/cache/shaarli/tmp folder is incorrectly set (root 
instead of www-data, which is the user under which the Apache and nginx web 
servers run by default).
In fact, the following folders should also be writable by www-data:
/var/lib/shaarli/data
/var/cache/shaarli/cache
/var/cache/shaarli/pagecache

The following fixes this issue:

sudo chown www-data:www-data /var/lib/shaarli/data /var/cache/shaarli/cache 
/var/cache/shaarli/pagecache /var/cache/shaarli/tmp



Justification for severity "serious":
>From the bug severity description [0]:
serious
is a severe violation of Debian policy (roughly, it violates a must or required 
directive), or, in the package maintainer's or release manager's opinion, makes 
the package unsuitable for release.

In my opinion, a package should (as much as possible, i.e. not "must") work out 
of the box. This is somewhat mentioned in section 10.7.3 of the Debian Policy 
Manual [1]:
"Ideally the sysadmin should not have to do any configuration other than that 
done (semi-)automatically by the postinst script."


    +Emilien
[0] https://www.debian.org/Bugs/Developer#severities
[1] https://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3


-- 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)

Versions of packages shaarli depends on:
ii  javascript-common      11
ii  libjs-jquery           1.7.2+dfsg-3.2
ii  libjs-jquery-lazyload  1.7.2-1
ii  libjs-jquery-ui        1.10.1+dfsg-1
ii  php5                   5.6.3+dfsg-1
ii  php5-fpm               5.6.3+dfsg-1
ii  php5-gd                5.6.3+dfsg-1
ii  raintpl                2.7.2-1

Versions of packages shaarli recommends:
ii  nginx-full [httpd]  1.6.2-5

shaarli suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: shaarli
Source-Version: 0.0.42~beta~dfsg1-2

We believe that the bug you reported is fixed in the latest version of
shaarli, 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 773...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emilien Klein <emilien+deb...@klein.st> (supplier of updated shaarli 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 13 Dec 2014 16:40:35 +0100
Source: shaarli
Binary: shaarli
Architecture: source all
Version: 0.0.42~beta~dfsg1-2
Distribution: unstable
Urgency: low
Maintainer: Emilien Klein <emilien+deb...@klein.st>
Changed-By: Emilien Klein <emilien+deb...@klein.st>
Description:
 shaarli    - Personal, minimalist, super-fast and no-database Delicious clone
Closes: 773039
Changes:
 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
Checksums-Sha1:
 32fe8996b24947db6b4b09233d2616b539eaaad9 1974 shaarli_0.0.42~beta~dfsg1-2.dsc
 c030383a5ce24c1ae747d40f196d189611d7d115 10692 
shaarli_0.0.42~beta~dfsg1-2.debian.tar.xz
 2f7024c4acf3bf53ec597b4089ee8d5c3022593b 253270 
shaarli_0.0.42~beta~dfsg1-2_all.deb
Checksums-Sha256:
 e2a85689175cc0d5169a2d6703ffa86237c42fb3fa1913da2989e2baf86f7fb1 1974 
shaarli_0.0.42~beta~dfsg1-2.dsc
 4b26bbbc33bb4b8e317ca653ace5452ef763a7d563d4ecf341df95931c1da4c4 10692 
shaarli_0.0.42~beta~dfsg1-2.debian.tar.xz
 93c96b3f9da60f5dbaa11b84268b720e6b94baf1f3ca12eef9f77d273ed23b26 253270 
shaarli_0.0.42~beta~dfsg1-2_all.deb
Files:
 4f3fa92c3be65c05ab5046fbb96db4e3 1974 web optional 
shaarli_0.0.42~beta~dfsg1-2.dsc
 8c7d21bc2807d1b8375bf03f4a6ea4ff 10692 web optional 
shaarli_0.0.42~beta~dfsg1-2.debian.tar.xz
 9ce84f166a43fa4152014a6326aab0c0 253270 web optional 
shaarli_0.0.42~beta~dfsg1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUjGGSAAoJEK4MhLsKI2jwbE8P/RHRPFej0d+DioLkFKrf3+EH
y7QTD0YYpTysUXDlG76g7g0yrnl8H7/zcgsivy4ZBsa+NkUvjb0NOQBecwRETAjU
Z1snpKevWXwPdLvTYHSKz/KIR+qqtaLl4IE4CoBbEQlgZs0QpYIE0HgJEb2JyhAn
MXIee6fhe8OGU/PpTHD/QS02BUO8EkFi/RChq95CgFj+pmIyenkrmAGgtvgWUdGC
FFmv3h+UgOFH161xlI66WRTyWFyytPKb00G1buaAH/NBl8DpDQT1vU3ZxMq4gmRz
f9cdTgQF2kPw2cW/IfjnigR7jbm9EYyHCRyYYsJUbhep/GnOs5drKlJd2SmtchLZ
FsO4NEXgnE/lWnxFCI7xAWe9jt1HTvbaJdS96Mlmy/m+t6R4/Gho4+FpoY6Y68uR
3BNebUQIcaUdFYajPXaa+kN3DmkrBXN8dglNn8EkkIusuyFAlFqE1iCdA5HFwsj9
HYXEW50aSzmPK8ppj9s/Yfx1F6YOO2b+jo3Z/iZ4fGaUlxSUUa32C7T2j9Jmg22e
8/oIsGiMZovmDByuwIzZL7V55B2fCakfyM+TdjL66Ot7MQoJfX9/VFZIRUCYRTGF
Ex1mEC7msfbJlROBXKKFKQdYgKWBqj+5S4W0vxcJ7D47oC/l0AnawbfQGhUpraQe
k+OVbd1Ojsd67SBqWYeT
=XWHY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to