segfault while realmd-join

Bug #1325463 reported by Niklas Andersson
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
realmd (Debian)
Fix Released
Unknown
realmd (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
Fix Released
Medium
Unassigned

Bug Description

[Impact]
realmd crashes when using SSSD and full_name_format is not defined in sssd.conf. This is fixed in upstream 0.15.1 [1]

[Test Case]
1. Set up SSSD without defining full_name_format in sssd.conf
2. Set up realmd
3. Run realmd-join
Expected result:
realmd works
Observed result:
realmd crashes

[Regression Potential]
Low since this patch just tries a number of fallback cases so the format string is always defined. The patch came from upstream.

[1] http://cgit.freedesktop.org/realmd/realmd/commit/?id=761fc873a5089ecd9e95fc77511fa07338d05b44

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in realmd (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Ancell (robert-ancell) wrote :
Changed in realmd (Ubuntu):
importance: Undecided → Medium
Changed in realmd (Ubuntu Trusty):
importance: Undecided → Medium
status: New → Triaged
Changed in realmd (Ubuntu):
status: Confirmed → Triaged
description: updated
Revision history for this message
Robert Ancell (robert-ancell) wrote :

We should get Debian to update to 0.15.1 so utopic picks up this change.

description: updated
Changed in realmd (Ubuntu Trusty):
status: Triaged → In Progress
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Debian bug 750374 filed requesting them to update to 0.15.1

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Turns out it is already uploaded and so will flow into utopic soon.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package realmd - 0.15.1-1

---------------
realmd (0.15.1-1) unstable; urgency=medium

  * New upstream release
    - Fix crash if full_name_format is missing in sssd.conf (LP: #1325463)
  * debian/control: Bump libglib2.0-dev to >= 2.39.1. This is allowing to
    avoid a bug in gdbus-codegen (Closes: #743296)

 -- Laurent Bigonville <email address hidden> Mon, 02 Jun 2014 21:51:05 +0200

Changed in realmd (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Stéphane Graber (stgraber) wrote : Please test proposed package

Hello Niklas, or anyone else affected,

Accepted realmd into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/realmd/0.15.0-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in realmd (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Niklas Andersson (niklas-andersson) wrote :

Hi Stéphane,

 Sorry for the late reply. I've been on the road for the last week. I'll start testing tomorrow. Thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could anyone test that update?

Revision history for this message
Niklas Andersson (niklas-andersson) wrote :

I am doing testing and I haven't seen the segfault, so I would say that it works. One worry is that I tried to reproduce the earlier segfault using the current version, and it worked there as well. I am currently doing more extensive testing this week.

Regards,
Niklas

Revision history for this message
Brian Murray (brian-murray) wrote :

This problem doesn't currently exist in the new (temporary) error tracker database so we can't unfortunately use that to confirm it is fixed.

Revision history for this message
Brian Murray (brian-murray) wrote :

Oh and the it only ever had 15 instances in the old problem, so using the error tracker may not be the most reliable way to verify the fix.

Revision history for this message
Elias Probst (eliasp) wrote :

0.15.0-1ubuntu0.1 fixes the problem for me on 14.04/amd64.

Changed in realmd (Debian):
status: Unknown → Fix Released
Mathew Hodson (mhodson)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for realmd has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package realmd - 0.15.0-1ubuntu0.1

---------------
realmd (0.15.0-1ubuntu0.1) trusty; urgency=medium

  * debian/patches/missing-format.patch:
    - Fix crash due to SSSD configuration item full_name_format not being
      defined (LP: #1325463)
 -- Robert Ancell <email address hidden> Tue, 03 Jun 2014 11:16:08 +1200

Changed in realmd (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.