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

William Hubbs <[email protected]>
Newsgroups gmane.linux.hotplug.devel
Message-ID <20120714072106.GA9323@linux1>
On Sat, Jul 14, 2012 at 07:52:23AM +0200, Marco d'Itri wrote:
> On Jul 14, William Hubbs <[email protected]> wrote:
> 
> > With the /usr merge coming, I'm thinking that packages that install
> > rules in /lib/udev/rules.d will have to be fixed to install them in
> > /usr/lib/udev/rules.d eventually, but until then, we should retain
> > support in udev to read from both places.
> > 
> > Thoughts?
> Now I see the your point. I need to think a bit about the best 
> solution for the transition period, but right now I suspect that it
> will be a /usr/lib/udev/rules.d/ to /lib/udev/rules.d/ symlink.
> 
> (My problem is that I need to think when the symlink should be created 
> and removed to support the merge, distributions which do not support 
> upgrades do not need to care about this detail...)

I don't follow how a symlink either
/usr/lib/udev/rules.d->/lib/udev/rules.d or the other way around is
going to make the transition work smoothly for us. If we support both
locations as directories, once all of the packages that still install
things in /lib/udev/rules.d give us a way in their upstreams to install
the rules under /usr, /lib/udev/rules.d will just naturally disappear
from everyone's systems.

How is linking /usr/lib/udev/rules.d to /lib/udev/rules.d going to aid
in the transition? That seems to be going backward.

William
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlABHeIACgkQblQW9DDEZThDrACgkJLOEGy5LIfyjFmBa6z7L2Ep
pekAn17PJ3NgXizuXi54RCqSARqUnSr3
=FTYE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.