Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652272 - sys-apps/systemd should warn against CONFIG_SYSFS_DEPRECATED CONFIG_SYSFS_DEPRECATED_V2
Summary: sys-apps/systemd should warn against CONFIG_SYSFS_DEPRECATED CONFIG_SYSFS_DEP...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-03 01:08 UTC by mark lybarger
Modified: 2020-02-23 17:44 UTC (History)
0 users

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 mark lybarger 2018-04-03 01:08:24 UTC
I built my kernel from genkernel.  kernel is gentoo-sources.  i enabled systemd per documentation.  CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 were eanbled in the kernel and caused disk mount issues.  after much digging, i disabled these and kernel builds fine.  

systemd ebuild should warn if these exist in the kernel.

genkernel should disable these by default.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-03 05:57:33 UTC
systemd-238-r3.ebuild:

pkg_pretend() {
    if [[ ${MERGE_TYPE} != buildonly ]]; then
        local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
            ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
            ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS
            ~TIMERFD ~TMPFS_XATTR ~UNIX
            ~CRYPTO_HMAC ~CRYPTO_SHA256 ~CRYPTO_USER_API_HASH
            ~!FW_LOADER_USER_HELPER_FALLBACK ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED
            ~!SYSFS_DEPRECATED_V2"

Looks like it's already in place.