[LFS Trac] #2672: More explicit mount options for LFS partition

LFS Trac trac at linuxfromscratch.org
Fri May 28 20:44:34 PDT 2010


#2672: More explicit mount options for LFS partition
--------------------------------+-------------------------------------------
 Reporter:  chris@…             |       Owner:  lfs-book@…                   
     Type:  task                |      Status:  new                          
 Priority:  normal              |   Milestone:  6.7                          
Component:  Book                |     Version:  SVN                          
 Severity:  normal              |    Keywords:                               
--------------------------------+-------------------------------------------

Comment(by bdubbs@…):

 I don't know of anything in lfs that actually uses the suid bit.  We
 install as root in Chapter 6, 7, 8.   The suid bit is meaningless when you
 are root.

 I also don't know if a partition is mounted nodev if it makes any
 difference since we mount --bind a separate partition as /dev.

 The exec options is a potential issue.  What distros have mount default to
 noexec?

 I'm not really in favor of adding extra commands for every potential thing
 that could possibly go wrong in the build process.  I don't suppose that
 many people read the FAQ, but that would be a potential place for
 something like this.   If users are following instructions, they latest
 they should know about a noexec partition is section 5.8 and possibly
 earlier.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2672#comment:1>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list