Re: [PATCH] udev: sync udev rules directories with systemd units directories

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

 



On Mon, Jul 16, 2012 at 1:09 AM, William Hubbs <w.d.hubbs@xxxxxxxxx> wrote:
> On Sun, Jul 15, 2012 at 07:14:02PM +0200, Marco d'Itri wrote:
>> On Jul 15, Martin Pitt <martin.pitt@xxxxxxxxxx> wrote:
>>
>> > I take it the Debian udev/systemd package would not change the layout?
>> > I. e. still install most things under /lib?
>> Indeed.
>>
>> > > (My problem is that I need to think when the symlink should be created
>> > > and removed to support the merge
>> > Which merge?
>> The "everything in /usr" merge, which I plan to propose after the
>> release. Does Ubuntu have plans about this?
>
> That's the problem with a symlink, either way. How do you know when to
> create or remove it?
>
> For us, I would have to do the following on every user's system a udev upgrade:
>
> cp -a /lib/udev /usr/lib/udev
> ln -s /usr/lib/udev /lib/udev
>
> Then, I have no idea how I would know when to remove the link.

Which is why you don't do such a mess.

You keep the historic split as long as it works (some day it will
break step-by-step in non-interesting ways because upstream projects
don't care or test a anymore), or you convert /bin, /sbin, /lib,
/lib64 _one_ go to symlinks.

The conversion of the top-level dirs to symlinks is almost trivial. We
did it in Fedora with no interesting problems at all.
  http://people.freedesktop.org/~kay/usrmove-convert-log.png
  http://people.freedesktop.org/~kay/usrmove-convert-log.txt

Doing what you try to do here, with creating a total mess with stuff
randomly spread around the filesystem is just plain crazy. We do not
really support that in any tool, and honestly the --enable-split-usr
configure option you added to systemd should just be removed. We do
not support that mess, and it makes no sense to even try. That should
be a distro patch, that makes it clear that you are completely on your
own here.

Better get your stuff together and make decision, by either doing
nothing for now, leaving the stuff in /lib, or by really doing it and
make /lib a symlink. There is no sane option to choose from doing only
a part of it, or gradual, it's just madness.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux