[DRE-maint] Bug#839163: obs-api: Permission denied @ rb_sysopen - config/database.yml

Andrew Lee (=?UTF-8?Q?=E6=9D=8E=E5=81=A5=E7=A7=8B?=) ajqlee at debian.org
Thu Sep 29 16:17:02 UTC 2016


Package: obs-api
Version: 2.7.1-1
Severity: important

This is a bug fixed in git. Just list here for you who is helping to imporove
obs package.

The obsapidelayed does not start due to
  Permission denied @ rb_sysopen - config/database.yml.

To reproduce the error, follow these steps:

 1. On Debian Sid, add the following repo to apt's sources.list:
    deb http://ftp.tw.debian.org/debian/ experimental main
 2. Install OBS:
    apt-get update
    apt-get install obs-server obs-utils obs-api obs-productconverter
 3. Restart obsapidelayed
    /etc/init.d/obsapidelayed restart
 4. Check log file.
    journalctl -e

This should produce the Permission denied error.

The way to fix this is
    chown www-data /usr/share/obs/api/config/database.yml

Best regards,
-Andrew



More information about the Pkg-ruby-extras-maintainers mailing list