| Summary: | diskless.8 man page unsafe example | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | molter <molter> | ||||
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->closed Committed, thanks! |
In the diskless.8 man page there is an example that contradicts the text: an NFS server which exports a root and /usr partition with appropri- ate permissions. The rc.diskless{1,2} scripts work with readonly partitions, as long as root is exported with -maproot=0 so that some system files can be accessed. As an example, /etc/exports can con- tain the following lines: <ROOT> -maproot=0 -alldirs <list of diskless clients> /usr -alldirs <list of diskless clients> you see? It says to export the partitions readonly, but the example exports them read-write! The manpage is the same on stable and current. Fix: Following patch fixes this. Checked with the various docs in /usr/share/examples/diskless/ How-To-Repeat: man diskless