Opened 15 years ago
Closed 15 years ago
#2672 closed task (wontfix)
More explicit mount options for LFS partition
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 6.7 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
I've seen occasional reports of users having problems running configure because the LFS partition is mounted with options such as "noexec" and "nosuid", due to some distros' defaults. I think the command to mount $LFS should include "-o exec,suid,dev".
Change History (3)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Hmm, I though Ubuntu did, but apparently it just sets nodev and nosuid for USB Flash drives, not noexec. Anyway, I suppose it is infrequent enough it might be better relegated to a FAQ...
comment:3 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.