All versions of pam-mount old than 0.13 fail to run
properly on my up-to-date Gentoo amd64. Once installed
I can no longer login. I received this error in my logs.
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_authenticate
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_setcred
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_open_session
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_close_session
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_authenticate
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_setcred
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_open_session
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_close_session
Aug 11 04:26:33 [login(pam_unix)] auth could not
identify password for
[my_user]
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_authenticate
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_setcred
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_open_session
Aug 11 04:26:33 [login] PAM unable to resolve symbol:
pam_sm_close_session
Aug 11 04:26:33 [login(pam_unix)] auth could not
identify password for
[my_user]
Aug 11 04:26:33 [kernel] login[7319]: segfault at
0000000000000000 rip
0000000000000000 rsp 00007fff799a15d8 error 14
My `emerge --info` follows.
Gentoo Base System version 1.6.15
Portage 2.1-r2 (default-linux/amd64/2005.0, gcc-3.4.6,
glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64
Processor 3400+
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1,
1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O3 -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf
/etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-pipe -O3 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links
--perms --times --compress --force --whole-file
--delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local'
--exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi berkdb bitmap-fonts cli crypt
dlloader dri dvd dvdread eds emboss encode flac
foomaticdb fortran gif gnome gpm gstreamer gtk gtk2
imlib ipv6 isdnlog jpeg libvisual lzw lzw-tiff mp3 mpeg
ncurses network nls ogg opengl pam pcre pdflib perl png
pppd python quicktime readline reflection sdl session
softmmu speex spell spl sqlite3 ssl svg tcpd theora
tiff truetype-fonts type1-fonts usb xorg xpm xv zlib
elibc_glibc input_devices_keyboard input_devices_mouse
kernel_linux userland_GNU video_cards_vesa
video_cards_nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS
Logged In: YES
user_id=1287009
What does `readelf -s pam_mount.so` say?
Logged In: NO
Symbol table '.dynsym' contains 217 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000004d18 0 SECTION LOCAL DEFAULT 8
2: 00000000000057f0 0 SECTION LOCAL DEFAULT 10
3: 0000000000011a58 0 SECTION LOCAL DEFAULT 11
4: 0000000000011a70 0 SECTION LOCAL DEFAULT 12
5: 000000000001644c 0 SECTION LOCAL DEFAULT 13
6: 0000000000016828 0 SECTION LOCAL DEFAULT 14
7: 0000000000118000 0 SECTION LOCAL DEFAULT 15
8: 0000000000118010 0 SECTION LOCAL DEFAULT 16
9: 0000000000118020 0 SECTION LOCAL DEFAULT 17
10: 0000000000118040 0 SECTION LOCAL DEFAULT 18
11: 0000000000118e40 0 SECTION LOCAL DEFAULT 22
12: 000000000011d480 0 SECTION LOCAL DEFAULT 23
13: 0000000000000000 80 FUNC GLOBAL DEFAULT UND
strcasecmp@GLIBC_2.2.5 (2)
14: 0000000000009180 3996 FUNC GLOBAL DEFAULT 10
dotconf_command_loop
15: 0000000000000000 10 FUNC GLOBAL DEFAULT UND
geteuid@GLIBC_2.2.5 (2)
16: 000000000011d4a0 4 OBJECT GLOBAL DEFAULT 23 Args
17: 0000000000000000 12 FUNC GLOBAL DEFAULT UND
EVP_CIPHER_CTX_init
18: 0000000000000000 40 FUNC GLOBAL DEFAULT UND
chdir@GLIBC_2.2.5 (2)
19: 0000000000000000 10 FUNC GLOBAL DEFAULT UND
getegid@GLIBC_2.2.5 (2)
20: 0000000000000000 73 FUNC GLOBAL DEFAULT UND
__xstat64@GLIBC_2.2.5 (2)
21: 000000000000b520 1432 FUNC GLOBAL DEFAULT 10
do_unmount
22: 0000000000000000 129 FUNC GLOBAL DEFAULT UND
closedir@GLIBC_2.2.5 (2)
23: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND
pam_get_item
24: 0000000000000000 40 FUNC GLOBAL DEFAULT UND
rmdir@GLIBC_2.2.5 (2)
25: 00000000000115f0 61 FUNC GLOBAL DEFAULT 10
buffer_len
26: 0000000000000000 325 FUNC GLOBAL DEFAULT UND
open64@GLIBC_2.2.5 (2)
27: 000000000000dc50 287 FUNC GLOBAL DEFAULT 10
optlist_to_str
28: 0000000000000000 10 FUNC GLOBAL DEFAULT UND
gzopen
29: 00000000000110f0 906 FUNC GLOBAL DEFAULT 10
initialize_fillers
30: 0000000000118668 0 OBJECT GLOBAL DEFAULT ABS
_DYNAMIC
31: 0000000000000000 1359 FUNC GLOBAL DEFAULT UND
OpenSSL_add_all_ciphers
32: 0000000000000000 133 FUNC GLOBAL DEFAULT UND
write@GLIBC_2.2.5 (2)
33: 0000000000011950 110 FUNC GLOBAL DEFAULT 10
spawn_set_sigchld
34: 0000000000000000 52 FUNC GLOBAL DEFAULT UND
sigemptyset@GLIBC_2.2.5 (2)
35: 0000000000006f20 919 FUNC GLOBAL DEFAULT 10
pam_sm_open_session
36: 00000000000072d0 457 FUNC GLOBAL DEFAULT 10
pam_sm_close_session
37: 0000000000000000 40 FUNC GLOBAL DEFAULT UND
chown@GLIBC_2.2.5 (2)
38: 0000000000000000 59 FUNC GLOBAL DEFAULT UND
g_queue_is_empty
39: 0000000000000000 144 FUNC GLOBAL DEFAULT UND
fscanf@GLIBC_2.2.5 (2)
40: 00000000000118b0 147 FUNC GLOBAL DEFAULT 10
realloc_n_cpy
41: 0000000000000000 59 FUNC GLOBAL DEFAULT UND
g_error_free
42: 00000000000114e0 113 FUNC GLOBAL DEFAULT 10
buffer_clear
43: 0000000000000000 245 FUNC GLOBAL DEFAULT UND
getenv@GLIBC_2.2.5 (2)
44: 0000000000011560 144 FUNC GLOBAL DEFAULT 10
buffer_eat
45: 0000000000000000 466 FUNC GLOBAL DEFAULT UND
malloc@GLIBC_2.2.5 (2)
46: 0000000000005d30 255 FUNC GLOBAL DEFAULT 10 l0g
47: 0000000000000000 242 FUNC GLOBAL DEFAULT UND
strncmp@GLIBC_2.2.5 (2)
48: 0000000000118040 552 OBJECT GLOBAL DEFAULT 18
mod_fn
49: 0000000000000000 121 FUNC GLOBAL DEFAULT UND
g_queue_pop_head
50: 0000000000000000 8 FUNC GLOBAL DEFAULT UND
EVP_md5
51: 0000000000000000 10 FUNC GLOBAL DEFAULT UND
EVP_get_cipherbyname
52: 000000000000e320 315 FUNC GLOBAL DEFAULT 10
fmt_ptrn_update_kv
53: 0000000000000000 16768 FUNC GLOBAL DEFAULT UND
vfprintf@GLIBC_2.2.5 (2)
54: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND
pam_set_data
55: 000000000000d670 73 FUNC GLOBAL DEFAULT 10
optlist_exists
56: 0000000000000000 148 FUNC GLOBAL DEFAULT UND
strncat@GLIBC_2.2.5 (2)
57: 0000000000000000 39 FUNC GLOBAL DEFAULT UND
sigaction@GLIBC_2.2.5 (2)
58: 0000000000010230 380 FUNC GLOBAL DEFAULT 10
fmt_ptrn_gets
59: 0000000000000000 149 FUNC GLOBAL DEFAULT UND
strncpy@GLIBC_2.2.5 (2)
60: 0000000000000000 7 FUNC GLOBAL DEFAULT UND
fopen64@GLIBC_2.2.5 (2)
61: 0000000000006110 40 FUNC GLOBAL DEFAULT 10
static_string_valid
62: 000000000000eb80 204 FUNC GLOBAL DEFAULT 10
fmt_ptrn_close
63: 0000000000000000 41 FUNC GLOBAL DEFAULT UND
setgid@GLIBC_2.2.5 (2)
64: 000000000000d6c0 150 FUNC GLOBAL DEFAULT 10
optlist_value
65: 0000000000000000 129 FUNC GLOBAL DEFAULT UND
g_strlcpy
66: 0000000000000000 136 FUNC GLOBAL DEFAULT UND
setmntent@GLIBC_2.2.5 (2)
67: 0000000000008260 162 FUNC GLOBAL DEFAULT 10
readconfig
68: 0000000000000000 421 FUNC GLOBAL DEFAULT UND
fclose@GLIBC_2.2.5 (2)
69: 0000000000000000 8 OBJECT GLOBAL DEFAULT UND
stderr@GLIBC_2.2.5 (2)
70: 0000000000010fd0 97 FUNC GLOBAL DEFAULT 10
print_dir
71: 000000000000bf10 5705 FUNC GLOBAL DEFAULT 10
do_mount
72: 0000000000000000 8 OBJECT WEAK DEFAULT UND
_environ@GLIBC_2.2.5 (2)
73: 000000000000d590 93 FUNC GLOBAL DEFAULT 10
pair_destroy
74: 0000000000000000 131 FUNC GLOBAL DEFAULT UND
g_tree_lookup
75: 0000000000004d18 0 FUNC GLOBAL DEFAULT 8 _init
76: 0000000000011040 166 FUNC GLOBAL DEFAULT 10
initialize_fillers_from_f
77: 0000000000008490 134 FUNC GLOBAL DEFAULT 10
freeconfig
78: 0000000000007b40 739 FUNC GLOBAL DEFAULT 10
luserconf_volume_record_s
79: 00000000000072c0 5 FUNC GLOBAL DEFAULT 10
pam_sm_chauthtok
80: 0000000000000000 917 FUNC GLOBAL DEFAULT UND
strlen@GLIBC_2.2.5 (2)
81: 0000000000000000 8 OBJECT GLOBAL DEFAULT UND
__environ@GLIBC_2.2.5 (2)
82: 0000000000000000 242 FUNC GLOBAL DEFAULT UND
getgrgid@GLIBC_2.2.5 (2)
83: 0000000000000000 123 FUNC GLOBAL DEFAULT UND
setenv@GLIBC_2.2.5 (2)
84: 0000000000000000 16 FUNC GLOBAL DEFAULT UND
strftime@GLIBC_2.2.5 (2)
85: 0000000000000000 170 FUNC GLOBAL DEFAULT UND
g_malloc0
86: 0000000000000000 105 FUNC GLOBAL DEFAULT UND
strncasecmp@GLIBC_2.2.5 (2)
87: 0000000000000000 272 FUNC GLOBAL DEFAULT UND
fread@GLIBC_2.2.5 (2)
88: 0000000000006280 373 FUNC GLOBAL DEFAULT 10
log_argv
89: 0000000000000000 84 FUNC GLOBAL DEFAULT UND
__strdup@GLIBC_2.2.5 (2)
90: 0000000000010500 188 FUNC GLOBAL DEFAULT 10
fmt_ptrn_perror
91: 000000000000e010 449 FUNC GLOBAL DEFAULT 10
enqueue_parse_errmsg
92: 0000000000000000 85 FUNC GLOBAL DEFAULT UND
g_strndup
93: 0000000000000000 1428 FUNC GLOBAL DEFAULT UND
strcpy@GLIBC_2.2.5 (2)
94: 0000000000000000 17 FUNC GLOBAL DEFAULT UND
g_list_length
95: 0000000000000000 144 FUNC GLOBAL DEFAULT UND
fprintf@GLIBC_2.2.5 (2)
96: 000000000000e1e0 309 FUNC GLOBAL DEFAULT 10
fmt_ptrn_update_kv_p
97: 0000000000000000 1143 FUNC GLOBAL DEFAULT UND
memcpy@GLIBC_2.2.5 (2)
98: 000000000000a360 48 FUNC GLOBAL DEFAULT 10
dotconf_cleanup
99: 0000000000005e30 282 FUNC GLOBAL DEFAULT 10 w4rn
100: 0000000000000000 139 FUNC GLOBAL DEFAULT UND
snprintf@GLIBC_2.2.5 (2)
101: 0000000000000000 329 FUNC GLOBAL DEFAULT UND
fgets@GLIBC_2.2.5 (2)
102: 0000000000000000 827 FUNC GLOBAL DEFAULT UND
strcmp@GLIBC_2.2.5 (2)
103: 0000000000000000 18 FUNC GLOBAL DEFAULT UND
SSL_load_error_strings
104: 0000000000000000 18 FUNC GLOBAL DEFAULT UND
time@GLIBC_2.2.5 (2)
105: 0000000000000000 189 FUNC GLOBAL DEFAULT UND
g_path_get_dirname
106: 0000000000000000 370 FUNC GLOBAL DEFAULT UND
g_spawn_async_with_pipes
107: 0000000000000000 40 FUNC GLOBAL DEFAULT UND
setfsuid@GLIBC_2.2.5 (2)
108: 0000000000000000 567 FUNC GLOBAL DEFAULT UND
realloc@GLIBC_2.2.5 (2)
109: 0000000000000000 152 FUNC GLOBAL DEFAULT UND
g_ascii_strup
110: 0000000000000000 153 FUNC GLOBAL DEFAULT UND
g_ascii_strdown
111: 0000000000000000 130 FUNC GLOBAL DEFAULT UND
EVP_CIPHER_CTX_cleanup
112: 0000000000006140 188 FUNC GLOBAL DEFAULT 10
vol_t_valid
113: 0000000000000000 41 FUNC GLOBAL DEFAULT UND
setuid@GLIBC_2.2.5 (2)
114: 0000000000000000 144 FUNC GLOBAL DEFAULT UND
sscanf@GLIBC_2.2.5 (2)
115: 0000000000000000 538 FUNC GLOBAL DEFAULT UND
fdopen@GLIBC_2.2.5 (2)
116: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND
pam_set_item
117: 0000000000000000 242 FUNC GLOBAL DEFAULT UND
getpwnam@GLIBC_2.2.5 (2)
118: 0000000000000000 363 FUNC GLOBAL DEFAULT UND
opendir@GLIBC_2.2.5 (2)
119: 000000000000d580 16 FUNC GLOBAL DEFAULT 10
pair_init
120: 0000000000000000 1373 FUNC GLOBAL DEFAULT UND
vsyslog@GLIBC_2.2.5 (2)
121: 0000000000000000 33 FUNC GLOBAL DEFAULT UND
ERR_error_string
122: 0000000000000000 162 FUNC GLOBAL DEFAULT UND
printf@GLIBC_2.2.5 (2)
123: 0000000000000000 17 FUNC GLOBAL DEFAULT UND
localtime@GLIBC_2.2.5 (2)
124: 000000000000dde0 259 FUNC GLOBAL DEFAULT 10
fmt_ptrn_parse_strerror
125: 0000000000000000 377 FUNC GLOBAL DEFAULT UND
EVP_DecryptUpdate
126: 0000000000000000 10 FUNC GLOBAL DEFAULT UND
getgid@GLIBC_2.2.5 (2)
127: 00000000000119c0 88 FUNC GLOBAL DEFAULT 10
spawn_restore_sigchld
128: 00000000000103b0 330 FUNC GLOBAL DEFAULT 10
fmt_ptrn_filled
129: 0000000000008310 376 FUNC GLOBAL DEFAULT 10
initconfig
130: 000000000000e900 304 FUNC GLOBAL DEFAULT 10
fmt_ptrn_init
131: 0000000000000000 161 FUNC GLOBAL DEFAULT UND
g_strlcat
132: 0000000000000000 207 FUNC GLOBAL DEFAULT UND
g_realloc
133: 000000000011d478 0 NOTYPE GLOBAL DEFAULT ABS
__bss_start
134: 0000000000000000 406 FUNC GLOBAL DEFAULT UND
gzclose
135: 0000000000000000 96 FUNC GLOBAL DEFAULT UND
g_queue_pop_tail
136: 0000000000006710 26 FUNC GLOBAL DEFAULT 10
relookup_user
137: 0000000000000000 16 FUNC GLOBAL DEFAULT UND
__strtol_internal@GLIBC_2.2.5 (2)
138: 0000000000000000 283 FUNC GLOBAL DEFAULT UND
__assert_fail@GLIBC_2.2.5 (2)
139: 0000000000000000 170 FUNC WEAK DEFAULT UND
__cxa_finalize@GLIBC_2.2.5 (2)
140: 0000000000000000 8 FUNC GLOBAL DEFAULT UND
EVP_DecryptInit_ex
141: 0000000000000000 418 FUNC GLOBAL DEFAULT UND
strchr@GLIBC_2.2.5 (2)
142: 0000000000000000 569 FUNC GLOBAL DEFAULT UND
memset@GLIBC_2.2.5 (2)
143: 0000000000000000 84 FUNC GLOBAL DEFAULT UND
g_list_find_custom
144: 0000000000000000 223 FUNC GLOBAL DEFAULT UND
vsnprintf@GLIBC_2.2.5 (2)
145: 0000000000000000 242 FUNC GLOBAL DEFAULT UND
getgrnam@GLIBC_2.2.5 (2)
146: 00000000000105c0 97 FUNC GLOBAL DEFAULT 10
fmt_ptrn_strerror
147: 0000000000006200 124 FUNC GLOBAL DEFAULT 10
config_t_valid
148: 0000000000007e30 319 FUNC GLOBAL DEFAULT 10
volume_record_sane
149: 0000000000011a58 0 FUNC GLOBAL DEFAULT 11 _fini
150: 0000000000000000 180 FUNC GLOBAL DEFAULT UND
strerror@GLIBC_2.2.5 (2)
151: 0000000000005890 1177 FUNC GLOBAL DEFAULT 10
decrypted_key
152: 0000000000011480 84 FUNC GLOBAL DEFAULT 10
buffer_t_valid
153: 0000000000011760 333 FUNC GLOBAL DEFAULT 10
realloc_n_ncat
154: 0000000000011630 302 FUNC GLOBAL DEFAULT 10
realloc_n_cat
155: 0000000000000000 202 FUNC GLOBAL DEFAULT UND
fputc@GLIBC_2.2.5 (2)
156: 0000000000000000 93 FUNC GLOBAL DEFAULT UND
g_tree_new
157: 0000000000000000 22 FUNC GLOBAL DEFAULT UND
ERR_get_error
158: 0000000000000000 175 FUNC GLOBAL DEFAULT UND
waitpid@GLIBC_2.2.5 (2)
159: 0000000000000000 202 FUNC GLOBAL DEFAULT UND
exit@GLIBC_2.2.5 (2)
160: 0000000000000000 572 FUNC GLOBAL DEFAULT UND
EVP_BytesToKey
161: 0000000000000000 853 FUNC GLOBAL DEFAULT UND
calloc@GLIBC_2.2.5 (2)
162: 000000000000def0 284 FUNC GLOBAL DEFAULT 10
fmt_ptrn_parse_perror
163: 0000000000000000 40 FUNC GLOBAL DEFAULT UND
access@GLIBC_2.2.5 (2)
164: 0000000000000000 144 FUNC GLOBAL DEFAULT UND
sprintf@GLIBC_2.2.5 (2)
165: 0000000000000000 24 FUNC GLOBAL DEFAULT UND
endmntent@GLIBC_2.2.5 (2)
166: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND
pam_strerror
167: 0000000000000000 357 FUNC GLOBAL DEFAULT UND
EVP_DecryptFinal_ex
168: 0000000000000000 107 FUNC GLOBAL DEFAULT UND
getmntent@GLIBC_2.2.5 (2)
169: 00000000000065b0 346 FUNC GLOBAL DEFAULT 10
set_myuid
170: 0000000000000000 40 FUNC GLOBAL DEFAULT UND
ioctl@GLIBC_2.2.5 (2)
171: 0000000000000000 86 FUNC GLOBAL DEFAULT UND
g_strdup
172: 000000000011d478 0 NOTYPE GLOBAL DEFAULT ABS
_edata
173: 0000000000127a38 0 NOTYPE GLOBAL DEFAULT ABS _end
174: 0000000000000000 113 FUNC GLOBAL DEFAULT UND
close@GLIBC_2.2.5 (2)
175: 0000000000000000 134 FUNC GLOBAL DEFAULT UND
ERR_free_strings
176: 0000000000005fa0 259 FUNC GLOBAL DEFAULT 10 owns
177: 0000000000000000 17 FUNC GLOBAL DEFAULT UND
__errno_location@GLIBC_2.2.5 (2)
178: 000000000000bbd0 820 FUNC GLOBAL DEFAULT 10
mount_op
179: 0000000000000000 40 FUNC GLOBAL DEFAULT UND
mkdir@GLIBC_2.2.5 (2)
180: 000000000000ea30 310 FUNC GLOBAL DEFAULT 10
fmt_ptrn_open
181: 00000000000074a0 3 FUNC GLOBAL DEFAULT 10
pam_sm_setcred
182: 0000000000000000 93 FUNC GLOBAL DEFAULT UND
g_list_append
183: 00000000001238f8 4 OBJECT WEAK DEFAULT 23 Debug
184: 0000000000000000 10 FUNC GLOBAL DEFAULT UND
g_queue_new
185: 0000000000000000 115 FUNC GLOBAL DEFAULT UND
gzgets
186: 0000000000006400 425 FUNC GLOBAL DEFAULT 10
add_to_argv
187: 0000000000000000 217 FUNC GLOBAL DEFAULT UND
free@GLIBC_2.2.5 (2)
188: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND
pam_get_data
189: 0000000000000000 188 FUNC GLOBAL DEFAULT UND
g_get_real_name
190: 0000000000010e10 436 FUNC GLOBAL DEFAULT 10
template_find
191: 00000000000060b0 87 FUNC GLOBAL DEFAULT 10
str_to_long
192: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND
pam_get_user
193: 000000000000d560 29 FUNC GLOBAL DEFAULT 10
pair_t_valid
194: 0000000000000000 176 FUNC GLOBAL DEFAULT UND
strstr@GLIBC_2.2.5 (2)
195: 000000000000dd70 110 FUNC GLOBAL DEFAULT 10
fmt_ptrn_parse_err
196: 0000000000000000 63 FUNC GLOBAL DEFAULT UND
g_queue_push_head
197: 0000000000000000 42 FUNC GLOBAL DEFAULT UND
g_tree_insert
198: 0000000000000000 245 FUNC GLOBAL DEFAULT UND
readdir64@GLIBC_2.2.5 (2)
199: 0000000000006910 901 FUNC GLOBAL DEFAULT 10
pam_sm_authenticate
200: 0000000000000000 10 FUNC GLOBAL DEFAULT UND
getuid@GLIBC_2.2.5 (2)
201: 0000000000000000 1137 FUNC GLOBAL DEFAULT UND
realpath@GLIBC_2.3 (3)
202: 0000000000000000 0 NOTYPE WEAK DEFAULT UND
_Jv_RegisterClasses
203: 0000000000000000 55 FUNC GLOBAL DEFAULT UND
__ctype_b_loc@GLIBC_2.3 (3)
204: 0000000000000000 119 FUNC GLOBAL DEFAULT UND
g_free
205: 0000000000008720 665 FUNC GLOBAL DEFAULT 10
expandconfig
206: 0000000000000000 444 FUNC GLOBAL DEFAULT UND
strcat@GLIBC_2.2.5 (2)
207: 0000000000000000 128 FUNC GLOBAL DEFAULT UND
g_tree_foreach
208: 000000000000db00 322 FUNC GLOBAL DEFAULT 10
str_to_optlist
209: 0000000000005f50 75 FUNC GLOBAL DEFAULT 10
exists
210: 0000000000000000 8 OBJECT GLOBAL DEFAULT UND
environ@GLIBC_2.2.5 (2)
211: 00000000000074b0 6 FUNC GLOBAL DEFAULT 10
pam_sm_acct_mgmt
212: 00000000000089c0 1356 FUNC GLOBAL DEFAULT 10
read_volume
213: 000000000011d4c0 25656 OBJECT GLOBAL DEFAULT 23
Config
214: 0000000000000000 116 FUNC GLOBAL DEFAULT UND
system@GLIBC_2.2.5 (2)
215: 000000000000a120 574 FUNC GLOBAL DEFAULT 10
dotconf_create
216: 0000000000000000 0 NOTYPE WEAK DEFAULT UND
__gmon_start__
Logged In: YES
user_id=1287009
Seems to be something _really_ strange. Visibility ("GLOBAL"
vs "HIDDEN") of symbols has not changed between 0.12.2 and
0.13.0, and I am wondering why PAM says symbol not found
even though it's exported (means, it can be found by dlopen):
199: 0000000000006910 901 FUNC GLOBAL DEFAULT 10
pam_sm_authenticate
Are you possibly trying to run pam_mount with some graphical
login window?
Logged In: YES
user_id=1482316
I concur with the strangeness. I'm not running any graphical
login manager, I just login via console and run startx.
Logged In: YES
user_id=1287009
Well, I have no clue on this one. If you look at the unified
diff between 0.12.2 and 0.13, there is IMO nothing that
could become problematic. Maybe you can find out by
bisecting the patches from 0.12.0-to-0.13.0.tbz2.
Logged In: YES
user_id=1287009
Anyone got a gentoo amd64 root shell for debuggin' msg me in
private.
Logged In: NO
It appears this isn't an amd64-only bug anymore.
https://bugs.gentoo.org/show_bug.cgi?id=24213#c76
Logged In: YES
user_id=1287009
Is it possible that your gentoo gcc, even though version
3.x, can do -fvisibility=hidden?
Logged In: NO
Just tested gcc -fvisibility=hidden i.c -o i && readelf -s
i, all the symbols show up.
Logged In: YES
user_id=1287009
So gentoo patched -fvisibility into GCC 3.x? Explains why
this issue only shows up on Gentoo. In that case, the
workaround is to tweak pam_mount/src/compiler.h so that
EXPORT_SYMBOL is actually defined, i.e. turn
#if defined(__GNUC__) && __GNUC__ >= 4
# define EXPORT_SYMBOL
__attribute__((visibility("default")))
#else
# define EXPORT_SYMBOL
#endif
into an unconditional
#define EXPORT_SYMBOL __attribute__((visibility("default")))
NB: readelf -s may show them, but your symbols from i.c must
be GLOBAL not LOCAL.
Logged In: YES
user_id=1287009
But, 0.13.0 did not use -fvisiblity/EXPORT_SYMBOL!
And, the symbol dump you gave earlier lists
pam_sm_open_session as GLOBAL, for example, so it is hard to
believe that there is an issue with EXPORT_SYMBOL/-fvis.
Logged In: YES
user_id=1482316
Oops, my mistake. After double checking `readelf -s i` some
symbols were made hidden.
$ readelf -s i | grep HIDDEN
57: 0000000000500910 4 OBJECT GLOBAL HIDDEN 23 x
59: 00000000004004e8 21 FUNC GLOBAL HIDDEN 12 hello
61: 0000000000500900 0 OBJECT GLOBAL HIDDEN 23
__dso_handle
69: 00000000004004fd 42 FUNC GLOBAL HIDDEN 12 main
74: 00000000005008d0 0 OBJECT GLOBAL HIDDEN 22
_GLOBAL_OFFSET_TABLE_
#include <stdio.h>
int x = 10;
void hello()
{
printf("hello\n");
}
int main()
{
hello();
printf("%d\n",x);
return 0;
}
Logged In: YES
user_id=1287009
Yeah alright, might explain something. But may be just a
side effect that got bigger, because you experienced it with
a version before 0.15, which just should not happen because
- as your 1st symbol trace shows - nothing is marked HIDDEN,
but DEFAULT. Therefore, if we can resolve what broke between
0.12.2 and 0.13, it is much more likely to find a real fix.
Setting up a Gentoo box is a time-PITA, so I am unlikely to
resolve it anytime soon using my own machines. (Same request
as before. :)