Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Eric Zheng
slapos
Commits
8571db6f
Commit
8571db6f
authored
Sep 24, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5: enable mariadb core dump
https://mariadb.com/kb/en/enabling-core-dumps/
parent
73287db2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
software/erp5/crash_test/test.py
software/erp5/crash_test/test.py
+4
-0
software/neoppod/software-common.cfg
software/neoppod/software-common.cfg
+1
-0
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+1
-1
stack/erp5/my.cnf.in
stack/erp5/my.cnf.in
+3
-0
No files found.
software/erp5/crash_test/test.py
View file @
8571db6f
...
@@ -42,6 +42,10 @@ setUpModule, SlapOSInstanceTestCase = makeModuleSetUpAndTestCaseClass(
...
@@ -42,6 +42,10 @@ setUpModule, SlapOSInstanceTestCase = makeModuleSetUpAndTestCaseClass(
class
ERP5MariadbCrashTestCase
(
SlapOSInstanceTestCase
):
class
ERP5MariadbCrashTestCase
(
SlapOSInstanceTestCase
):
__partition_reference__
=
'crash'
__partition_reference__
=
'crash'
_save_instance_file_pattern_list
=
SlapOSInstanceTestCase
.
_save_instance_file_pattern_list
+
(
'*/srv/mariadb/core'
,
)
@
classmethod
@
classmethod
def
getInstanceParameterDict
(
cls
):
def
getInstanceParameterDict
(
cls
):
return
{
return
{
...
...
software/neoppod/software-common.cfg
View file @
8571db6f
...
@@ -132,6 +132,7 @@ template =
...
@@ -132,6 +132,7 @@ template =
{{ variable }} \
{{ variable }} \
{%- endfor %}
{%- endfor %}
{%- endif %}
{%- endif %}
ulimit -c unlimited
exec "$basedir/bin/mysqld" --defaults-file='{{defaults_file}}' "$@"
exec "$basedir/bin/mysqld" --defaults-file='{{defaults_file}}' "$@"
{% endraw %}
{% endraw %}
...
...
stack/erp5/buildout.hash.cfg
View file @
8571db6f
...
@@ -42,7 +42,7 @@ md5sum = d32417746fcf671d4e86a70379815039
...
@@ -42,7 +42,7 @@ md5sum = d32417746fcf671d4e86a70379815039
[template-my-cnf]
[template-my-cnf]
filename = my.cnf.in
filename = my.cnf.in
md5sum =
7944ec58a2c6ee74a56219bacebfd145
md5sum =
24fc9b93d4108d29a1ee3aa46583366c
[template-mariadb-initial-setup]
[template-mariadb-initial-setup]
filename = mariadb_initial_setup.sql.in
filename = mariadb_initial_setup.sql.in
...
...
stack/erp5/my.cnf.in
View file @
8571db6f
...
@@ -71,6 +71,9 @@ character_set_server = utf8mb4
...
@@ -71,6 +71,9 @@ character_set_server = utf8mb4
collation_server = utf8mb4_general_ci
collation_server = utf8mb4_general_ci
skip_character_set_client_handshake
skip_character_set_client_handshake
# debugging
core_file
{% if 'ssl-key' in parameter_dict -%}
{% if 'ssl-key' in parameter_dict -%}
ssl_cert = {{ parameter_dict['ssl-crt'] }}
ssl_cert = {{ parameter_dict['ssl-crt'] }}
ssl_key = {{ parameter_dict['ssl-key'] }}
ssl_key = {{ parameter_dict['ssl-key'] }}
...
...
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