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
7d5ec9f1
Commit
7d5ec9f1
authored
Mar 23, 2021
by
Alexey Bychko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typo in postinst script
parent
61e00db6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
support-files/rpm/server-postin.sh
support-files/rpm/server-postin.sh
+3
-3
No files found.
support-files/rpm/server-postin.sh
View file @
7d5ec9f1
...
...
@@ -40,7 +40,7 @@ if [ $1 = 1 ] ; then
# Create a MySQL user and group. Do not report any problems if it already
# exists.
groupadd
-r
%
{
mysqld_group
}
2> /dev/null
||
true
useradd
-M
-r
--home
$datadir
--shell
/sbin/nologin
--comment
"MySQL server"
--gid
%
{
mysqld_group
}
%
{
mysqld_user
}
2> /dev/null
||
true
useradd
-M
-r
--home
$datadir
--shell
/sbin/nologin
--comment
"MySQL server"
--gid
%
{
mysqld_group
}
%
{
mysqld_user
}
2> /dev/null
||
true
# The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
usermod
--gid
%
{
mysqld_group
}
%
{
mysqld_user
}
2> /dev/null
||
true
...
...
@@ -78,7 +78,7 @@ if [ -x /usr/sbin/semodule ] ; then
/usr/sbin/semodule
-i
/usr/share/mysql/policy/selinux/mariadb.pp
fi
if
[
-x
sbin/restorecon
]
;
then
sbin/restorecon
-R
var/lib/mysql
if
[
-x
/
sbin/restorecon
]
;
then
/sbin/restorecon
-R
/
var/lib/mysql
fi
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