Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
4.14.0-rc2 with docker options acts strange
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
filoo
n00b
n00b


Joined: 29 Jul 2017
Posts: 16
Location: Norway

PostPosted: Wed Oct 11, 2017 8:44 am    Post subject: 4.14.0-rc2 with docker options acts strange Reply with quote

I am trying to use use Docker. I have emerged app-emulation/docker - it printed out missing kernel options. I am using vanilla 4.14.0-rc2. Without those options everything works fine. I have built a second kernel with the options docker ebuild recommended - it boots, it runs but for example:
Code:
mount /dev/nvme0n1p1 /boot/
fails with "Killed" message
WLAN interface is detected but can not be brought up.
Code:
ifconfig wlo0 up
fails with "Killed" message. Reboot is also problematic - "reboot" or "shutdown -r now" just show the message, "telinint 6" does something but some daemons fail to stop (Magic SysRq helps in killing them).

The difference in configs is (custom1 - okay, without Docker; custom2 - misbehaving, with Docker options):
Code:

diff custom1.config custom2.config
56c56
< CONFIG_LOCALVERSION="custom1"
---
> CONFIG_LOCALVERSION="custom2"
156,157c156,162
< # CONFIG_MEMCG is not set
< # CONFIG_BLK_CGROUP is not set
---
> CONFIG_PAGE_COUNTER=y
> CONFIG_MEMCG=y
> CONFIG_MEMCG_SWAP=y
> CONFIG_MEMCG_SWAP_ENABLED=y
> CONFIG_BLK_CGROUP=y
> # CONFIG_DEBUG_BLK_CGROUP is not set
> CONFIG_CGROUP_WRITEBACK=y
160,162c165,167
< # CONFIG_CFS_BANDWIDTH is not set
< # CONFIG_RT_GROUP_SCHED is not set
< # CONFIG_CGROUP_PIDS is not set
---
> CONFIG_CFS_BANDWIDTH=y
> CONFIG_RT_GROUP_SCHED=y
> CONFIG_CGROUP_PIDS=y
165c170                                                                                                                                                                     
< # CONFIG_CGROUP_HUGETLB is not set                                                                                                                                       
---
> CONFIG_CGROUP_HUGETLB=y
168c173
< # CONFIG_CGROUP_DEVICE is not set
---
> CONFIG_CGROUP_DEVICE=y
170c175
< # CONFIG_CGROUP_PERF is not set
---
> CONFIG_CGROUP_PERF=y
172c177
< # CONFIG_SOCK_CGROUP_DATA is not set
---
> CONFIG_SOCK_CGROUP_DATA=y
174c179,184
< # CONFIG_NAMESPACES is not set
---
> CONFIG_NAMESPACES=y
> CONFIG_UTS_NS=y
> CONFIG_IPC_NS=y
> CONFIG_USER_NS=y
> CONFIG_PID_NS=y
> CONFIG_NET_NS=y
234a245
> # CONFIG_SLUB_MEMCG_SYSFS_ON is not set
364a376,377
> CONFIG_BLK_DEV_THROTTLING=y
> # CONFIG_BLK_DEV_THROTTLING_LOW is not set
402a416
> CONFIG_CFQ_GROUP_IOSCHED=y
409a424
> # CONFIG_BFQ_GROUP_IOSCHED is not set
912c927,928
< # CONFIG_NETFILTER_ADVANCED is not set
---
> CONFIG_NETFILTER_ADVANCED=y
> CONFIG_BRIDGE_NETFILTER=m
918a935,936
> # CONFIG_NETFILTER_NETLINK_ACCT is not set
> # CONFIG_NETFILTER_NETLINK_QUEUE is not set
922a941
> # CONFIG_NF_CONNTRACK_MARK is not set
923a943,949
> # CONFIG_NF_CONNTRACK_EVENTS is not set
> # CONFIG_NF_CONNTRACK_TIMEOUT is not set
> # CONFIG_NF_CONNTRACK_TIMESTAMP is not set
> CONFIG_NF_CT_PROTO_DCCP=y
> CONFIG_NF_CT_PROTO_SCTP=y
> CONFIG_NF_CT_PROTO_UDPLITE=y
> # CONFIG_NF_CONNTRACK_AMANDA is not set
924a951
> # CONFIG_NF_CONNTRACK_H323 is not set
926a954,956
> # CONFIG_NF_CONNTRACK_SNMP is not set
> # CONFIG_NF_CONNTRACK_PPTP is not set
> # CONFIG_NF_CONNTRACK_SANE is not set
927a958
> # CONFIG_NF_CONNTRACK_TFTP is not set
928a960
> # CONFIG_NF_CT_NETLINK_TIMEOUT is not set
931a964,966
> CONFIG_NF_NAT_PROTO_DCCP=y
> CONFIG_NF_NAT_PROTO_UDPLITE=y
> CONFIG_NF_NAT_PROTO_SCTP=y
944a980
> # CONFIG_NETFILTER_XT_CONNMARK is not set
948a985,993
> # CONFIG_NETFILTER_XT_TARGET_AUDIT is not set
> # CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set
> # CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
> # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
> # CONFIG_NETFILTER_XT_TARGET_DSCP is not set
> # CONFIG_NETFILTER_XT_TARGET_HL is not set
> # CONFIG_NETFILTER_XT_TARGET_HMARK is not set
> # CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
> # CONFIG_NETFILTER_XT_TARGET_LED is not set
949a995
> # CONFIG_NETFILTER_XT_TARGET_MARK is not set
952a999,1000
> # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
> # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
953a1002,1003
> # CONFIG_NETFILTER_XT_TARGET_TEE is not set
> # CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
954a1005
> # CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
959a1011,1018
> # CONFIG_NETFILTER_XT_MATCH_BPF is not set
> # CONFIG_NETFILTER_XT_MATCH_CGROUP is not set
> # CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
> # CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
> # CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
> # CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set
> # CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
> # CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set
960a1020,1040
> # CONFIG_NETFILTER_XT_MATCH_CPU is not set
> # CONFIG_NETFILTER_XT_MATCH_DCCP is not set
> # CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
> # CONFIG_NETFILTER_XT_MATCH_DSCP is not set
> # CONFIG_NETFILTER_XT_MATCH_ECN is not set
> # CONFIG_NETFILTER_XT_MATCH_ESP is not set
> # CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
> # CONFIG_NETFILTER_XT_MATCH_HELPER is not set
> # CONFIG_NETFILTER_XT_MATCH_HL is not set
> # CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set
> # CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
> # CONFIG_NETFILTER_XT_MATCH_IPVS is not set
> CONFIG_NETFILTER_XT_MATCH_L2TP=m
> # CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
> # CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
> # CONFIG_NETFILTER_XT_MATCH_MAC is not set
> # CONFIG_NETFILTER_XT_MATCH_MARK is not set
> # CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
> # CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
> # CONFIG_NETFILTER_XT_MATCH_OSF is not set
> # CONFIG_NETFILTER_XT_MATCH_OWNER is not set
961a1042,1048
> # CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
> # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
> # CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
> # CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
> # CONFIG_NETFILTER_XT_MATCH_REALM is not set
> # CONFIG_NETFILTER_XT_MATCH_RECENT is not set
> CONFIG_NETFILTER_XT_MATCH_SCTP=m
962a1050,1054
> # CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
> # CONFIG_NETFILTER_XT_MATCH_STRING is not set
> # CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
> # CONFIG_NETFILTER_XT_MATCH_TIME is not set
> # CONFIG_NETFILTER_XT_MATCH_U32 is not set
964c1056,1097
< # CONFIG_IP_VS is not set
---
> CONFIG_IP_VS=m
> # CONFIG_IP_VS_IPV6 is not set
> # CONFIG_IP_VS_DEBUG is not set
> CONFIG_IP_VS_TAB_BITS=12
>
> #
> # IPVS transport protocol load balancing support
> #
> CONFIG_IP_VS_PROTO_TCP=y
> CONFIG_IP_VS_PROTO_UDP=y
> CONFIG_IP_VS_PROTO_AH_ESP=y
> CONFIG_IP_VS_PROTO_ESP=y
> CONFIG_IP_VS_PROTO_AH=y
> CONFIG_IP_VS_PROTO_SCTP=y
>
> #
> # IPVS scheduler
> #
> CONFIG_IP_VS_RR=m
> CONFIG_IP_VS_WRR=m
> CONFIG_IP_VS_LC=m
> CONFIG_IP_VS_WLC=m
> CONFIG_IP_VS_FO=m
> CONFIG_IP_VS_OVF=m
> CONFIG_IP_VS_LBLC=m
> CONFIG_IP_VS_LBLCR=m
> CONFIG_IP_VS_DH=m
> CONFIG_IP_VS_SH=m
> CONFIG_IP_VS_SED=m
> CONFIG_IP_VS_NQ=m
>
> #
> # IPVS SH scheduler
> #
> CONFIG_IP_VS_SH_TAB_BITS=8
>
> #
> # IPVS application helper
> #
> # CONFIG_IP_VS_FTP is not set
> CONFIG_IP_VS_NFCT=y
> # CONFIG_IP_VS_PE_SIP is not set
980a1114,1117
> # CONFIG_IP_NF_MATCH_AH is not set
> # CONFIG_IP_NF_MATCH_ECN is not set
> # CONFIG_IP_NF_MATCH_RPFILTER is not set
> # CONFIG_IP_NF_MATCH_TTL is not set
982a1120
> # CONFIG_IP_NF_TARGET_SYNPROXY is not set
984a1123,1124
> # CONFIG_IP_NF_TARGET_NETMAP is not set
> # CONFIG_IP_NF_TARGET_REDIRECT is not set
985a1126,1128
> # CONFIG_IP_NF_TARGET_CLUSTERIP is not set
> # CONFIG_IP_NF_TARGET_ECN is not set
> # CONFIG_IP_NF_TARGET_TTL is not set
986a1130,1131
> # CONFIG_IP_NF_SECURITY is not set
> # CONFIG_IP_NF_ARPTABLES is not set
996a1142
> # CONFIG_NF_NAT_IPV6 is not set
997a1144,1148
> # CONFIG_IP6_NF_MATCH_AH is not set
> # CONFIG_IP6_NF_MATCH_EUI64 is not set
> # CONFIG_IP6_NF_MATCH_FRAG is not set
> # CONFIG_IP6_NF_MATCH_OPTS is not set
> # CONFIG_IP6_NF_MATCH_HL is not set
998a1150,1153
> # CONFIG_IP6_NF_MATCH_MH is not set
> # CONFIG_IP6_NF_MATCH_RPFILTER is not set
> # CONFIG_IP6_NF_MATCH_RT is not set
> # CONFIG_IP6_NF_TARGET_HL is not set
1000a1156
> # CONFIG_IP6_NF_TARGET_SYNPROXY is not set
1002a1159,1160
> # CONFIG_IP6_NF_SECURITY is not set
> # CONFIG_IP6_NF_NAT is not set
1081c1239
< # CONFIG_NET_CLS_CGROUP is not set
---
> CONFIG_NET_CLS_CGROUP=m
1120c1278
< # CONFIG_NET_L3_MASTER_DEV is not set
---
> CONFIG_NET_L3_MASTER_DEV=y
1125,1126c1283,1284
< # CONFIG_CGROUP_NET_PRIO is not set
< # CONFIG_CGROUP_NET_CLASSID is not set
---
> CONFIG_CGROUP_NET_PRIO=y
> CONFIG_CGROUP_NET_CLASSID=y
1592a1751,1752
> CONFIG_DM_BIO_PRISON=y
> CONFIG_DM_PERSISTENT_DATA=y
1595c1755
< # CONFIG_DM_THIN_PROVISIONING is not set
---
> CONFIG_DM_THIN_PROVISIONING=y
1630,1631c1790,1793
< # CONFIG_VXLAN is not set
< # CONFIG_GENEVE is not set
---
> CONFIG_IPVLAN=m
> CONFIG_IPVTAP=m
> CONFIG_VXLAN=m
> CONFIG_GENEVE=m
1640,1642c1802,1804
< # CONFIG_VETH is not set
< # CONFIG_VIRTIO_NET is not set
< # CONFIG_NLMON is not set
---
> CONFIG_VETH=m
> CONFIG_VIRTIO_NET=m
> CONFIG_NLMON=m
3686c3848
< # CONFIG_BTRFS_FS_POSIX_ACL is not set
---
> CONFIG_BTRFS_FS_POSIX_ACL=y


Do I need to add something to my userspace to have a working system with the extra options?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum