From: Mark David Dumlao <madumlao@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] systemd installation location
Date: Mon, 30 Sep 2013 09:40:42 +0800 [thread overview]
Message-ID: <CAG2nJkM7oxouthJCDhD8iWiUHHL0AXFXW+n4iEk6tOKe-F9ZVw@mail.gmail.com> (raw)
In-Reply-To: <5248CBB9.5010205@sporkbox.us>
On Mon, Sep 30, 2013 at 8:54 AM, Daniel Campbell <lists@sporkbox.us> wrote:
> I'm not affected by anything regarding the /usr switch, but I'd like
> to have a good talk with the first person who decided a
> system-critical binary belonged in /usr instead of /bin or /sbin.
> They've created a mess for every distro and any project that depends
> on their work.
(sorry for the previous post, accidentally clicked somewhere onscreen)
As I've pointed out before:
1) "system-critical" is actually dependent on the system. A system dependent
on an smb share will find smbmount system critical. One dependent on
zfs-fuse will find fuse system critical. With the advent of fuse,
some filesystem
that depends on an arbitrary user program will find that system-critical.
While this works for for 99.(99?)% of user systems out there, FHS
is supposed
to be targetting all of them, and so it fails in principle in that respect.
I remember making a lengthy thread on this mailing list challenging how FHS
defined this and it appeared that nobody could make a defense.
2) the reality is, it's not just binaries even. There are some things
that binaries
depend on, that in theory should be in /. For example, the hwid database, or
libraries. Libraries make for a complex problem, because /usr is supposed to
be network-sharable. Any libraries your programs depend on can't simply just
be pushed to /, because then there'd be the chance that the
programs and their
libraries were not in sync.
I made a handful of criticisms to FHS in that thread before, and nobody was
able to mount a suitable defense. The point being, even in principle, separating
/ and /usr is flaky design at best. That we just so happened to
accumulate a number
of packages that are historically installed to /usr is a consequence
of that. It's not
even necessarily the fault of the upstream developer, who's not
supposed to care so
much which PREFIX they install to, or the distro packager, who can't yet predict
how the user will tailor their system.
If you were in the shoes of the ebuild packagers, you would be hard-pressed to
predict which packages belong in the / PREFIX and which ones in /usr PREFIX,
100 times out of 100. But you need 100 times out of 100 or you'll get
people whining
that they can't boot or whining that they need to do some migration. That's
why / and /usr separation is broken.
--
This email is: [ ] actionable [x] fyi [x] social
Response needed: [ ] yes [x] up to you [ ] no
Time-sensitive: [ ] immediate [ ] soon [x] none
next prev parent reply other threads:[~2013-09-30 1:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-29 19:52 [gentoo-user] systemd installation location William Hubbs
2013-09-30 0:54 ` Daniel Campbell
2013-09-30 1:17 ` Mark David Dumlao
2013-09-30 1:22 ` Daniel Campbell
2013-09-30 1:51 ` Mark David Dumlao
2013-09-30 2:01 ` Daniel Campbell
2013-09-30 2:25 ` Mark David Dumlao
2013-09-30 2:31 ` Daniel Campbell
2013-09-30 4:13 ` Pandu Poluan
2013-09-30 5:08 ` Mark David Dumlao
2013-09-30 1:40 ` Mark David Dumlao [this message]
2013-09-30 1:50 ` Daniel Campbell
2013-09-30 2:05 ` Mark David Dumlao
2013-09-30 2:15 ` Daniel Campbell
2013-09-30 2:42 ` Mark David Dumlao
2013-09-30 8:07 ` Neil Bothwick
2013-09-30 6:24 ` pk
2013-09-30 6:45 ` Alan McKinnon
2013-09-30 22:14 ` pk
2013-09-30 22:43 ` Neil Bothwick
2013-10-01 6:16 ` Alan McKinnon
2013-10-01 19:59 ` pk
2013-09-30 16:06 ` [gentoo-user] " Martin Vaeth
2013-09-30 17:47 ` [gentoo-user] " Mark David Dumlao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG2nJkM7oxouthJCDhD8iWiUHHL0AXFXW+n4iEk6tOKe-F9ZVw@mail.gmail.com \
--to=madumlao@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox