Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538088 - sys-apps/systemd, sys-fs/udev, sys-fs/eudev - add CONFIG_CHECK="~UNIX"
Summary: sys-apps/systemd, sys-fs/udev, sys-fs/eudev - add CONFIG_CHECK="~UNIX"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 19:40 UTC by kundarsa@gmail.com
Modified: 2016-05-30 14:54 UTC (History)
2 users (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 kundarsa@gmail.com 2015-01-28 19:40:14 UTC
systemd requires unix sockets and recomments ipv6 in the kernel. fails to boot without unix sockets. gives error and still boots without ipv6. i request these be added to gentoo_linux_init_systemd


config_unix
config_ipv6
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-29 11:45:46 UTC
It would have helped if you expressed those requirement in canonical terms such as the defines that the kernel would use.
Comment 2 Pacho Ramos gentoo-dev 2015-01-29 15:15:50 UTC
The config check for ipv6 already exists:
        local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
                ~DEVPTS_MULTIPLE_INSTANCES ~DEVTMPFS ~DMIID ~EPOLL ~FANOTIFY ~FHANDLE
                ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SECCOMP ~SIGNALFD ~SYSFS
                ~TIMERFD ~TMPFS_XATTR
                ~!FW_LOADER_USER_HELPER ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED
                ~!SYSFS_DEPRECATED_V2"

For "UNIX" check... looks like it should also be needed by udev:
http://pvbookmarks.readthedocs.org/en/latest/devel/OS/linux/kernel/udev/README.html

But, for some unknown reason, that is no longer listed as requirement in newer udev/systemd releases :/
Comment 3 Mike Gilbert gentoo-dev 2015-01-29 17:17:09 UTC
There's a lot of stuff that breaks without UNIX sockets. I think it's pretty much expected that this kernel option should be enabled on any Linux system.

It feels a little silly, but I suppose we can add the check to the systemd ebuild.
Comment 4 Mike Gilbert gentoo-dev 2015-01-29 17:32:56 UTC
@kernel: Do you want to have GENTOO_LINUX_UDEV select UNIX?
Comment 5 kundarsa@gmail.com 2015-01-29 22:06:34 UTC
ran into the issue when compiling a new kernel. The request is to add it in the kernel in gentoo_linux_init_systemd.
Comment 6 Mike Gilbert gentoo-dev 2015-01-29 22:18:08 UTC
(In reply to kundarsa from comment #5)

WTF is gentoo_linux_init_systemd? I have no idea what that means?
Comment 7 Mike Gilbert gentoo-dev 2015-01-29 22:20:33 UTC
Oh, you mean the GENTOO_LINUX_INIT_SYSTEMD kernel option (upper-case helps trigger my brain).

That would be covered by GENTOO_LINUX_UDEV, which is a dependency of GENTOO_LINUX_INIT_SYSTEMD.
Comment 8 Mike Pagano gentoo-dev 2015-01-30 00:45:42 UTC
What's the request here?
Comment 9 Mike Gilbert gentoo-dev 2015-01-30 17:44:17 UTC
(In reply to Mike Pagano from comment #8)
> What's the request here?

@kernel: Do you want to have GENTOO_LINUX_UDEV select UNIX?

In other words, udev (and by extension systemd) needs UNIX domain socket support to function correctly. We would like our special Gentoo kernel options to turn this on automatically.
Comment 10 Mike Pagano gentoo-dev 2015-01-30 20:11:43 UTC
I don't mind if it's in or out,

If you have a requirement, just state it. No need to ask for my opinion.
Comment 11 Mike Gilbert gentoo-dev 2015-01-30 21:15:12 UTC
(In reply to Mike Pagano from comment #10)

Thanks. I want to double-check this with the systemd developers, and I will create a separate bug for you if we need to adjust anything.
Comment 12 Mike Gilbert gentoo-dev 2015-01-30 21:18:10 UTC
[Jan 30 16:14:11] <floppym> Does udev make use of any UNIX sockets when running without systemd?
[Jan 30 16:15:16] <dreisner> floppym: whether or not it runs under systemd, it uses a AF_UNIX socket for control messages from udevadm
[Jan 30 16:15:35] <floppym> dreisner: Ah, ok. Thanks.
[Jan 30 16:15:38] <dreisner> /run/udev/control has existed for years
Comment 13 Pacho Ramos gentoo-dev 2015-02-03 11:57:05 UTC
@eudev, does this also affect you?
Comment 14 Mike Gilbert gentoo-dev 2016-05-30 14:54:28 UTC
I added the CONFIG_UNIX kernel check to all systemd, udev, and eudev ebuilds.