libpostfix-tls.so is loaded by posttls-finger as we can see in the
debugging session, while trying to figure out how the path to the socket
is created:

Breakpoint 1, tls_mgr_open () at tls_mgr.c:163
163     tls_mgr.c: No such file or directory.
(gdb) bt
#0  tls_mgr_open () at tls_mgr.c:163
#1  0x00007ffff7fb0de5 in tls_mgr_seed (buf=0x555555572920, len=32) at 
tls_mgr.c:184
#2  0x00007ffff7fb1394 in tls_ext_seed (nbytes=32) at tls_seed.c:82
#3  0x00007ffff7fae1e1 in tls_client_init (props=props@entry=0x7fffffffe490) at 
tls_client.c:374
#4  0x0000555555558871 in tls_init (state=0x55555555f060 <state>) at 
posttls-finger.c:1781
#5  parse_options (state=0x55555555f060 <state>, argv=0x7fffffffe6e8, argc=2) 
at posttls-finger.c:2033
#6  main (argc=2, argv=0x7fffffffe6e8) at posttls-finger.c:2129
(gdb) info locals
service = <optimized out>
(gdb) n
165     in tls_mgr.c
(gdb) info locals
service = 0x555555575220 "local:private/tlsmgr"
(gdb) n
167     in tls_mgr.c
(gdb) n
169     in tls_mgr.c
(gdb) n
0x00007ffff7fa55b0 in attr_clnt_control@plt () from 
/usr/lib/postfix/libpostfix-tls.so


and, then, here is the client structure with path and unix socket connection:
(gdb) print *client->auto_clnt
$4 = {vstream = 0x0, endpoint = 0x555555575300 "private/tlsmgr", timeout = 0, 
max_idle = 0, max_ttl = 0, 
  connect = 0x7ffff7f24b40 <unix_connect>}
(gdb) bt
#0  attr_clnt_request (client=0x555555575250, send_flags=send_flags@entry=0) at 
attr_clnt.c:177
#1  0x00007ffff7fb0db5 in tls_mgr_seed (buf=0x555555572920, len=32) at 
../../include/attr.h:89
#2  0x00007ffff7fb1394 in tls_ext_seed (nbytes=32) at tls_seed.c:82
#3  0x00007ffff7fae1e1 in tls_client_init (props=props@entry=0x7fffffffe490) at 
tls_client.c:374
#4  0x0000555555558871 in tls_init (state=0x55555555f060 <state>) at 
posttls-finger.c:1781
#5  parse_options (state=0x55555555f060 <state>, argv=0x7fffffffe6e8, argc=2) 
at posttls-finger.c:2033
#6  main (argc=2, argv=0x7fffffffe6e8) at posttls-finger.c:2129

All before warning messages starts to appear.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1885403

Title:
  posttls-finger fails to connect to private/tlsmgr

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1885403/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to