Hello, On Wed, Feb 10, 2021 at 01:51:31AM +0100, Hilko Bengen wrote: > Package: reprepro > Version: 5.3.0-1.1 > Severity: important > Tags: patch > > Dear Maintainer, > > when used with --endhook, reprepro fails to output anything if standard > output is a pipe. Here's a minimal reproducer: > > ,---- > | $ mkdir -p r/conf > | $ cat > r/conf/distributions <<EOF > | Codename: sid > | Architectures: amd64 source > | Components: main > | EOF > | $ reprepro -b r includedsc sid hello_2.10-2.dsc > | Exporting indices... > | $ reprepro -b r list sid > | sid|main|source: hello 2.10-2 > | $ reprepro -b r list sid | cat > | sid|main|source: hello 2.10-2 > | $ reprepro -b r --endhook /bin/true list sid | cat > | $ > `---- > > Apparently stdio buffers are not flushed before exec()ing the endhook > program. The attached patch fixes this.
This seems to be the same issue as https://bugs.debian.org/928133 @brlink: Do you consider fixing this problem for bullseye? Would you welcome an NMU? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
signature.asc
Description: PGP signature