Fossil SCM
Enhanced description of how to set up the /proc filesystem inside of a chroot jail.
Commit
28a1da05b1fa3f364a4cf1b94ed1306a75934152
Parent
f5bed9ce54f87cf…
1 file changed
+1
-1
+1
-1
| --- www/server.wiki | ||
| +++ www/server.wiki | ||
| @@ -344,11 +344,11 @@ | ||
| 344 | 344 | Note also that Linux implements "getloadavg()" by accessing the "/proc/loadavg" |
| 345 | 345 | file in the "proc" virtual filesystem. If you are running a Fossil instance |
| 346 | 346 | inside a chroot() jail on Linux, you will need to make the "/proc" file |
| 347 | 347 | system available inside that jail in order for this feature to work. On |
| 348 | 348 | the self-hosting Fossil repository, this was accomplished by adding a line |
| 349 | -to the "/etc/mtab" file that looks like: | |
| 349 | +to the "/etc/mtab" or "/etc/fstab" file that looks like: | |
| 350 | 350 | <blockquote><pre> |
| 351 | 351 | chroot_jail_proc /home/www/proc proc r 0 0 |
| 352 | 352 | </pre></blockquote> |
| 353 | 353 | Pathnames should be adjusted for individual systems, of course. |
| 354 | 354 | <p> |
| 355 | 355 |
| --- www/server.wiki | |
| +++ www/server.wiki | |
| @@ -344,11 +344,11 @@ | |
| 344 | Note also that Linux implements "getloadavg()" by accessing the "/proc/loadavg" |
| 345 | file in the "proc" virtual filesystem. If you are running a Fossil instance |
| 346 | inside a chroot() jail on Linux, you will need to make the "/proc" file |
| 347 | system available inside that jail in order for this feature to work. On |
| 348 | the self-hosting Fossil repository, this was accomplished by adding a line |
| 349 | to the "/etc/mtab" file that looks like: |
| 350 | <blockquote><pre> |
| 351 | chroot_jail_proc /home/www/proc proc r 0 0 |
| 352 | </pre></blockquote> |
| 353 | Pathnames should be adjusted for individual systems, of course. |
| 354 | <p> |
| 355 |
| --- www/server.wiki | |
| +++ www/server.wiki | |
| @@ -344,11 +344,11 @@ | |
| 344 | Note also that Linux implements "getloadavg()" by accessing the "/proc/loadavg" |
| 345 | file in the "proc" virtual filesystem. If you are running a Fossil instance |
| 346 | inside a chroot() jail on Linux, you will need to make the "/proc" file |
| 347 | system available inside that jail in order for this feature to work. On |
| 348 | the self-hosting Fossil repository, this was accomplished by adding a line |
| 349 | to the "/etc/mtab" or "/etc/fstab" file that looks like: |
| 350 | <blockquote><pre> |
| 351 | chroot_jail_proc /home/www/proc proc r 0 0 |
| 352 | </pre></blockquote> |
| 353 | Pathnames should be adjusted for individual systems, of course. |
| 354 | <p> |
| 355 |