Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291211

Summary: Handbook can mention mount --bind /tmp /tmp et al
Product: [OLD] Docs on www.gentoo.org Reporter: Alexey Dobriyan <adobriyan>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexey Dobriyan 2009-10-30 18:56:24 UTC
Installation handbook or Hardening doc can mention "mount --bind /tmp /tmp"
as the cheapest way of preventing hardlinking from /tmp if it isn't a separate
filesystem already.

I use
mount --bind /tmp /tmp
mount --bind /var/tmp /var/tmp

and in /etc/fstab :

/tmp            /tmp            none    bind
/var/tmp        /var/tmp        none    bind

Reproducible: Always

Steps to Reproduce:
Comment 1 nm (RETIRED) gentoo-dev 2009-11-30 07:30:12 UTC
No real need for this, not for the vast majority of users.