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
It would have helped if you expressed those requirement in canonical terms such as the defines that the kernel would use.
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 :/
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.
@kernel: Do you want to have GENTOO_LINUX_UDEV select UNIX?
ran into the issue when compiling a new kernel. The request is to add it in the kernel in gentoo_linux_init_systemd.
(In reply to kundarsa from comment #5) WTF is gentoo_linux_init_systemd? I have no idea what that means?
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.
What's the request here?
(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.
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.
(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.
[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
@eudev, does this also affect you?
I added the CONFIG_UNIX kernel check to all systemd, udev, and eudev ebuilds.