[mpm-itk] undefined symbol: restrict_setuid_range

Kirk Smith ksmith at invertedcube.com
Fri Apr 11 21:11:03 CEST 2014

I've been working on a gentoo ebuild, since support is actually missing in 
apache 2.4 (this may need a note on the homepage?).

Everything seems to be building correctly, however when I do a very simple 
apache test, loading nothing excep the mpm-itk module, it fails on an 
undefined symbol for restrict_setuid_range. Please output from apache2 & nm 


root@[redacted] # /usr/sbin/apache2 -D MPMITK -d /usr/lib64/apache2 -f 
apache2: Syntax error on line 129 of /etc/apache2/httpd.conf: Syntax error on 
line 4 of /etc/apache2/modules.d/19_mpm-itk.conf: Cannot load 
modules/mpm_itk.so into server: /usr/lib64/apache2/modules/mpm_itk.so: 
undefined symbol: restrict_setuid_range


root@[redacted] # nm -gC /usr/lib/apache2/modules/mpm_itk.so
                  w _Jv_RegisterClasses
0000000000204248 A __bss_start
                  w __cxa_finalize@@GLIBC_2.2.5
                  U __errno_location@@GLIBC_2.2.5
                  w __gmon_start__
0000000000204248 A _edata
0000000000204278 A _end
0000000000002c18 T _fini
00000000000016c0 T _init
                  U ap_add_version_component
                  U ap_check_cmd_context
                  U ap_close_listeners
                  U ap_expr_parse_cmd_mi
                  U ap_expr_str_exec
                  U ap_get_scoreboard_worker_from_indexes
                  U ap_gname2id
0000000000204260 B ap_has_irreversibly_setuid
                  U ap_hook_dirwalk_stat
                  U ap_hook_drop_privileges
                  U ap_hook_open_htaccess
                  U ap_hook_post_config
                  U ap_hook_post_perdir_config
                  U ap_hook_process_connection
                  U ap_lingering_close
                  U ap_log_error_
                  U ap_log_perror_
                  U ap_log_rerror_
                  U ap_make_full_path
                  U ap_mpm_query
                  U ap_pcfg_openfile
                  U ap_run_process_connection
                  U ap_server_conf
                  U ap_uname2id
                  U ap_unixd_config
                  U apr_palloc
                  U apr_pstrdup
                  U apr_snprintf
                  U apr_stat
                  U cap_clear
                  U cap_free
                  U cap_init
                  U cap_set_flag
                  U cap_set_proc
                  U exit@@GLIBC_2.2.5
                  U fork@@GLIBC_2.2.5
                  U getgid@@GLIBC_2.2.5
                  U getgrnam@@GLIBC_2.2.5
                  U getpid@@GLIBC_2.2.5
                  U getpwnam@@GLIBC_2.2.5
                  U getuid@@GLIBC_2.2.5
                  U initgroups@@GLIBC_2.2.5
00000000000025c0 T itk_fork_process
00000000002041e0 D mpm_itk_module
                  U prctl@@GLIBC_2.2.5
                  U restrict_setuid_range
                  U setgid@@GLIBC_2.2.5
                  U setpriority@@GLIBC_2.2.5
                  U setuid@@GLIBC_2.2.5
                  U strcmp@@GLIBC_2.2.5
                  U strerror@@GLIBC_2.2.5
                  U strtol@@GLIBC_2.2.5
                  U waitpid@@GLIBC_2.2.5

More information about the mpm-itk mailing list