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

Re: Bug#652011: general: Repeated pattern of FHS violation: Dependencies of /sbin and /bin, belong in /lib



On Thu, Dec 15, 2011 at 01:57:20PM +0100, Marco d'Itri wrote:
> On Dec 15, Roger Leigh <rleigh@codelibre.net> wrote:
> 
> > That is to say, /usr is a split of /convenience/.  The real solution
> > would be to have /etc as a separately-mounted encrypted filesystem.
> > So really, keeping /usr separate is a different issue, IMHO.  This
> > isn't a reason to keep the /usr split, it's a reason to support
> > mounting an encrypted /etc in the initramfs.  Such a solution would
> > also satisfy those that want a read-only root but writable /etc for
> > admin convenience.
> You keep repeating arguments in favour of moving /{bin,sbin,lib}/ to
> /usr/ :-)

Well, I think I still need persuading that this is the right direction
to move the files.  I still think that moving /usr to / is a better
strategy, albeit introducing some problems with users who would need
to resize the rootfs (but this has always been an issue with upgrades,
it's really the admin's responsibility to deal with partition sizing
prior to upgrading).

WRT mounting additional filesystems in the initramfs, how difficult
would it be to add an additional mount option to /etc/fstab entries,
e.g. "init" or "initramfs" to mark them as being required for mounting
in the initramfs.  This could include /, /usr, /etc and anything else
the admin deems necessary for booting, and would just be checked and
added when creating/updating the initramfs.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.


Reply to: