Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1034050

Summary: Errors in domain log when saving user to sysdb
Product: Red Hat Enterprise Linux 7 Reporter: Kaushik Banerjee <kbanerje>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED CURRENTRELEASE QA Contact: Kaushik Banerjee <kbanerje>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: grajaiya, jgalipea, lslebodn, mkosek, pbrezina
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.11.2-10.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:18:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kaushik Banerjee 2013-11-25 07:47:57 UTC
Description of problem:
Errors in domain log when saving user to sysdb

Version-Release number of selected component (if applicable):
sssd-1.11.2-1.el7

How reproducible:
Always

Steps to Reproduce:
1.Add the followng ldif to ldap server:
dn: uid=usr\\\\001,ou=Users,dc=example,dc=com
uidNumber: 181818
gidNumber: 181818
objectClass: posixAccount
objectClass: account
cn: usr\\\\001
homeDirectory: /home/usr\\\\001
userPassword: Secret123

2. Lookup the user via sssd

# getent passwd usr\\\\001
usr\\001:*:181818:181818:usr\\\\001:/home/usr\\\\001:

Actual results:

The following is seen in the logs:

(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): commit ldb transaction (nesting: 3)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sysdb_add_user] (0x0400): Error: 5 (Input/output error)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): cancel ldb transaction (nesting: 2)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sysdb_store_user] (0x0040): Could not add user
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): cancel ldb transaction (nesting: 1)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sysdb_store_user] (0x0400): Error: 5 (Input/output error)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sdap_save_user] (0x0020): Failed to save user [usr\\001]
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sdap_save_users] (0x0040): Failed to store user 0. Ignoring.
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): commit ldb transaction (nesting: 0)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sdap_get_users_process] (0x4000): Saving 1 Users - Done


Expected results:
No errors in domain log.

Additional info:

Comment 2 Lukas Slebodnik 2013-11-25 16:25:31 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/2163

Comment 3 Jakub Hrozek 2013-11-29 14:03:13 UTC
Fixed upstream:

sssd-1-11:
    956be66436d9bcb66c7478052742b1e14ddd3f5d
    fec7eabfc1be9350e1797fc79beaf4ca2f5c62e2

Comment 5 Kaushik Banerjee 2014-01-06 11:58:45 UTC
Error is not seen in the domain log now. Verified with sssd-1.11.2-18.el7

Comment 6 Ludek Smid 2014-06-13 12:18:50 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.