Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424824 - sys-fs/udev-186 file location regression
Summary: sys-fs/udev-186 file location regression
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-05 03:02 UTC by Patrick Lauer
Modified: 2012-07-05 18:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
udev-186-revert-systemd-messup.patch (udev-186-revert-systemd-messup.patch,38.28 KB, patch)
2012-07-05 14:09 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
udev-186.ebuild.patch (udev-186.ebuild.patch,2.18 KB, patch)
2012-07-05 14:10 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
udev-init-scripts-12-revert_path_messup.patch (udev-init-scripts-12-revert_path_messup.patch,376 bytes, patch)
2012-07-05 14:13 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
udev-186.ebuild.patch (udev-186.ebuild.patch,2.33 KB, patch)
2012-07-05 18:09 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-07-05 03:02:35 UTC
The udev daemon is now misnamed and put in the wrong location:

/usr/lib/systemd/systemd-udevd

Since I INSTALL_MASK away the systemd unit file nonsense this now breaks udev completely.

To still allow me to have udev installed without systemd corruption I suggest to relocate the udevd binary to /sbin/udevd  and keep it named udevd.
Comment 1 William Hubbs gentoo-dev 2012-07-05 04:18:19 UTC
I will check with upstream about moving the daemon to UDEVLIBEXECDIR instead of LIBEXECDIR. If they refuse that, I would suggest adjusting your INSTALL_MASK to make sure you don't remove systemd-udevd.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-07-05 06:31:37 UTC
+1 for symlinking it from /usr/lib/systemd to the old location for compability. Users doing INSTALL_MASK are on their own, definately not going to support such setup.

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/systemd

[ .. snip .. ]

# udevd is no longer udevd because systemd. why isn't udevadm now udevctl?
ln -s ../lib/systemd/systemd-udevd "$pkgdir/usr/bin/udevd"

[ .. snip .. ]
Comment 3 Martin Väth 2012-07-05 07:03:32 UTC
(In reply to comment #2)
> Users doing INSTALL_MASK are on their own, definately not going
> to support such setup.

Then please (re)introduce USE=bash-completion and USE=systemd globally:

The argument why this was removed (or not even introduced, respectively)
was that users who don't want it can easily INSTALL_MASK these directories.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-07-05 07:11:37 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Users doing INSTALL_MASK are on their own, definately not going
> > to support such setup.
> 
> Then please (re)introduce USE=bash-completion and USE=systemd globally:

No, they are small text files that are of no issue.

> 
> The argument why this was removed (or not even introduced, respectively)
> was that users who don't want it can easily INSTALL_MASK these directories.

You can change from "/usr/lib/systemd" to, for example, "/usr/lib/systemd/system" if you insist on going through the effort of cleansing the small text files.

As in, the systemd/udev binaries should be left to the default upstream install location, backwards compability symlinks can be created as needed
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-07-05 14:09:16 UTC
Created attachment 317292 [details, diff]
udev-186-revert-systemd-messup.patch

Patch to get rid of this systemd insanity done to udev. Please don't use this patch when you want to install systemd. I've only tested it with my patched udev-186.ebuild.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-07-05 14:10:52 UTC
Created attachment 317294 [details, diff]
udev-186.ebuild.patch

Needed changes to get the patch working.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-07-05 14:13:43 UTC
Created attachment 317296 [details, diff]
udev-init-scripts-12-revert_path_messup.patch

Patch for udev-init-scripts.
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-07-05 16:01:41 UTC
Set a more restrictive INSTALL_MASK for your personal systems and then you don't need this "bug report" (which is INVALID, IMO).

When upstreams change binary names, the Gentoo Way is to adapt to the new name unless it is absolutely silly. systemd-udevd is reasonable *name* even if you have some sort of hatred for systemd.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-07-05 18:09:40 UTC
Created attachment 317332 [details, diff]
udev-186.ebuild.patch

Better ebuild patch. Moves pkgconfig files to /usr
Comment 10 William Hubbs gentoo-dev 2012-07-05 18:21:53 UTC
After discussion on IRC today, I agree with comment #8

- the patches in comment #5, comment #6 and comment #7 would create a
significant divergance from upstream with no *technical* gain. If you
would like upstream to support something like this, you are welcome to
subscribe to systemd-devel and submit the patch.

- Regarding the symbolic link suggested in comment #2, I propose that we
do not create it now, and we monitor for a while and see if it is really
needed.