OS-8705

LX /proc/self/coredump_filter does not exists

Status:
Resolved
Created:
2025-12-06T10:58:03.213-0500
Updated:
2025-12-09T12:39:51.822-0500

Description

A LX user reports the following:
”Elasticsearch and Kibana in LX zones for a number of years.  This past week, I ran into an issue where as of version 9.1.7 (and 9.2.2), they’ve changed the bootstrap to write flags into `/proc/self/coredump_filter` in order to prevent inclusion of memory mapped files under Linux.

Unfortunately, that results in a file not found error, which causes an abort of the program.  I’ve been running this in an Ubuntu 22.04 environment and recently moved to 24.04 (no other ill effects).”

Checking at the code we don’t support this procfs entry. Here is documentation for reference sect-red_hat_enterprise_linux-release_notes-kernel_related_updates

Comments (1)

Carlos Neira commented on 2025-12-08T10:11:26.915-0500:

Testing changes for OS-8705
In a LX zone with a PI with the fix

(root@192.168.122.118) Password:
SmartOS (build: 20251207T013735Z)
You have new mail.
[root@dev00 ~]# zlogin b5b7ecc6-2aea-47c8-8fec-6916d448a18e
[Connected to zone 'b5b7ecc6-2aea-47c8-8fec-6916d448a18e' pts/5]
Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 5.2 x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro
         *--+--*--*
         |\ |\ |\ |\
         | \| \| \| \     #####  ####   #  #####  ###   #   # TM
         +--*--+--*--*      #    #   #  #    #   #   #  ##  #
         |\ |\ |\ |\ |      #    ####   #    #   #   #  # # #
         | \| \| \| \|      #    #  #   #    #   #   #  #  ##
         *--+--+--+--+      #    #   #  #    #    ###   #   #
          \ |\ |\ |\ |
           \| \| \| \|     LX Instance (Ubuntu 24.04.2 LTS 20250407)
            *--+--*--*     https://docs.tritondatacenter.com/public-cloud/instances/infrastructure/images

root@lxtest:~# uname -a
Linux lxtest 5.2 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux
root@lxtest:~# cat /proc/1/coredump_filter
00000033
root@lxtest:~# ls  /proc/1/task/1/ | grep coredump
root@lxtest:~# echo 0x1FF > /proc/1/coredump_filter
root@lxtest:~# cat /proc/1/coredump_filter
000001ff
root@lxtest:~# echo 0x2FF > /proc/1/coredump_filter
root@lxtest:~# cat /proc/1/coredump_filter
000000ff

In a Linux vm

root@ai:~# uname -a
Linux ai 6.17.4-76061704-generic #202510191616~1762410050~22.04~898873a SMP PREEMPT_DYNAMIC Thu N x86_64 x86_64 x86_64 GNU/Linux
root@ai:~# cat /proc/1/coredump_filter
00000033
root@ai:~# echo 0x1FF > /proc/1/coredump_filter
root@ai:~# cat /proc/1/coredump_filter
000001ff
root@ai:~# echo 0x2FF > /proc/1/coredump_filter
root@ai:~# cat /proc/1/coredump_filter
000000ff
root@ai:~# ls /proc/1/task/1 | grep coredump_filter
root@ai:~#