Fossil SCM

Enhanced description of how to set up the /proc filesystem inside of a chroot jail.

drh 2015-11-14 16:16 trunk
Commit 28a1da05b1fa3f364a4cf1b94ed1306a75934152
1 file changed +1 -1
+1 -1
--- www/server.wiki
+++ www/server.wiki
@@ -344,11 +344,11 @@
344344
Note also that Linux implements "getloadavg()" by accessing the "/proc/loadavg"
345345
file in the "proc" virtual filesystem. If you are running a Fossil instance
346346
inside a chroot() jail on Linux, you will need to make the "/proc" file
347347
system available inside that jail in order for this feature to work. On
348348
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:
350350
<blockquote><pre>
351351
chroot_jail_proc /home/www/proc proc r 0 0
352352
</pre></blockquote>
353353
Pathnames should be adjusted for individual systems, of course.
354354
<p>
355355
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button