[SSSD] [PATCH] CI: Run mock under PTY to workaround DNF bug

Jakub Hrozek jhrozek at redhat.com
Mon Oct 12 09:00:07 UTC 2015


On Mon, Oct 12, 2015 at 11:55:08AM +0300, Nikolai Kondrashov wrote:
> On 10/12/2015 11:52 AM, Lukas Slebodnik wrote:
> >On (12/10/15 11:41), Nikolai Kondrashov wrote:
> >>Hi everyone,
> >>
> >>Attached is a patch which tries to workaround a DNF bug [1] which prevents us
> >>from running CI on Fedora Rawhide.
> >>
> >>It seems to work, however Fedora Rawhide repos seem to have some other issue
> >>at the moment, which manifests in dependency installation failures [2],
> >>including standalone builds of SSSD.
> >>
> >>Nick
> >>
> >>[1] https://bugzilla.redhat.com/show_bug.cgi?id=1269665
> >>[2] http://sssd-ci.duckdns.org/logs/job/30/10/fedora_rawhide/ci-build-debug/ci-mock-build.log
> >
> >>From a5efaa7c010c472cb31c0028dd6166a5d8e04d2e Mon Sep 17 00:00:00 2001
> >>From: Nikolai Kondrashov <Nikolai.Kondrashov at redhat.com>
> >>Date: Mon, 12 Oct 2015 09:48:38 +0300
> >>Subject: [PATCH] CI: Run mock under PTY to workaround DNF bug
> >>
> >>Run mock on a pseudo-TTY with the help of "unbuffer" from the "expect"
> >>package to workaround a bug in DNF.
> >>---
> >I would prefer till dnf is fixed and do not add workarounds.
> 
> Weell, I don't believe it will be fixed soon, but if we're OK with that, no
> problem.

Can we ask Fedora dnf maintainer? If the fix won't be in Fedora soon,
I'm fine with adding a workaround and reverting it later..I mean, it's
just a line in git-log..


More information about the sssd-devel mailing list