| Summary: | NIS passwd and group maps do not clean out comments | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | howard <howard> | ||||
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 3.3-RELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->closed Fixed in -current, -stable and releng_3 |
Somewhere in the recent past, FreeBSD started allowing comment lines in /etc/passwd and /etc/group. /var/yp/Makefile was not updated to remove the comment lines before making a NIS map from those files. Fix: Here is a context diff on /var/yp/Makefile How-To-Repeat: cd /var/yp; mkdir domain; cd domain make -f ../Makefile group : notice the complaints about duplicate key '#'