Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sssd crashes if non-UTF-8 locale is used #3902

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

sssd crashes if non-UTF-8 locale is used #3902

sssd-bot opened this issue May 2, 2020 · 0 comments
Assignees
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/2861


Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1269232

Description of problem:

Since sssd 1.13 has been crashing, downgrading to 1.12, seems to solve the
problem.

I get the following trace:

    Stack trace of thread 8379:
                                                              #0
0x00007fac4d7d2a98 raise (libc.so.6)
                                                              #1
0x00007fac4d7d469a abort (libc.so.6)
                                                              #2
0x00007fac5168d3b4 _dbus_abort (libdbus-1.so.3)
                                                              #3
0x00007fac51683e3e _dbus_warn_check_failed (libdbus-1.so.3)
                                                              #4
0x00007fac51675d96 dbus_message_iter_append_basic (libdbus-1.so.3)
                                                              #5
0x00007fac51676698 dbus_message_append_args_valist (libdbus-1.so.3)
                                                              #6
0x00007fac51d1c329 sbus_request_return_and_finish (libsss_util.so)
                                                              #7
0x000055865389b3f3 acctinfo_callback (sssd_be)
                                                              #8
0x00007fac427e0d19 sdap_account_info_complete (libsss_ldap_common.so)
                                                              #9
0x00007fac427ddfe0 users_get_done (libsss_ldap_common.so)
                                                              #10
0x00007fac4df7c1c2 _tevent_req_error (libtevent.so.0)
                                                              #11
0x00007fac4df7c1c2 _tevent_req_error (libtevent.so.0)
                                                              #12
0x00007fac427f6314 sdap_search_user_process (libsss_ldap_common.so)
                                                              #13
0x00007fac427f137c generic_ext_search_handler.isra.3 (libsss_ldap_common.so)
                                                              #14
0x00007fac427f2ee3 sdap_get_generic_op_finished (libsss_ldap_common.so)
                                                              #15
0x00007fac427f22fd sdap_process_result (libsss_ldap_common.so)
                                                              #16
0x00007fac4df803c3 epoll_event_loop_once (libtevent.so.0)
                                                              #17
0x00007fac4df7e907 std_event_loop_once (libtevent.so.0)
                                                              #18
0x00007fac4df7b11d _tevent_loop_once (libtevent.so.0)
                                                              #19
0x00007fac4df7b2bb tevent_common_loop_wait (libtevent.so.0)
                                                              #20
0x00007fac4df7e8a7 std_event_loop_wait (libtevent.so.0)
                                                              #21
0x00007fac51d21fd3 server_loop (libsss_util.so)
                                                              #22
0x000055865389ab76 main (sssd_be)
                                                              #23
0x00007fac4d7be580 __libc_start_main (libc.so.6)
                                                              #24
0x000055865389ac09 _start (sssd_be)


Version-Release number of selected component (if applicable):

sssd-1.13.0-7.fc23.x86_64

How reproducible:

Config sssd with something like this:

[sssd]
config_file_version = 2
reconnection_retries = 3
sbus_timeout = 30
services = nss, pam, autofs
domains = default

[nss]
filter_groups = root
filter_users = root
reconnection_retries = 3

[pam]
reconnection_retries = 3
[domain/default]
auth_provider = ldap
ldap_tls_reqcert = never
ldap_id_use_start_tls = True
cache_credentials = True
ldap_search_base = dc=foo,dc=bar
krb5_realm = EXAMPLE.COM
chpass_provider = ldap
id_provider = ldap
use_fully_qualified_names = False
store_legacy_passwords = False
debug_level = 0
min_id = 100
ldap_uri = ldap://example.com
enumerate = True
autofs_provider = ldap

ldap_tls_cacertdir = /etc/openldap/cacerts
[autofs]

and enable sssd in authconfig.

Start sssd service and wait for crash.

Comments


Comment from lslebodn at 2015-11-05 14:31:27

Caused by commit bdc2ace
and locale setting.

The workaround is to use simple locales without unicode characters.

e.g. to add line "LANG=C" to the /etc/sysconfig/sssd.

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
review: True => 0
selected: =>
testsupdated: => 0


Comment from jhrozek at 2015-11-05 21:38:17

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.13.2
owner: somebody => jhrozek
status: new => assigned


Comment from jhrozek at 2015-11-06 15:13:36

Fields changed

summary: crash in sssd => sssd crashes if non-UTF-8 locale is used


Comment from jhrozek at 2015-11-06 21:26:00

Fields changed

patch: 0 => 1


Comment from jhrozek at 2015-11-14 13:40:16

master:
- 6b01dae
- e8ae3af
- 8bc6bc6
sssd-1-13:
- 620b2ad
- 518c003
- b51ed15

resolution: => fixed
status: assigned => closed


Comment from lslebodn at 2017-02-24 14:56:08

Metadata Update from @lslebodn:

  • Issue assigned to jhrozek
  • Issue set to the milestone: SSSD 1.13.2
@sssd-bot sssd-bot added Bugzilla Closed: Fixed Issue was closed as fixed. labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants