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
0a480f03
Commit
0a480f03
authored
Feb 23, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete the installation warning for CentOS4/RHEL4
it went out of support five years ago
parent
2c354e74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
support-files/rpm/server-postin.sh
support-files/rpm/server-postin.sh
+0
-26
No files found.
support-files/rpm/server-postin.sh
View file @
0a480f03
...
@@ -55,32 +55,6 @@ fi
...
@@ -55,32 +55,6 @@ fi
SETARGETDIR
=
/etc/selinux/targeted/src/policy
SETARGETDIR
=
/etc/selinux/targeted/src/policy
SEDOMPROG
=
$SETARGETDIR
/domains/program
SEDOMPROG
=
$SETARGETDIR
/domains/program
SECONPROG
=
$SETARGETDIR
/file_contexts/program
SECONPROG
=
$SETARGETDIR
/file_contexts/program
if
[
-f
/etc/redhat-release
]
;
then
if
grep
'\(Red Hat Enterprise Linux ..\|CentOS\) release 4'
\
/etc/redhat-release
>
/dev/null 2>&1
;
then
echo
echo
echo
'Notes regarding SELinux on this platform:'
echo
'========================================='
echo
echo
'The default policy might cause server startup to fail because it is '
echo
'not allowed to access critical files. In this case, please update '
echo
'your installation. '
echo
echo
'The default policy might also cause inavailability of SSL related '
echo
'features because the server is not allowed to access /dev/random '
echo
'and /dev/urandom. If this is a problem, please do the following: '
echo
echo
' 1) install selinux-policy-targeted-sources from your OS vendor'
echo
' 2) add the following two lines to '
$SEDOMPROG
/mysqld.te
':'
echo
' allow mysqld_t random_device_t:chr_file read;'
echo
' allow mysqld_t urandom_device_t:chr_file read;'
echo
' 3) cd to '
$SETARGETDIR
' and issue the following command:'
echo
' make load'
echo
echo
fi
fi
if
[
-x
/usr/sbin/semodule
]
;
then
if
[
-x
/usr/sbin/semodule
]
;
then
/usr/sbin/semodule
-i
/usr/share/mysql/SELinux/mariadb.pp
/usr/sbin/semodule
-i
/usr/share/mysql/SELinux/mariadb.pp
...
...
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