|
Bugzilla – Full Text Bug Listing |
| Summary: | Parse error in plugins/sudoers/sudoers.in near line 96 | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Michal Nowak <mnowak> |
| Component: | Sudoers | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.28 | ||
| Hardware: | PC | ||
| OS: | Other | ||
| Attachments: | Avoid checking sudoers when install into a DESTDIR | ||
|
Description
Michal Nowak
2019-10-16 11:53:36 MDT
I don't think that's the problem. The syntax error you are talking about will not happen with the expanded sudoers file. The actual problem appears to be this: visudo: /etc/sudoers.d: Permission denied Presumably this is due to the user running "make install" cannot access /etc/sudoers.d. There is a check in plugins/sudoers/Makefile.in to only run the visudo check when the user doing in the install can read /etc/sudoers. However, it is possible that the user is unable to access files or directories included by that sudoers file. Created attachment 530 [details]
Avoid checking sudoers when install into a DESTDIR
I think just skipping the sudoers check for DESTDIR installs will fix your issue.
(In reply to Todd C. Miller from comment #2) > Created attachment 530 [details] > Avoid checking sudoers when install into a DESTDIR > > I think just skipping the sudoers check for DESTDIR installs will > fix your issue. The fix worked for me. Thanks! Fixed in sudo 1.8.29 |