Package: libapache2-mod-ruid2
Version: 0.9.8-3
Severity: grave

Dear Maintainer,

I'm trying to use the ruid2 module to switch the context of some CGI
applications. This set-up has worked fine on Debian oldstable but
after the upgrade the Apache does not work anymore.

In order to track down this issue, I disabled all the
modules and now only the following ones are loaded:

Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 authz_core_module (shared)
 mpm_worker_module (shared)
 ruid2_module (shared)


The error log looks like this:

[Thu Jun 29 14:34:21.382053 2017] [:notice] [pid 23114:tid 139997118780608] 
mod_ruid2/0.9.8 enabled
[Thu Jun 29 14:34:21.383740 2017] [mpm_worker:notice] [pid 23114:tid 
139997118780608] AH00292: Apache/2.4.25 (Debian) configured -- resuming normal 
operations
[Thu Jun 29 14:34:21.383804 2017] [core:notice] [pid 23114:tid 139997118780608] 
AH00094: Command line: '/usr/sbin/apache2'
[Thu Jun 29 14:34:22.385189 2017] [core:notice] [pid 23114:tid 139997118780608] 
AH00052: child pid 23115 exit signal Aborted (6)
[Thu Jun 29 14:34:22.385364 2017] [core:notice] [pid 23114:tid 139997118780608] 
AH00052: child pid 23116 exit signal Aborted (6)
[Thu Jun 29 14:34:24.388619 2017] [core:notice] [pid 23114:tid 139997118780608] 
AH00052: child pid 23171 exit signal Aborted (6)


I tried to generate a backtrace from GDB but I was unable to locate
any debug symbols package of mod_ruid2:

Thread 3 "apache2" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff56bb700 (LWP 24165)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
        set = {__val = {18446744066193088519, 140737354102536, 140737310861680, 
8412440912, 140737354101680, 140737310861664, 140737342537836, 252833149, 
4294967295, 140737354102936, 140737338756568, 140737354102936, 3, 0, 5, 0}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x00007ffff71823fa in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x2020202020202020, 
sa_sigaction = 0x2020202020202020}, sa_mask = {__val = {2314885530818453536, 5, 
0, 140737310862376, 140737351921873, 2, 0, 64, 140737342551037, 1, 
140737342553876, 
              140737353596552, 0, 140737310862272, 140737310862304, 33}}, 
sa_flags = -134253648, sa_restorer = 0x7ffff56babc0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff74f3cee in __nptl_setxid_error (cmdp=cmdp@entry=0x7ffff56babc0, 
error=<optimized out>) at allocatestack.c:1074
        olderror = <optimized out>
#3  0x00007ffff74f3f27 in __nptl_setxid (cmdp=0x7ffff56babc0) at 
allocatestack.c:1181
        signalled = <optimized out>
        result = 0
        self = 0x7ffff56bb700
        runp = <optimized out>
        error = <optimized out>
#4  0x00007ffff7202c26 in __GI_setgroups (n=<optimized out>, groups=<optimized 
out>) at ../sysdeps/unix/sysv/linux/setgroups.c:33
        __p = <optimized out>
        __cmd = {syscall_no = 116, id = {1, 140737310862432, 140737353596552}, 
cntr = 0, error = 1}
        __result = <optimized out>
        groups = <optimized out>
        n = <optimized out>
#5  0x00007ffff60c46e8 in ?? () from /usr/lib/apache2/modules/mod_ruid2.so
No symbol table info available.
#6  0x00007ffff60c4e06 in ?? () from /usr/lib/apache2/modules/mod_ruid2.so
No symbol table info available.
#7  0x0000555555595140 in ap_run_post_read_request ()
No symbol table info available.
#8  0x0000555555596548 in ap_read_request ()
No symbol table info available.
#9  0x00005555555bfb98 in ?? ()
No symbol table info available.
#10 0x00005555555b56f0 in ap_run_process_connection ()
No symbol table info available.
#11 0x00007ffff62cce4a in ?? () from /usr/lib/apache2/modules/mod_mpm_worker.so
No symbol table info available.
#12 0x00007ffff74f4494 in start_thread (arg=0x7ffff56bb700) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7ffff56bb700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737310865152, 
-5085186147777849429, 0, 140737319255519, 0, 140737354125376, 
5085163158397966251, 5085167313025292203}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#13 0x00007ffff7236aff in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:97
No locals.


-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libapache2-mod-ruid2 depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.25-3+deb9u1
ii  libc6                               2.24-11+deb9u1
ii  libcap2                             1:2.25-1

libapache2-mod-ruid2 recommends no packages.

libapache2-mod-ruid2 suggests no packages.

-- no debconf information

Reply via email to