/[smecontribs]/rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-bz11877-systemd.patch
ViewVC logotype

Diff of /rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-bz11877-systemd.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Wed Feb 23 21:13:59 2022 UTC Revision 1.2 by jpp, Wed Feb 23 21:36:46 2022 UTC
# Line 40  diff -Nur --no-dereference smeserver-mys Line 40  diff -Nur --no-dereference smeserver-mys
40  -safe_symlink("/var/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/var");  -safe_symlink("/var/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/var");
41  \ Pas de fin de ligne à la fin du fichier  \ Pas de fin de ligne à la fin du fichier
42  +safe_symlink("/var/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/var");  +safe_symlink("/var/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/var");
43    diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/events/actions/mysql57-delete-db-files smeserver-mysql57-2.0.0/root/etc/e-smith/events/actions/mysql57-delete-db-files
44    --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/events/actions/mysql57-delete-db-files 2022-02-23 14:04:50.076000000 -0500
45    +++ smeserver-mysql57-2.0.0/root/etc/e-smith/events/actions/mysql57-delete-db-files     2022-02-23 16:31:55.730000000 -0500
46    @@ -1,3 +1,3 @@
47     #! /bin/sh
48    
49    -cd /opt/rh/rh-mysql57/root/var/lib/mysql && find . -type f | xargs rm -f
50    +cd /var/opt/rh/rh-mysql57/lib/mysql && find . -type f | xargs rm -f
51    diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/events/actions/mysql57-load-tables smeserver-mysql57-2.0.0/root/etc/e-smith/events/actions/mysql57-load-tables
52    --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/events/actions/mysql57-load-tables     2022-02-23 14:04:50.385000000 -0500
53    +++ smeserver-mysql57-2.0.0/root/etc/e-smith/events/actions/mysql57-load-tables 2022-02-23 16:32:24.143000000 -0500
54    @@ -7,7 +7,7 @@
55         exit 0
56     fi
57     /bin/rm -f /home/e-smith/db/mysql57/information_schema.dump
58    -if [ ! -f /opt/rh/rh-mysql57/root/var/lib/mysql/mysql/user.frm ]
59    +if [ ! -f /var/opt/rh/rh-mysql57/lib/mysql/mysql/user.frm ]
60     then
61         for db in $(ls /home/e-smith/db/mysql57/*.dump 2> /dev/null | grep -v '/mysql.dump')
62         do
63  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme
64  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme       1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme       1969-12-31 19:00:00.000000000 -0500
65  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme   2022-02-23 14:04:50.102000000 -0500  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme   2022-02-23 14:04:50.102000000 -0500
# Line 102  diff -Nur --no-dereference smeserver-mys Line 122  diff -Nur --no-dereference smeserver-mys
122  +basedir=/opt/rh/rh-mysql57/root/usr  +basedir=/opt/rh/rh-mysql57/root/usr
123  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir
124  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir      1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir      1969-12-31 19:00:00.000000000 -0500
125  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir  2022-02-23 14:04:50.104000000 -0500  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/008datadir  2022-02-23 16:33:12.118000000 -0500
126  @@ -0,0 +1 @@  @@ -0,0 +1 @@
127  +datadir=/opt/rh/rh-mysql57/root/var/lib/mysql  +datadir=/var/opt/rh/rh-mysql57/lib/mysql
128  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir
129  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir       1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir       1969-12-31 19:00:00.000000000 -0500
130  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir   2022-02-23 14:04:50.144000000 -0500  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/0095lcmessagesdir   2022-02-23 14:04:50.144000000 -0500
# Line 341  diff -Nur --no-dereference smeserver-mys Line 361  diff -Nur --no-dereference smeserver-mys
361  -exit 1  -exit 1
362  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize
363  --- smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize    1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize    1969-12-31 19:00:00.000000000 -0500
364  +++ smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize        2022-02-23 15:34:09.812000000 -0500  +++ smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize        2022-02-23 16:31:21.174000000 -0500
365  @@ -0,0 +1,32 @@  @@ -0,0 +1,32 @@
366  +#!/bin/bash  +#!/bin/bash
367  +datadir="/opt/rh/rh-mysql57/root/var/lib/mysql"  +datadir="/var/opt/rh/rh-mysql57/lib/mysql"
368  +  +
369  +if [ ! -f /var/opt/rh/rh-mysql57/lib/mysql/mysql/user.frm ]  +if [ ! -f $datadir/mysql/user.frm ]
370  +then  +then
371  +    touch /var/log/mysql57-mysqld.log  +    touch /var/log/mysql57-mysqld.log
372  +    chown mysql:mysql /var/log/mysql57-mysqld.log  +    chown mysql:mysql /var/log/mysql57-mysqld.log


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed