[DRE-maint] Bug#839219: obs-api: The clockworkd does not run as error while parsing config file.

Andrew Lee (=?UTF-8?Q?=E6=9D=8E=E5=81=A5=E7=A7=8B?=) ajqlee at debian.org
Fri Sep 30 09:11:15 UTC 2016


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

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

The clockworkd does not run as error while parsing config file.

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. Start up obsapidelayed
     invoke-rc.d obsapidelayed start
 4. Check if clockworkd runs.
    ps ax | grep clockworkd
 5. Check error in /var/log/obs/clockworkd.clock.output (see attachment)

This should produce the issue.

The way to fix this is adding an option to specific directory to change
to once the process starts in obsapidelayed script:
- run_in_api $CLOCKWORKD --log-dir=log -l -c config/clock.rb start
+ run_in_api $CLOCKWORKD --log-dir=log -l -c config/clock.rb -d $API_ROOT start

Best regards,

-Andrew



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