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 1012434 - libiniconfig doesn't trim trailing whitespace
Summary: libiniconfig doesn't trim trailing whitespace
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ding-libs
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Hrozek
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-26 13:15 UTC by Dmitri Pal
Modified: 2020-05-02 17:29 UTC (History)
7 users (show)

Fixed In Version: ding-libs-0.3.0.1-20.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:13:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
dist-git patch (7.37 KB, patch)
2013-09-27 10:15 UTC, Jakub Hrozek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3137 0 None None None 2020-05-02 17:29:20 UTC

Description Dmitri Pal 2013-09-26 13:15:43 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/sssd/ticket/2095

libiniconfig used to trim trailing whitespace of values, but recent versions stopped doing so. A config line like this:

"cache_credentials = true "

breaks sssd startup.

Comment 1 Jakub Hrozek 2013-09-27 08:54:41 UTC
To reproduce, add a line with trailing whitespace to the sssd.conf:

 "cache_credentials = true "

With the unpatched version, this breaks sssd startup, as the value is read by the sssd including the whitespace.

Comment 2 Jakub Hrozek 2013-09-27 10:15:24 UTC
Created attachment 803858 [details]
dist-git patch

Comment 4 Amith 2013-12-04 13:13:15 UTC
Verified the bug on ding-libs version : ding-libs-0.3.0.1-20.el7

Steps followed during verification:

1. Installed older version of ding-libs (ding-libs-0.3.0.1-16.el7) and reproduced the bug. See the Error message of sssd service startup:

# systemctl start sssd.service
Job for sssd.service failed. See 'systemctl status sssd.service' and 'journalctl -xn' for details.
 
# systemctl status sssd.service
sssd.service - System Security Services Daemon
   Loaded: loaded (/usr/lib/systemd/system/sssd.service; disabled)
   Active: failed (Result: exit-code) since Wed 2013-12-04 18:33:10 IST; 12s ago
  Process: 4927 ExecStart=/usr/sbin/sssd -D -f (code=exited, status=4)

Dec 04 18:33:09 rhel-7.redhat.com systemd[1]: Starting System Security Services Daemon...
Dec 04 18:33:10 rhel-7.redhat.com systemd[1]: sssd.service: control process exited, code=exited status=4
Dec 04 18:33:10 rhel-7.redhat.com systemd[1]: Failed to start System Security Services Daemon.
Dec 04 18:33:10 rhel-7.redhat.com systemd[1]: Unit sssd.service entered failed state.

2. Upgraded the ding-libs package to latest version and SSSD service starts fine.

# systemctl status sssd.service
sssd.service - System Security Services Daemon
   Loaded: loaded (/usr/lib/systemd/system/sssd.service; disabled)
   Active: active (running) since Wed 2013-12-04 18:37:22 IST; 3s ago
  Process: 4996 ExecStart=/usr/sbin/sssd -D -f (code=exited, status=0/SUCCESS)
 Main PID: 4997 (sssd)
   CGroup: /system.slice/sssd.service
           ├─4997 /usr/sbin/sssd -D -f
           ├─4998 /usr/libexec/sssd/sssd_be --domain LDAP --debug-to-files
           ├─4999 /usr/libexec/sssd/sssd_nss --debug-to-files
           └─5000 /usr/libexec/sssd/sssd_pam --debug-to-files

Comment 5 Ludek Smid 2014-06-13 12:13:23 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.


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