There is no need or usefulness to have debugsource inside our jails. The shared versions are accessed from the parent file-system: This is an strace of a gdb in the parent system attaching to and getting debuginfo from various files / symbols: 6712 open("/opt/collaboraoffice6.2/program/libuno_cppu.so.3", O_RDONLY) = 9 ... 6712 write(1, "Reading symbols from /opt/collaboraoffice6.2/program/libuno_cppu.so.3...", 72) = 72 6712 lseek(9, 237568, SEEK_SET) = 237568 ... 6712 brk(0x3903000) = 0x3903000 6712 stat("/opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx", {st_mode=S_IFREG|0644, st_size=51458, ...}) = 0 6712 open("/opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx", O_RDONLY|O_CLOEXEC) = 8 6712 lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 6712 lstat("/opt/collaboraoffice6.2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 6712 lstat("/opt/collaboraoffice6.2/debugsource", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 6712 lstat("/opt/collaboraoffice6.2/debugsource/sal", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 6712 lstat("/opt/collaboraoffice6.2/debugsource/sal/rtl", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 6712 lstat("/opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx", {st_mode=S_IFREG|0644, st_size=51458, ...}) = 0 6712 close(8) = 0 6712 ptrace(PTRACE_PEEKTEXT, 6607, 0x7fc92787cb30, [0xf39740ab60ff685]) = 0 6712 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 6712 write(1, "Breakpoint 1 at 0x7fc92787cb30: file /opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx, line 241.\n", 104) = 104 6712 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 6712 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 6712 rt_sigaction(SIGINT, {0x5d4860, [INT], SA_RESTORER|SA_RESTART, 0x7fe2e44d74b0}, {0x5d4860, [INT], SA_RESTORER|SA_RESTART, 0x7fe2e510f390}, 8) = 0 ... 6712 lstat("/opt/collaboraoffice6.2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 6712 lstat("/opt/collaboraoffice6.2/program", {st_mode=S_IFDIR|0755, st_size=40960, ...}) = 0 6712 open("/opt/collaboraoffice6.2/program/libuno_cppu.so.3.dbg", O_RDONLY|O_CLOEXEC) = 10 ./yrjkcS2dBglG2z3E/lo/program/libnssckbi.so.dbg ./yrjkcS2dBglG2z3E/lo/program/libplc4.so.dbg ./yrjkcS2dBglG2z3E/lo/program/libsoftokn3.so.dbg ./yrjkcS2dBglG2z3E/lo/program/libplds4.so.dbg #3 0x00007fc92cf2407c in SotStorage::GetFormatID (xStorage=...) at /opt/collaboraoffice6.2/debugsource/sot/source/sdstor/storage.cxx:775 775 return SotExchange::GetFormat( aDataFlavor ); All of those paths and files are accessed not from the jail, but the parent - so un-necessary ...
Pushed https://gerrit.libreoffice.org/c/online/+/92207 tdf#132100 - don't copy debugsource into jails.
Michael Meeks committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/online/commit/eab1832b06f5da6533ba5ddd1eff714245729a25 tdf#132100 - don't copy debugsource into jails.