Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643606 - sys-apps/systemd CONFIG_FW_LOADER_USER_HELPER
Summary: sys-apps/systemd CONFIG_FW_LOADER_USER_HELPER
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo systemd Team
URL: https://github.com/systemd/systemd/bl...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-05 20:27 UTC by Carter Young
Modified: 2018-01-05 20:45 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 Carter Young 2018-01-05 20:27:36 UTC
If CONFIG_FW_LOADER_USER_HELPER is supposed to be set to N then why is FW_LOADER set to automatically on when choosing the systemd Option in the kernel.  I'm trying to get rid of this warning when compiling systemd:

CONFIG_FW_LOADER_USER_HELPER is set, and it should not be.

See the following check:
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 ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED
			~!SYSFS_DEPRECATED_V2"
snip
}

While I have no issues disabling this option, it's nearly impossible to do via the ncurses config menu.  Under CONFIG_FW_LOADER there are too many options for me to list here, that are already set, that all need to be unset.  Even a module doesn't count as turning it off.

Could whomever is in charge of the init systems hook for systemd under the Gentoo Linux option, consider disabling all the options in this category?  I can live with the warning, but this would be a nice enhancement etc
Comment 1 Larry the Git Cow gentoo-dev 2018-01-05 20:45:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192d631728dac4bfd9d5e6ba7ef4011792c1861c

commit 192d631728dac4bfd9d5e6ba7ef4011792c1861c
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-01-05 20:44:53 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-01-05 20:45:09 +0000

    sys-apps/systemd: check for FW_LOADER_USER_HELPER_FALLBACK
    
    FW_LOADER_USER_HELPER is not directly configurable, so it's fairly
    pointless to warn about it.
    
    Closes: https://bugs.gentoo.org/643606
    Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37

 sys-apps/systemd/systemd-233-r6.ebuild | 4 ++--
 sys-apps/systemd/systemd-235-r1.ebuild | 4 ++--
 sys-apps/systemd/systemd-236-r4.ebuild | 4 ++--
 sys-apps/systemd/systemd-9999.ebuild   | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)