Bug 2120680 - sssd-client-2.7.3-1.fc36.x86_64 causes duplicati backups to fail - _nss_sss_getpwuid_r is involved
Summary: sssd-client-2.7.3-1.fc36.x86_64 causes duplicati backups to fail - _nss_sss_g...
Keywords:
Status: CLOSED DUPLICATE of bug 2111582
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: sssd-maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-23 14:11 UTC by Louis van Dyk
Modified: 2022-08-23 14:26 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-08-23 14:26:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
/var/log/messages at the time of failure (90.75 KB, text/plain)
2022-08-23 14:11 UTC, Louis van Dyk
no flags Details

Description Louis van Dyk 2022-08-23 14:11:09 UTC
Created attachment 1907139 [details]
/var/log/messages at the time of failure

Description of problem:

I had been running Duplicati (backup system) successfully for the July 2022.  Suddenly, at the start of August, the jobs would crash after a random time period, at any random file.  I upgraded from Fedora 35 to Fedora 36, which didn't help.  Eventually I found that downgrading sssd-client from 2.7.3-1 (which installed 2.7.0-1) fixed the problem and I got the first successful backups in three weeks.  

Duplicati uses mono to run.


Version-Release number of selected component (if applicable):
Duplicati was working perfectly when using
   sssd-client-2.7.1-2.fc35.x86_64
However, after upgrading the sssd group of packages the jobs began to fail.
   sssd-client-2.7.3-1.fc35.x86_64
As mentioned, I upgraded to Fedora 36, and it still failed when I was running
   sssd-client-2.7.3-1.fc36.x86_64
But it worked again after running "dnf downgrade sssd-client" which installed 
   sssd-client-2.7.0-1.fc36.x86_64


How reproducible:
Once sssd 2.7.3-1 is running, backing up local files (e.g. /home) backed up via Duplicati to an SFTP destination fails at a random time of 10 seconds to 5 hours, and never on the same file.  I will paste the /var/log/messages crash dump under "actual results".


Steps to Reproduce:
1. Install Duplicati and run successfully along with sssd-client-2.7.1-2 or earlier.
2. Upgrade to sssd-client-2.7.3-1
3. Become frustrated as backup jobs crash before completion.


Actual results:

The attached file shows what is recorded in /var/log/messages as the crash happens.

Noteworthy entries from another crash are:
Aug  9 20:59:31 fedora duplicati-server[265988]: #9  0x00007f93c6e37576 in __assert_fail () from /lib64/libc.so.6
Aug  9 20:59:31 fedora duplicati-server[265988]: #10 0x00007f93c6e902b0 in pthread_mutex_lock@@GLIBC_2.2.5 () from /lib64/libc.so.6
Aug  9 20:59:31 fedora duplicati-server[265988]: #11 0x00007f93c71c6736 in sss_nss_mc_get_ctx () from /lib64/libnss_sss.so.2
Aug  9 20:59:31 fedora duplicati-server[265988]: #12 0x00007f93c71c71fe in sss_nss_mc_getpwuid () from /lib64/libnss_sss.so.2
Aug  9 20:59:31 fedora duplicati-server[265988]: #13 0x00007f93c71c9036 in _nss_sss_getpwuid_r () from /lib64/libnss_sss.so.2
Aug  9 20:59:31 fedora duplicati-server[265988]: #14 0x00007f93c6edc631 in getpwuid_r@@GLIBC_2.2.5 () from /lib64/libc.so.6


Expected results:

It should work as it did before updating the sssd suite.


Additional info:
See the discussion at https://forum.duplicati.com/t/suddenly-started-crashing-mono-sgen-pthread-mutex-lock-c/14819/28

Comment 1 Alexey Tikhonov 2022-08-23 14:26:26 UTC
Hi,

I think this is a dulicate of bz 2111582. Fixed upstream, should be fixed in Fedora soon.

*** This bug has been marked as a duplicate of bug 2111582 ***


Note You need to log in before you can comment on or make changes to this bug.