Project

General

Profile

Bug #2728

Sudo doesn't reap it's children

Added by zcrownover about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Vendor software
Target version:
Start date:
11/02/2014
Due date:
% Done:

100%

Estimated time:

Description

Sudo fails to reap it's child processes, leaving zombies and never returning to the original prompt. Sudo then fails to listen to term signals, requiring kill signals to take them down. This affects the latest version of sudo in the packages and tested on the 4.0 RC. To be clear, sudo commands will be invoked successfully, but the prompt will not be returned. Although I've marked this as 3.9, it's actually for 4.0, the versions here need to be updated.

> pkg query %n-%v sudo
sudo-1.8.11.p1


Files

brokensudo2.log (1.82 KB) brokensudo2.log zcrownover, 11/02/2014 09:44 PM

History

#1

Updated by ftigeot about 5 years ago

  • Category changed from Kernel to Vendor software

Sudo 1.8.10 is actually fine, changing category to Vendor software

#2

Updated by ftigeot about 5 years ago

  • Target version changed from 3.9.x to 4.0.x

Changing target version to 4.0

#3

Updated by ftigeot about 5 years ago

#4

Updated by ftigeot about 5 years ago

sudo-1.8.11.p1 is working fine on FreeBSD -current, this may still be a DragonFly bug.

#5

Updated by zcrownover about 5 years ago

I forgot to mention it, but for clarity sake, the file I attached earlier is a ktrace file.

#6

Updated by dragonflybsd1 about 5 years ago

joris mentions the patch provided in that ticket worked.
What happens with that patch? pushed to freebsd ports? Are they not affected by the issue -- truly? why not?

#7

Updated by ftigeot about 5 years ago

  • % Done changed from 0 to 100

The fixes for this bug have been pushed to DeltaPorts.
https://github.com/DragonFlyBSD/DeltaPorts/commit/81a01d411a95b21341361e0d30d4a571edf5f610

Hopefully this is temporary and a new sudo version will include them in the future.

#8

Updated by ftigeot about 5 years ago

  • Status changed from New to Resolved

The patched sudo is now in dports and will be in the next set of 4.0 packages.

#9

Updated by tuxillo almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF