Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 825956] New: Typo in default OBS appliance mysql config
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 20 Jun 2013 13:23:33 +0000
  • Message-id: <>

Summary: Typo in default OBS appliance mysql config
Classification: openSUSE
Version: unspecified
Platform: All
OS/Version: openSUSE 12.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: BuildService
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: BSipos@xxxxxxxxxxx
QAContact: adrian@xxxxxxxx
Found By: ---
Blocker: ---

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101

In the OBS appliance version 2.4.2 disk image, there is an assumption in the
init script /etc/init.d/obsapisetup that the MySQL config file /etc/my.cnf has
a line matching the regexp "^datadir=.+" and this is passed to the shell
"export" function to locate MySQL files. The appliance ships with a MySQL
configuration with a line "datadir = /srv/obs/MySQL" which does not match the
regexp and so the init script fails.

This caused me a headache setting up the OBS appliance for the first time since
the "out of the box" configuration was not being initialized properly.

Reproducible: Always

Steps to Reproduce:
1. Download and copy the OBS appliance image 2.4.2
2. Start the appliance per install instructions
3. Observe that every time the system boots it shows mysql errors and attempts
to re-initialize the DB
Actual Results:
The appliance is never initialized properly.

Expected Results:
The appliance should bootstrap properly.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >