| Summary: | mysqld.service is overwritten on update losing LimitNOFILE | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | ziggyh |
| Component: | mysql | Assignee: | Tom Lane <tgl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | hhorak, tgl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-17 16:00:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
ziggyh
2011-12-17 10:20:27 UTC
This is not a bug; you are not supposed to modify systemd service files directly. The correct procedure for making a custom service definition is to create your own file in /lib/systemd/system/. You can just copy-and-paste the system-supplied version, but it's probably a better plan to "include" the supplied version and then define just the settings you need. (In reply to comment #1) > The correct procedure for making a custom service definition is to > create your own file in /lib/systemd/system/. This was a typo probably, you should use /etc/systemd/system/ for your locally modified unit files. For more info see: https://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F |