Bug 854 - Superfluous words in sudoers(5)
Superfluous words in sudoers(5)
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Documentation
1.8.25
PC All
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-06 05:18 MDT by Benedict Reuschling
Modified: 2018-11-16 11:13 MST (History)
0 users

See Also:


Attachments
Patches to sudoers.cat, sudoers.man.in, and sudoers.mdoc.in (1.46 KB, application/gzip)
2018-10-06 05:18 MDT, Benedict Reuschling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benedict Reuschling 2018-10-06 05:18:04 MDT
Created attachment 517 [details]
Patches to sudoers.cat, sudoers.man.in, and sudoers.mdoc.in

The sudoers man page contains a repeated "and and". This was originally reported to FreeBSD in this bug:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231994

During the course of investigating this bug, I've found other instances of repeated words, "injecting injecting" for example. In FreeBSD's docs, we use igor to find common errors like this in man pages. It's not perfect and sometimes has false positives, but is still good enough at finding man page bugs. You can find it here:

http://www.wonkity.com/~wblock/igor/

I've attached a patch to fix the superfluous words in sudoers (I did not check other man pages provided by sudo). The bug is present in sudo upstream version 1.8.25. Rather than fixing it locally in FreeBSD only, I'm submitting the fix to the sudo project so that others can get it, too.

Regards,
Benedict
Comment 1 Todd C. Miller 2018-10-06 05:41:05 MDT
Thanks, I've added an "igor" target to the doc Makefile and will fix the things it finds that seem like problems.
Comment 2 Todd C. Miller 2018-10-06 06:01:30 MDT
Fixed in https://www.sudo.ws/repos/sudo/rev/4ddcb625f3b7
Comment 3 Todd C. Miller 2018-11-16 11:13:55 MST
Fixed in sudo 1.8.26.