Am Dienstag, 31. Januar 2012, 01:59:52 schrieb Karsten Keil: ...
After reboot MySQL was not running, because it did start before the /obs directory was mounted - fixed with Required-Start: $network $remote_fs obsstoragesetup in the mysql startscript and insserv. obsstoragesetup did not mount /dev/OBS/cache, moved the mount in the startscript before the worker setups.
We found out yesterday that the "boot.lvm" script is not enabled by default anymore. Changed now in the appliance. The modification of the mysql init script is not a good way, because this would not work outside of the appliance and break package updates. We have the "Start-Before: mysql ssh" line instead in obsstoragesetup which should let it start before.
Then apache did start before MYSQL was started, because it was in systemd defined as service. Deleted apache2.service file, now apache2 starts as expected after the required services are running.
Actually I am only testing with sysvinit atm. Most likely the default will change for the appliance. However, apache2 and mysqld should be able to startup in parallel.
Still wrong rights on many files under /obs (because of changed UID/GID values, repaired with chown -R obsrun:obsrun /obs/*
Really ? I thought this is fixed meanwhile.
chown -R mysql:mysql /obs/MySQL
Yep, noticed also. ... moin adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org