[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST v2] Arrange for core dumps to be placed in /var/core and collect them



Ian Campbell writes ("[PATCH OSSTEST v2] Arrange for core dumps to be placed in 
/var/core and collect them"):
> Refactor the $kvp_replace helper in ts-xen-install into a generic
> helper (which requires using ::EO and ::EI for namespacing) for use
> with target_editfile and use it to edit /etc/sysctl.conf to set
> kernel.core_pattern on boot.
> 
> Tested in standalone mode by installing and running a C program
> containing "*(int *)0 = 1;" which, after running "ulimit -c unlimited"
> produces the expected core file. ts-logs-capture when run in
> standalone mode then picks them up.
> 
> I've not yet figured out how to make the desired rlimit take affect
> for all processes (including e.g. daemons spawned on boot). Likely
> this will involve some combination of pam_limits.so PAM module and
> adding explicit ulimit calls to the initscripts which we care about
> (primarily xencommons and libvirt initscripts).
> 
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> ---
> v2: Add /var/core to ts-leak-check

I'm going to push this and the two related patches, and the
$r{enable_xsm} one, RSN.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.