File tree 4 files changed +13
-3
lines changed
4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ PEERDIR(
69
69
yql/essentials/udfs/common/url_base
70
70
yql/essentials/udfs/common/yson2
71
71
yql/essentials/udfs/logs/dsv
72
- # ydb/library/breakpad # not working properly, see KIKIMR-18829 for details
72
+ # ydb/library/breakpad
73
73
ydb/public/sdk/cpp/client/ydb_persqueue_public/codecs
74
74
)
75
75
Original file line number Diff line number Diff line change @@ -26,18 +26,28 @@ COPY --chmod=0644 /liblibaio-dynamic.so /lib/liblibaio-dynamic.so
26
26
# ##
27
27
28
28
FROM ${BREAKPAD_INIT_IMAGE}:${BREAKPAD_INIT_IMAGE_TAG} AS breakpad_init
29
+ FROM base AS breakpad-setuid
30
+ COPY --from=breakpad_init /usr/lib/libbreakpad_init.so /usr/lib/libbreakpad_init.so
31
+ # workaround for old docker versions
32
+ # https://github.com/moby/buildkit/issues/3920
33
+ RUN /usr/bin/chmod 4644 /usr/lib/libbreakpad_init.so
34
+
35
+
29
36
FROM base AS base-breakpad
30
37
RUN \
31
38
apt-get -yqq update && \
32
39
apt-get -yqq install --no-install-recommends binutils gdb strace linux-tools-generic && \
33
40
apt-get clean && rm -rf /var/lib/apt/lists/*
41
+ ENV LD_PRELOAD=libbreakpad_init.so
34
42
ENV BREAKPAD_MINIDUMPS_PATH=/opt/ydb/volumes/coredumps
35
43
ENV BREAKPAD_MINIDUMPS_SCRIPT=/opt/ydb/bin/minidump_script.py
36
44
# breakpad binaries
37
45
COPY --chmod=0755 --from=breakpad_init /usr/bin/minidump_stackwalk /usr/bin/minidump_stackwalk
38
46
COPY --chmod=0755 --from=breakpad_init /usr/bin/minidump-2-core /usr/bin/minidump-2-core
39
47
# minidump callback script
40
48
COPY --chmod=0755 --chown=ydb /minidump_script.py /opt/ydb/bin/minidump_script.py
49
+ # minidump init library
50
+ COPY --link --from=breakpad-setuid /usr/lib/libbreakpad_init.so /usr/lib/libbreakpad_init.so
41
51
42
52
FROM base AS ydbd-setcap
43
53
COPY --chmod=0755 --chown=ydb /ydbd /opt/ydb/bin/ydbd
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ IF (OS_LINUX AND NOT SANITIZER_TYPE)
3
3
PY3TEST()
4
4
5
5
TEST_SRCS(
6
- test_break.py
6
+ # test_break.py
7
7
)
8
8
9
9
SIZE(MEDIUM)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RECURSE(
15
15
kqp
16
16
large_serializable
17
17
limits
18
- # minidumps # breakpad is disabled now, see KIKIMR-18829 for details
18
+ minidumps
19
19
postgresql
20
20
query_cache
21
21
rename
You can’t perform that action at this time.
0 commit comments