| Summary: | baselayout-1.12.0_pre11 does not repopulate ppp secrets files | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paul Bredbury <brebs> |
| Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | mrness |
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | pppd.patch | ||
Your voodoo mrness Created attachment 73479 [details, diff]
pppd.patch
Yes, that sed cannot handle empty files.
This pppd patch fixes that.
Patch is in our svn repo - will be in baselayout-1.12.0_pre12 Fixed in pre11-r2 |
The pppd_update_secrets_file() function in /lib/rcscripts/net.modules.d/pppd fails to repopulate a non-existent {chap,pap}-secrets file in /etc/ppp/. The file is created by "touch", but not populated with the username and password by "sed". The problem is the regular-expression voodoo in that function :)