Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f8ee5b48
Commit
f8ee5b48
authored
Aug 19, 2011
by
Joerg Bruehe
Browse files
Options
Browse Files
Download
Plain Diff
Merge bug fix to main.
parents
b213e7f8
e8f2e3c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+17
-1
No files found.
support-files/mysql.spec.sh
View file @
f8ee5b48
...
@@ -382,7 +382,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -382,7 +382,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--enable-local-infile
\
--enable-local-infile
\
--with-fast-mutexes
\
--with-fast-mutexes
\
--with-mysqld-user=%{mysqld_user}
\
--with-mysqld-user=%{mysqld_user}
\
--with-unix-socket-path=
/var/lib/mysql
/mysql.sock
\
--with-unix-socket-path=
%{mysqldatadir}
/mysql.sock
\
--with-pic
\
--with-pic
\
--prefix=/
\
--prefix=/
\
%if %{CLUSTER_BUILD}
%if %{CLUSTER_BUILD}
...
@@ -858,6 +858,13 @@ chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
...
@@ -858,6 +858,13 @@ chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
chmod
-R
og-rw
$mysql_datadir
/mysql
chmod
-R
og-rw
$mysql_datadir
/mysql
# ----------------------------------------------------------------------
# Deal with SELinux, if it is installed / used
# ----------------------------------------------------------------------
if
[
-x
/sbin/restorecon
]
;
then
/sbin/restorecon
-R
%
{
mysqldatadir
}
fi
# Was the server running before the upgrade? If so, restart the new one.
# Was the server running before the upgrade? If so, restart the new one.
if
[
"
$SERVER_TO_START
"
=
"true"
]
;
then
if
[
"
$SERVER_TO_START
"
=
"true"
]
;
then
# Restart in the same way that mysqld will be started normally.
# Restart in the same way that mysqld will be started normally.
...
@@ -1165,6 +1172,15 @@ fi
...
@@ -1165,6 +1172,15 @@ fi
# merging BK trees)
# merging BK trees)
##############################################################################
##############################################################################
%changelog
%changelog
*
Fri Aug 19 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
- Fix bug#37165
"((Generic rpm)) fail to install on Fedora 9 x86_64"
On Fedora, certain accesses to
"/var/lib/mysql/HOSTNAME.err"
were blocked
by SELinux policy, this made the server start fail with the message
Manager of pid-file quit without updating file
Calling
"/sbin/restorecon -R /var/lib/mysql"
fixes this.
- Replace occurrences of that path name by the spec file variable %
{
mysqldatadir
}
.
*
Thu Jul 07 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
*
Thu Jul 07 2011 Joerg Bruehe <joerg.bruehe@oracle.com>
- Fix bug#45415:
"rpm upgrade recreates test database"
- Fix bug#45415:
"rpm upgrade recreates test database"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment