1 |
Hi all, |
2 |
|
3 |
I'm wondering what the best way of setting/overriding limits for daemons |
4 |
started during system boot. I want to enable core files. Note I have |
5 |
the symbols in the daemons I'm interested in. |
6 |
|
7 |
I looked at /etc/limits but that file doesn't look like it is used at |
8 |
all? /etc/security/limits.conf seems to be for logins after the system |
9 |
is up. |
10 |
|
11 |
The solutions I see are: |
12 |
|
13 |
add `ulimit -c unlimited` to scripts under /etc/init.d/ This gives finer |
14 |
control when picking what daemons to enable corefiles. |
15 |
|
16 |
add `ulimit -c unlimited` to ebegin() in /sbin/functions.sh Any init |
17 |
that calls ebegin() will have corefile enabled (seems to be all of them). |
18 |
|
19 |
Is there another way? |
20 |
|
21 |
TIA! |
22 |
|
23 |
ds |
24 |
|
25 |
-- |
26 |
gentoo-dev@g.o mailing list |