Bug#814476: gitlab writes into /usr/share/gitlab during operation

2016-02-12 Thread Antonio Terceiro
On Fri, Feb 12, 2016 at 12:36:09AM +0100, Johannes Schauer wrote:
> Package: gitlab
> Version: 8.4.3+dfsg-3
> Severity: serious
> Justification: Policy 9.1.1
> 
> Hi,
> 
> as per Debian policy §9.1.1, packages must comply with the FHS 2.3 but
> gitlab is writing log files to /usr/share/gitlab/log/ which violates
> chapter 4 of the FHS. Quote:
> 
> "/usr is the second major section of the filesystem. /usr is shareable,
> read-only data. That means that /usr should be shareable between various
> FHS-compliant hosts and must not be written to. Any information that is
> host-specific or varies with time is stored elsewhere."
> 
> this requirement is currently violated by gitlab.
> 
> No wonder I couldn't figure out where the log files were :D
> 
> Log files should go into /var/log/gitlab

/usr/share/gitlab/log should be a symlink to /var/log/gitlab

-- 
Antonio Terceiro 


signature.asc
Description: PGP signature


Bug#814476: gitlab writes into /usr/share/gitlab during operation

2016-02-11 Thread Johannes Schauer
Package: gitlab
Version: 8.4.3+dfsg-3
Severity: serious
Justification: Policy 9.1.1

Hi,

as per Debian policy §9.1.1, packages must comply with the FHS 2.3 but
gitlab is writing log files to /usr/share/gitlab/log/ which violates
chapter 4 of the FHS. Quote:

"/usr is the second major section of the filesystem. /usr is shareable,
read-only data. That means that /usr should be shareable between various
FHS-compliant hosts and must not be written to. Any information that is
host-specific or varies with time is stored elsewhere."

this requirement is currently violated by gitlab.

No wonder I couldn't figure out where the log files were :D

Log files should go into /var/log/gitlab

Thanks!

cheers, josch