Opened 15 years ago

Closed 15 years ago

#2672 closed task (wontfix)

More explicit mount options for LFS partition

Reported by: chris@… Owned by: lfs-book@…
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 bdubbs@…, 15 years ago

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.

comment:2 by chris@…, 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 bdubbs@…, 15 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.