Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454614 - sys-fs/udev: backport kernel CONFIG_ checks from sys-fs/udev's ebuild (was: add warning or error for CONFIG_SYSFS_DEPRECATED_V2)
Summary: sys-fs/udev: backport kernel CONFIG_ checks from sys-fs/udev's ebuild (was: a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: eudev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 06:05 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2013-01-31 14:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-01-30 06:05:10 UTC
See bug #333639 for the background.

We currently have a check in net-misc/networkmanager ebuilds that errors out if CONFIG_SYSFS_DEPRECATED_V2 is used in the kernel config; this kernel config turns on deprecated sysfs layout by default, which confuses udev, and that in turn causes networkmanager to fail.

As pointed out by Pavel Šimerda, it would make much more sense to move this check into udev ebuilds. Judging by the git log, udev is completely incompatible with CONFIG_SYSFS_DEPRECATED_V2 since at least version 150. I assume that the same is true for eudev, considering that it was forked from udev only recently.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-01-31 10:28:23 UTC
We carried such warning for sys-fs/udev for a very long time in sys-fs/udev and it's still on 171's ebuild

So you are suggesting on reintroducing the old kernel warnings, others too?

~INOTIFY_USER ~SIGNALFD ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-01-31 10:30:06 UTC
(In reply to comment #1)
> We carried such warning for sys-fs/udev for a very long time in sys-fs/udev
> and it's still on 171's ebuild
> 
> So you are suggesting on reintroducing the old kernel warnings, others too?
> 
> ~INOTIFY_USER ~SIGNALFD ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2

and ~!IDE ~BLK_DEV_BSG
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2013-01-31 14:46:24 UTC
Eudev ebuilds have always had these checks.  Closing.