Univention Bugzilla – Bug 27553
Default für Core-Files per sysctl bzw. UCR konfigurierbar machen.
Last modified: 2020-07-03 20:51:38 CEST
Standrdmäßig schreibt Linux core-Dateien nach /core. Es wäre schön, wenn man das per UCR konfigurieren könnte: Mit folgendem Befehl kann man Linux dauerhaft so konfigurieren, dass core-Dateien immer nach /var/tmp/core-programmname-hostname-pid-timestamp geschrieben werden: echo "kernel.core_pattern = /var/tmp/core-%e-%h-pid%p-%t" \ > /etc/sysctl.d/core.conf sysctl -p /etc/sysctl.d/core.conf
Da es schon ein Template für /etc/sysctl.d/local.conf gibt, wäre zu überlgen, ob man da nicht schlicht eine generische Auswertung von UCR-Variablen implementiert, um beliebige sysctl-Parameter per UCR konfigurierbar zu machen.
This issue has been filed against UCS 3.0. UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please reopen.
Core files are essential for debugging crashing executable. It could be done easily through Bug #32510.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.