Public bug reported: The following commit causes a regression when running this stressor as root:
commit 088a61a919aa03a33aded7c9725521c504aee28a Author: Colin Ian King <[email protected]> Date: Sat Oct 29 10:12:15 2016 +0100 stress-iopri: remove local pgrp that shadows global Signed-off-by: Colin Ian King <[email protected]> diff --git a/stress-ioprio.c b/stress-ioprio.c index b53de8f..5973276 100644 --- a/stress-ioprio.c +++ b/stress-ioprio.c @@ -52,7 +52,6 @@ int stress_ioprio( { const pid_t pid = getpid(); const uid_t uid = getuid(); - const pid_t pgrp = getpgrp(); int fd, rc = EXIT_FAILURE; char filename[PATH_MAX]; ** Affects: stress-ng (Ubuntu) Importance: Medium Assignee: Colin Ian King (colin-king) Status: Fix Committed ** Changed in: stress-ng (Ubuntu) Importance: Undecided => Medium ** Changed in: stress-ng (Ubuntu) Status: New => In Progress ** Changed in: stress-ng (Ubuntu) Assignee: (unassigned) => Colin Ian King (colin-king) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1640631 Title: ioprio stressor failes when run as root because of incorrect pgrp id To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1640631/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
