Bug 147743 - CAN-2005-2496 improper group set when running ntpd
Summary: CAN-2005-2496 improper group set when running ntpd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: 3
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Petr Raszyk
QA Contact: Brian Brock
URL:
Whiteboard: impact=low,reported=20050210,public=2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-10 21:48 UTC by Josh Bressers
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: 4.2.0.a.20050816 Rel.1
Clone Of:
Environment:
Last Closed: 2005-09-05 07:49:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix for this issue. (339 bytes, text/plain)
2005-02-10 21:48 UTC, Josh Bressers
no flags Details

Description Josh Bressers 2005-02-10 21:48:05 UTC
When starting xntpd with the -u option and specifying the group
by using a string not a numeric gid the daemon uses the gid of
the user not the group.

reproduce:
        # rcxntpd start
        # ps -C ntpd -o comm,pid,ruser,euser,rgroup,egroup
        verify given and real IDs


This issue affects the ntpd we ship with FC

Comment 1 Josh Bressers 2005-02-10 21:48:06 UTC
Created attachment 110943 [details]
Fix for this issue.

Comment 2 Josh Bressers 2005-08-25 15:30:14 UTC
Lifting embargo

Comment 3 Rahul Sundaram 2005-09-05 07:38:47 UTC
has this been fixed now?

Comment 4 Mark J. Cox 2005-09-05 07:49:49 UTC
FEDORA-2005-812

Comment 5 Petr Raszyk 2005-09-15 10:39:32 UTC
Fixed (by jryska)  on Thu Apr 14 2005 
with help (bressers) in:
devel, FC-4, FC-3, RHEL-4.
  	
RHEL-3 does not call 'getgrnam()'.



I checked only (int sw_gid - initialization/setting):


Comment 6 Jindrich Novy 2005-09-15 11:25:43 UTC
An update for FC3 was released so ERRATA is the proper resolution here as this
bug is filed for FC3.

For more information see:
http://lwn.net/Articles/149403/


Note You need to log in before you can comment on or make changes to this bug.