1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
The systemd System and Service Manager
Go to file
Lennart Poettering 15a900327a core: set RLIMIT_CORE to unlimited by default
The kernel sets RLIMIT_CORE to 0 by default. Let's bump this to unlimited by
default (for systemd itself and all processes we fork off), so that the
coredump hooks have an effect if they honour it.

Bumping RLIMIT_CORE of course would have the effect that "core" files will end
up on the system at various places, if no coredump hook is used. To avoid this,
make sure PID1 sets the core pattern to the empty string by default, so that
this logic is disabled.

This change in defaults should be useful for all systems where coredump hooks
are used, as it allows useful usage of RLIMIT_CORE from these hooks again. OTOH
systems that expect that coredumps are placed under the name "core" in the
current directory will break with this change. Given how questionnable this
behaviour is, and given that no common distro makes use of this by default it
shouldn't be too much of a loss. Also, the old behaviour may be restored by
explicitly configuring a "core_pattern" of "core", and setting the default
system RLIMIT_CORE to 0 again via system.conf.
2016-02-10 16:09:20 +01:00
catalog editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
coccinelle tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
docs docs: add .gitignore 2015-07-06 17:47:38 +02:00
factory/etc factory: remove broken pam_limits 2014-07-30 15:21:54 +02:00
hwdb hwdb: add Dell Lattitude E6320 pointing stick speed fix 2016-02-09 17:42:55 +10:00
m4 build-sys: Perform flag tests in context to existing flags 2016-02-06 14:57:46 +01:00
man activate: add a new switch --inetd to enable inetd-style socket activation 2016-02-10 14:32:27 +01:00
network networkd: emit DNS/NTP/Timezone info via DHCP server by default 2015-08-27 16:47:26 +02:00
po po: updated Russian translation 2016-02-02 21:15:12 +03:00
rules rfkill: rework and make it listen on /dev/rfkill 2015-10-01 16:21:09 +02:00
shell-completion Journalctl command completion should show machines 2016-02-08 07:22:34 -05:00
src core: set RLIMIT_CORE to unlimited by default 2016-02-10 16:09:20 +01:00
sysctl.d coredump: honour RLIMIT_CORE when saving/processing coredumps 2016-02-10 16:08:32 +01:00
system-preset preset: enable machines.target by default 2014-12-29 17:36:57 +01:00
sysusers.d tmpfiles: drop /run/lock/lockdev 2016-02-01 12:16:24 +01:00
test Merge pull request #2535 from PhillipSz/remove-exit-0 2016-02-08 17:27:18 +01:00
tmpfiles.d tmpfiles: drop /run/lock/lockdev 2016-02-01 12:16:24 +01:00
tools man: include the target name when linking to man pages in html output 2015-11-22 23:54:29 -05:00
units coredump: rework coredumping logic 2016-02-10 16:08:32 +01:00
xorg login: support user-bus on dbus1 2015-08-31 18:12:37 +02:00
.dir-locals.el editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
.editorconfig editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore test-resolve-tables: new "test", useful to print mappings 2016-01-29 12:13:08 -05:00
.mailmap NEWS: add more stuff, and reorder things a bit 2015-11-13 13:59:50 +01:00
.travis.yml remove gudev and gtk-doc 2015-06-03 00:22:53 +02:00
.vimrc editors: only extend line width to 119 for C and XML files 2016-02-10 12:29:32 +01:00
.ycm_extra_conf.py ycm: update flag blacklist 2014-06-04 15:41:10 -04:00
autogen.sh terminal: drop unfinished code 2015-07-27 20:15:34 +02:00
CODING_STYLE CODING_STYLE: make sure line break recommendation matches edit configuration 2016-01-25 17:19:19 +01:00
configure.ac configure.ac: Fix help text of --enable-* options 2016-02-10 13:51:58 +01:00
CONTRIBUTING.md CONTRIBUTING.md: Minor typo fix 2016-01-27 16:53:11 +01:00
DISTRO_PORTING build-sys: warn if people don't change the default NTP servers when building systemd 2015-07-11 14:24:29 -03:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile-man.am sd-journal: add an API to enumerate known field names of the journal 2016-02-01 22:42:33 +01:00
Makefile.am coredump: rework coredumping logic 2016-02-10 16:08:32 +01:00
NEWS NEWS: Various clarification and grammar fixes 2016-02-10 13:51:10 +01:00
README README: drop link to systemd-commits ML 2016-01-25 17:19:19 +01:00
README.md github: extend README.md a bit 2016-01-25 17:19:19 +01:00
TODO update TODO 2016-02-01 22:18:16 +01:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements are provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.