Bug 5244

Summary: ruserd give a growing number of users
Product: [Retired] Red Hat Linux Reporter: christian.bac
Component: rusersAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-20 14:18:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description christian.bac 1999-09-20 13:52:35 UTC
due to the initialization of static variable the number of
users that rusersd gives back is always growing:

fix : in rusers_proc.c
with a diff -e for example 200c193
<         static int num_users = 0;
---
>         static int num_users ;
206c199
<
---
>       num_users =0;

Comment 1 Jeff Johnson 1999-09-20 14:18:59 UTC
Fixed in rusers-0.15-5. Thanks for the patch.