fix: Assure that "disabling CoreDump tweak" is applied correctly (#241)

* fix: Assure that "disabling CoreDump tweak" is applied correctly

Since Fedora uses systemd, we need to make this change too, else it won't be applied throughout the system, but only in SSH/TTY sessions.

Bluefin had the same issue with open-file limits tweak here:
https://github.com/ublue-os/bluefin/pull/988

I usually put those config overrides to `/usr/lib`, but I will put them in `/usr/etc` to comply with the project's structure.

As far as I look, this is the only tweak which needs this systemd conf change.

* fix: Assure that "disabling CoreDump tweak" is applied correctly

Since Fedora uses systemd, we need to make this change too, else it won't be applied throughout the system, but only in SSH/TTY sessions.

Bluefin had the same issue with open-file limits tweak here:
https://github.com/ublue-os/bluefin/pull/988

I usually put those config overrides to `/usr/lib`, but I will put them in `/usr/etc` to comply with the project's structure.

As far as I look, this is the only tweak which needs this systemd conf change.

Signed-off-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>

---------

Signed-off-by: fiftydinar <65243233+fiftydinar@users.noreply.github.com>
This commit is contained in:
fiftydinar
2024-03-15 20:36:20 +01:00
committed by GitHub
parent 2ef32f75c7
commit efba15919d
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
[Manager]
DumpCore=no

View File

@@ -0,0 +1,2 @@
[Manager]
DumpCore=no