shivgu

Results comments of shivgu

how can I run a commnd "sudo sysctl -w kernel.core_pattern=/tmp/core-%e.%p.%h.%t", using the daemonset and hostpath you mentioned? I get the error, sudo:command not found error for the container

@wfurt I tried turning kernel.yama.ptrace_scope=0, but still I dont see the coredumps.

@sdmaclea When I start the container as user 300, I see drwxrwx--- 2 root root 4096 Oct 29 16:58 cores

Hi @sdmaclea I tried making a new directory within dockerfile RUN mkdir -p /Data && chmod o+w /Data. I could make the /Data folder and the permissions on it are...

I am not able to change the permissions of a directory from within the container(running with user id 300), that is why I tried doing it from dockerfile. Running it...

I ran RUN mkdir -p /Data RUN chmod o+w /Data and nothing changed drwxr-xr-x 2 root root 240 Oct 28 23:41 Data

I am not aware whats a bind mount, but does something like this counts as bind mount? volumeMounts: - name: core-dump **mountPath: /Data** readOnly: false volumes: - name: core-dump hostPath:...

okay so I changed the permissions for /var/log/core-dump on the host itself and it reflected in /cores. drwxrwxrwx 4 root root 4096 Oct 29 19:00 cores but still the core-dumps...