[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 07:17:53PM +0200, Riku Voipio wrote:
> On Thu, Dec 15, 2011 at 01:29:18PM +0000, Roger Leigh wrote:
> > 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
> 
> I think we would need a very, very good reason to migrate away from /usr.
> Fedora already is going the other way (/lib,bin to /usr). Going the other
> way would increase fragmentation in Linux and make essentially FHS history.
> 
> Moving everything to /usr is also less work, no need to get rid of the
> --prefix=/usr in most packages in debian...

Hi Riku,

I think an important point to consider is that /usr would not
disappear.  It could be replaced by a symlink for new installs.
This would permit older installs to continue to use /usr, but
the files would end up on / for new installs.  So no changes
to --prefix would be needed, and the Debian packages themselves
could still provide files in /usr.

So none of this would break any FHS paths, or make us incompatible
with Fedora.  In both situations, the same files will be present
in /bin and /usr/bin (and the same for all common subdirectories).

Doing this would be a simple change to debian-installer.  It might
require a few other minor tweaks e.g. to dpkg-shlibdeps when
considering library search paths, but this isn't new--we've
already gone down this route for GNU/Hurd in the past.


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: