Bug 207440 - NIS entry confuses chkgrp
Summary: NIS entry confuses chkgrp
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2016-02-23 16:08 UTC by A.J. "Fonz" van Werven
Modified: 2021-04-20 10:20 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description A.J. "Fonz" van Werven 2016-02-23 16:08:06 UTC

When /etc/group contains a line such as
chkgrp issues the following warning:
   /usr/sbin/chkgrp: /etc/group: line 34: strtoul failed
   /etc/group is fine
where line 34 is the one containing the NIS entry. This occurs regardless of whether the NIS entry is the last line in /etc/group.

To reproduce:

Add the line
to /etc/group on a NIS client and run /usr/sbin/chkgrp (or wait for periodic to do that).
Comment 1 Ceri Davies 2021-04-20 10:20:23 UTC
This has been fixed in head in 2014/2015 so should be in all supported releases now.