Skip to content

Commit 0a480f0

Browse files
committed
delete the installation warning for CentOS4/RHEL4
it went out of support five years ago
1 parent 2c354e7 commit 0a480f0

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

support-files/rpm/server-postin.sh

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -55,32 +55,6 @@ fi
5555
SETARGETDIR=/etc/selinux/targeted/src/policy
5656
SEDOMPROG=$SETARGETDIR/domains/program
5757
SECONPROG=$SETARGETDIR/file_contexts/program
58-
if [ -f /etc/redhat-release ] ; then
59-
if grep '\(Red Hat Enterprise Linux ..\|CentOS\) release 4' \
60-
/etc/redhat-release >/dev/null 2>&1; then
61-
echo
62-
echo
63-
echo 'Notes regarding SELinux on this platform:'
64-
echo '========================================='
65-
echo
66-
echo 'The default policy might cause server startup to fail because it is '
67-
echo 'not allowed to access critical files. In this case, please update '
68-
echo 'your installation. '
69-
echo
70-
echo 'The default policy might also cause inavailability of SSL related '
71-
echo 'features because the server is not allowed to access /dev/random '
72-
echo 'and /dev/urandom. If this is a problem, please do the following: '
73-
echo
74-
echo ' 1) install selinux-policy-targeted-sources from your OS vendor'
75-
echo ' 2) add the following two lines to '$SEDOMPROG/mysqld.te':'
76-
echo ' allow mysqld_t random_device_t:chr_file read;'
77-
echo ' allow mysqld_t urandom_device_t:chr_file read;'
78-
echo ' 3) cd to '$SETARGETDIR' and issue the following command:'
79-
echo ' make load'
80-
echo
81-
echo
82-
fi
83-
fi
8458

8559
if [ -x /usr/sbin/semodule ] ; then
8660
/usr/sbin/semodule -i /usr/share/mysql/SELinux/mariadb.pp

0 commit comments

Comments
 (0)