Mailinglist Archive: opensuse-bugs (5379 mails)

< Previous Next >
[Bug 610634] New: Fail to use OBS API because of incorrect access rights to the log file
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 1 Jun 2010 14:30:54 +0000
  • Message-id: <bug-610634-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=610634

http://bugzilla.novell.com/show_bug.cgi?id=610634#c0


Summary: Fail to use OBS API because of incorrect access rights
to the log file
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: BuildService
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: krnekit@xxxxxxxxx
QAContact: adrian@xxxxxxxxxx
Found By: ---
Blocker: ---


Created an attachment (id=366123)
--> (http://bugzilla.novell.com/attachment.cgi?id=366123)
lighttpd error log file

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3)
Gecko/20100416 Mandriva Linux/1.9.2.3-0.2mdv2010.0 (2010.0) Firefox/3.6.3

I've installed OBS 1.7 on openSUSE 11.2 using ymp package found in wiki
(http://wiki.opensuse.org/openSUSE:Build_Service_Installation_SUSE). Following
the instructions in README.SETUP after th installation, I've get the problem,
that API is unable to use and returns error 500 "Internal server error". Log
file /var/log/lighttpd/error.log attached. Looking inside the log file and
searching the web, I've found similar topic
(http://lists.opensuse.org/opensuse-buildservice/2009-05/msg00093.html), with
the solution to make correct access rights for files that obs and lighttpd
uses. Looking for the current access rights I've found, that file
/srv/www/obs/api/log/backend_access.log was owned by root. Changing owner to
lighttpd solved the problem.

Reproducible: Always

Steps to Reproduce:
1. Install OBS 1.7 on openSUSE 11.2 using ymp package
2. Do the instructions in README.SETUP until step 4
3. Try to open http://127.0.42.2
Actual Results:
Error 500 Internal server error

Expected Results:
OBS API login

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >