[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#190003: FHS problem



Package: install-doc
Version: current
Severity: Serious

I am looking at
http://www.au.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking

Para 9.6.1 deals with compiling one's own kernel. It recommends,
"Hereafter, we'll assume your kernel source will be located in
/usr/local/src and that your kernel version is 2.2.22. As root, create a
directory under /usr/local/src and change the owner of that directory to
your normal non-root account. As your normal non-root account, change
your directory to where you want to unpack the kernel sources (cd
/usr/local/src), extract the kernel sources (tar xIf
/usr/src/kernel-source-2.2.22.tar.bz2), change your directory to it (cd
kernel-source-2.2.22/)."

In contrast, the FHS at http://www.pathname.com/fhs/2.2/fhs-4.1.html
says, "/usr is the second major section of the filesystem. /usr is
shareable, read-only data. That means that /usr should be shareable
between various FHS-compliant hosts and must not be written to. Any
information that is host-specific or varies with time is stored
elsewhere."

A better location for building kernels and debian packages is somewhere
in the $HOME structure. Advising users to build software in a filesystem
that may be mounted read-only and which 'must not bw written to" is
wrong.




--
Cheers
John Summerfield

Please, no unrelated mail at all at all. This address accepts mail only from Debian addresses.




Reply to: