Commit ffa7ae1c authored by Terje Røsten's avatar Terje Røsten Committed by Balasubramanian Kandasamy

BUG#19811871 VERSION NUMBR NOT SHOWN IN LOG WHEN [RE]STARTING 5.6.21 SERVICE WITH SLES11 REPO

Log file directory had too strict access rights, server not able
to write to log file.
Signed-off-by: default avatarTerje Røsten <terje.rosten@oracle.com>
parent 96348ab8
...@@ -420,7 +420,7 @@ MBD=$RPM_BUILD_DIR/%{src_dir} ...@@ -420,7 +420,7 @@ MBD=$RPM_BUILD_DIR/%{src_dir}
# Ensure that needed directories exists # Ensure that needed directories exists
install -d -m 0755 %{buildroot}/var/lib/mysql install -d -m 0755 %{buildroot}/var/lib/mysql
install -d -m 0755 %{buildroot}/var/run/mysql install -d -m 0755 %{buildroot}/var/run/mysql
install -d -m 0660 %{buildroot}/var/log/mysql install -d -m 0750 %{buildroot}/var/log/mysql
# Install all binaries # Install all binaries
cd $MBD/release cd $MBD/release
...@@ -632,7 +632,7 @@ fi ...@@ -632,7 +632,7 @@ fi
%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
%dir %attr(755, mysql, mysql) /var/lib/mysql %dir %attr(755, mysql, mysql) /var/lib/mysql
%dir %attr(755, mysql, mysql) /var/run/mysql %dir %attr(755, mysql, mysql) /var/run/mysql
%dir %attr(660, mysql, mysql) /var/log/mysql %dir %attr(750, mysql, mysql) /var/log/mysql
%files common %files common
%defattr(-, root, root, -) %defattr(-, root, root, -)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment