🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3166

Bug#1152951: sudo: prevent duplicate Bison invocations during parallel sudoers builds

#3166
From: Marc Haber
Date: Tue, 03 Nov 2026 18:00
37 lines
3272 bytes
Hi Marcel,

On Tue, Nov 03, 2026 at 06:25:59PM +0100, Marcel Jueling wrote:
>Package: sudo
>Version: 1.9.16p2-3+deb13u2
>Severity: normal
>Tags: patch
>
>Dear Debian Sudo Maintainers,
>
>The sudoers parser generation rule in plugins/sudoers/Makefile.in uses 
>an ordinary multi-target rule:
>
>|$(devdir)/gram.c $(devdir)/gram.h: $(srcdir)/gram.y prologue|
>
>The recipe invokes Bison to generate both parser files. Under parallel 
>builds, the ordinary multi-target rule may cause the recipe to be 
>invoked more than once. Duplicate Bison invocations were observed in 
>build logs. The logs do not establish whether the invocations actually 
>overlapped, but the shared temporary output files make this a 
>potential race.

Can you reproduce this on Debian unstable? We are not going to issue a 
stable update to fix this.

If this is still present in unstable, I'd encourage you to file an 
upstream bug about this, as this fix is probably interesting for all 
distibutions shipping sudo.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Technical Details
Message-ID: <NVqXD-9E5H-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NVqXD-9E5H-5@gated-at.bofh.it> <NVqXD-9E5H-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Marc Haber <mh+debian-packages@zugschlus.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152951: sudo: prevent duplicate Bison invocations during parallel sudoers builds
Date: Tue, 03 Nov 2026 19:00:01 +0100
Message-ID: <NVqXD-9E5H-3@gated-at.bofh.it>
References: <NVqXD-9E5H-5@gated-at.bofh.it> <NVqXD-9E5H-5@gated-at.bofh.it>
X-Original-To: Marcel Jueling <Marcel.Jueling@gmx.de>, 1152951@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov  3 17:53:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Marc Haber <mh+debian-packages@zugschlus.de>, 1152951@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sudo@packages.debian.org
X-Debian-Pr-Message: followup 1152951
X-Debian-Pr-Package: sudo
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: sudo
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
User-Agent: Mutt/2.2.13 (2024-03-09)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000486
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 37
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 3 Nov 2026 18:50:08 +0100
X-Original-Message-ID: <auoe0MaT-d2hVKW_@torres.zugschlus.de>
X-Original-References: <49487b30-c7d1-4d3c-b543-f31216981a44@gmx.de> <49487b30-c7d1-4d3c-b543-f31216981a44@gmx.de>