From: root Date: Sat, 8 Dec 2018 09:30:23 +0000 (+0100) Subject: committing changes in /etc after apt run X-Git-Url: https://git.hoellein.online/?a=commitdiff_plain;h=87c43f2521767b19f4ddfbcc73bdc09aee1b7b3a;p=zenbook committing changes in /etc after apt run Package changes: +cpu-checker 0.7-0ubuntu7 amd64 +ibverbs-providers 17.1-1 amd64 +ipxe-qemu 1.0.0+git-20180124.fbe8c52d-0ubuntu2.1 all +ipxe-qemu-256k-compat-efi-roms 1.0.0+git-20150424.a25a16d-0ubuntu2 all +libaio1 0.3.110-5 amd64 +libcacard0 1:2.5.0-3 amd64 +libfdt1 1.4.5-3 amd64 +libibverbs1 17.1-1 amd64 +libiscsi7 1.17.0-1.1 amd64 +librados2 12.2.7-0ubuntu0.18.04.1 amd64 +librbd1 12.2.7-0ubuntu0.18.04.1 amd64 +librdmacm1 17.1-1 amd64 +libspice-server1 0.14.0-1ubuntu2.2 amd64 +libusbredirparser1 0.7.1-1 amd64 +libxen-4.9 4.9.2-0ubuntu1 amd64 +libxenstore3.0 4.9.2-0ubuntu1 amd64 +msr-tools 1.3-2build1 amd64 +qemu-block-extra 1:2.11+dfsg-1ubuntu7.8 amd64 +qemu-kvm 1:2.11+dfsg-1ubuntu7.8 amd64 +qemu-system-common 1:2.11+dfsg-1ubuntu7.8 amd64 +qemu-system-x86 1:2.11+dfsg-1ubuntu7.8 amd64 +qemu-utils 1:2.11+dfsg-1ubuntu7.8 amd64 +seabios 1.10.2-1ubuntu1 all --- diff --git a/.etckeeper b/.etckeeper index 7029903..927033b 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1271,6 +1271,7 @@ maybe chmod 0644 'default/nss' maybe chmod 0644 'default/ntp' maybe chmod 0644 'default/openvpn' maybe chmod 0644 'default/psad' +maybe chmod 0644 'default/qemu-kvm' maybe chmod 0644 'default/rcS' maybe chmod 0644 'default/rkhunter' maybe chmod 0644 'default/rsync' @@ -1850,6 +1851,22 @@ maybe chmod 0644 'libaudit.conf' maybe chmod 0755 'libblockdev' maybe chmod 0755 'libblockdev/conf.d' maybe chmod 0644 'libblockdev/conf.d/00-default.cfg' +maybe chmod 0755 'libibverbs.d' +maybe chmod 0644 'libibverbs.d/bnxt_re.driver' +maybe chmod 0644 'libibverbs.d/cxgb3.driver' +maybe chmod 0644 'libibverbs.d/cxgb4.driver' +maybe chmod 0644 'libibverbs.d/hfi1verbs.driver' +maybe chmod 0644 'libibverbs.d/hns.driver' +maybe chmod 0644 'libibverbs.d/i40iw.driver' +maybe chmod 0644 'libibverbs.d/ipathverbs.driver' +maybe chmod 0644 'libibverbs.d/mlx4.driver' +maybe chmod 0644 'libibverbs.d/mlx5.driver' +maybe chmod 0644 'libibverbs.d/mthca.driver' +maybe chmod 0644 'libibverbs.d/nes.driver' +maybe chmod 0644 'libibverbs.d/ocrdma.driver' +maybe chmod 0644 'libibverbs.d/qedr.driver' +maybe chmod 0644 'libibverbs.d/rxe.driver' +maybe chmod 0644 'libibverbs.d/vmw_pvrdma.driver' maybe chmod 0755 'libnl-3' maybe chmod 0644 'libnl-3/classid' maybe chmod 0644 'libnl-3/pktloc' @@ -1960,6 +1977,7 @@ maybe chmod 0644 'modprobe.d/nouveau-kms.conf' maybe chmod 0644 'modprobe.d/nvidia-375_hybrid.conf' maybe chmod 0644 'modprobe.d/nvidia-384_hybrid.conf' maybe chmod 0644 'modprobe.d/nvidia-installer-disable-nouveau.conf' +maybe chmod 0644 'modprobe.d/qemu-system-x86.conf' maybe chmod 0644 'modprobe.d/vmwgfx-fbdev.conf' maybe chmod 0644 'modules' maybe chmod 0755 'modules-load.d' @@ -2320,6 +2338,8 @@ maybe chmod 0644 'python3.5/sitecustomize.py' maybe chmod 0755 'python3.6' maybe chmod 0644 'python3.6/sitecustomize.py' maybe chmod 0644 'python3/debian_config' +maybe chmod 0755 'qemu-ifdown' +maybe chmod 0755 'qemu-ifup' maybe chmod 0644 'rarfiles.lst' maybe chmod 0755 'rc0.d' maybe chmod 0644 'rc0.d/README' diff --git a/default/qemu-kvm b/default/qemu-kvm new file mode 100644 index 0000000..5e98e61 --- /dev/null +++ b/default/qemu-kvm @@ -0,0 +1,10 @@ +# Set to 1 to enable KSM, 0 to disable KSM, and AUTO to use default settings. +# After changing this setting restart the qemu-kvm service. +KSM_ENABLED=AUTO +SLEEP_MILLISECS=200 + +# Dropped VHOST_NET_ENABLED as this is auto-loaded in recent kernels +# it still works, but is deprecated and will be removed in a later version + +# Dropped KVM_HUGEPAGES as systemd provides feasible hugepage moutpoints +# it still works, but is deprecated and will be removed in a later version diff --git a/group b/group index 96ca5d0..6c65e94 100644 --- a/group +++ b/group @@ -81,3 +81,5 @@ ntp:x:105: nvidia-persistenced:x:131: bumblebee:x:998:mhoellein,syslog alle:x:1014: +kvm:x:139: +rdma:x:140: diff --git a/group- b/group- index 18d7b82..3d6cb5b 100644 --- a/group- +++ b/group- @@ -80,3 +80,5 @@ bitcoin:x:138: ntp:x:105: nvidia-persistenced:x:131: bumblebee:x:998:mhoellein,syslog +alle:x:1014: +kvm:x:139: diff --git a/gshadow b/gshadow index 82a92bd..49659ae 100644 --- a/gshadow +++ b/gshadow @@ -81,3 +81,5 @@ ntp:!:: nvidia-persistenced:!:: bumblebee:!::mhoellein,syslog alle:!:: +kvm:!:: +rdma:!:: diff --git a/gshadow- b/gshadow- index 48e0edd..76dd4d5 100644 --- a/gshadow- +++ b/gshadow- @@ -80,3 +80,5 @@ bitcoin:!:: ntp:!:: nvidia-persistenced:!:: bumblebee:!::mhoellein,syslog +alle:!:: +kvm:!:: diff --git a/libibverbs.d/bnxt_re.driver b/libibverbs.d/bnxt_re.driver new file mode 100644 index 0000000..d0573c8 --- /dev/null +++ b/libibverbs.d/bnxt_re.driver @@ -0,0 +1 @@ +driver bnxt_re diff --git a/libibverbs.d/cxgb3.driver b/libibverbs.d/cxgb3.driver new file mode 100644 index 0000000..cfa6186 --- /dev/null +++ b/libibverbs.d/cxgb3.driver @@ -0,0 +1 @@ +driver cxgb3 diff --git a/libibverbs.d/cxgb4.driver b/libibverbs.d/cxgb4.driver new file mode 100644 index 0000000..e041cb2 --- /dev/null +++ b/libibverbs.d/cxgb4.driver @@ -0,0 +1 @@ +driver cxgb4 diff --git a/libibverbs.d/hfi1verbs.driver b/libibverbs.d/hfi1verbs.driver new file mode 100644 index 0000000..3ceb7ee --- /dev/null +++ b/libibverbs.d/hfi1verbs.driver @@ -0,0 +1 @@ +driver hfi1verbs diff --git a/libibverbs.d/hns.driver b/libibverbs.d/hns.driver new file mode 100644 index 0000000..bba7737 --- /dev/null +++ b/libibverbs.d/hns.driver @@ -0,0 +1 @@ +driver hns diff --git a/libibverbs.d/i40iw.driver b/libibverbs.d/i40iw.driver new file mode 100644 index 0000000..7dab2f0 --- /dev/null +++ b/libibverbs.d/i40iw.driver @@ -0,0 +1 @@ +driver i40iw diff --git a/libibverbs.d/ipathverbs.driver b/libibverbs.d/ipathverbs.driver new file mode 100644 index 0000000..d212578 --- /dev/null +++ b/libibverbs.d/ipathverbs.driver @@ -0,0 +1 @@ +driver ipathverbs diff --git a/libibverbs.d/mlx4.driver b/libibverbs.d/mlx4.driver new file mode 100644 index 0000000..4d29fa8 --- /dev/null +++ b/libibverbs.d/mlx4.driver @@ -0,0 +1 @@ +driver mlx4 diff --git a/libibverbs.d/mlx5.driver b/libibverbs.d/mlx5.driver new file mode 100644 index 0000000..5190aa5 --- /dev/null +++ b/libibverbs.d/mlx5.driver @@ -0,0 +1 @@ +driver mlx5 diff --git a/libibverbs.d/mthca.driver b/libibverbs.d/mthca.driver new file mode 100644 index 0000000..5880a47 --- /dev/null +++ b/libibverbs.d/mthca.driver @@ -0,0 +1 @@ +driver mthca diff --git a/libibverbs.d/nes.driver b/libibverbs.d/nes.driver new file mode 100644 index 0000000..1d8d85d --- /dev/null +++ b/libibverbs.d/nes.driver @@ -0,0 +1 @@ +driver nes diff --git a/libibverbs.d/ocrdma.driver b/libibverbs.d/ocrdma.driver new file mode 100644 index 0000000..73e8968 --- /dev/null +++ b/libibverbs.d/ocrdma.driver @@ -0,0 +1 @@ +driver ocrdma diff --git a/libibverbs.d/qedr.driver b/libibverbs.d/qedr.driver new file mode 100644 index 0000000..cd112f8 --- /dev/null +++ b/libibverbs.d/qedr.driver @@ -0,0 +1 @@ +driver qedr diff --git a/libibverbs.d/rxe.driver b/libibverbs.d/rxe.driver new file mode 100644 index 0000000..ed63053 --- /dev/null +++ b/libibverbs.d/rxe.driver @@ -0,0 +1 @@ +driver rxe diff --git a/libibverbs.d/vmw_pvrdma.driver b/libibverbs.d/vmw_pvrdma.driver new file mode 100644 index 0000000..076999c --- /dev/null +++ b/libibverbs.d/vmw_pvrdma.driver @@ -0,0 +1 @@ +driver vmw_pvrdma diff --git a/modprobe.d/qemu-system-x86.conf b/modprobe.d/qemu-system-x86.conf new file mode 100644 index 0000000..679c3a6 --- /dev/null +++ b/modprobe.d/qemu-system-x86.conf @@ -0,0 +1 @@ +options kvm_intel nested=1 diff --git a/qemu-ifdown b/qemu-ifdown new file mode 100755 index 0000000..b2dc471 --- /dev/null +++ b/qemu-ifdown @@ -0,0 +1,6 @@ +#! /bin/sh +# Script to shut down a network (tap) device for qemu. +# Initially this script is empty, but you can configure, +# for example, accounting info here. + +: diff --git a/qemu-ifup b/qemu-ifup new file mode 100755 index 0000000..f2f4d5d --- /dev/null +++ b/qemu-ifup @@ -0,0 +1,42 @@ +#! /bin/sh +# Script to bring a network (tap) device for qemu up. +# The idea is to add the tap device to the same bridge +# as we have default routing to. + +# in order to be able to find brctl +PATH=$PATH:/sbin:/usr/sbin +ip=$(which ip) + +if [ -n "$ip" ]; then + ip link set "$1" up +else + brctl=$(which brctl) + if [ ! "$ip" -o ! "$brctl" ]; then + echo "W: $0: not doing any bridge processing: neither ip nor brctl utility not found" >&2 + exit 0 + fi + ifconfig "$1" 0.0.0.0 up +fi + +switch=$(ip route ls | \ + awk '/^default / { + for(i=0;i&2 diff --git a/systemd/system/multi-user.target.wants/qemu-kvm.service b/systemd/system/multi-user.target.wants/qemu-kvm.service new file mode 120000 index 0000000..d612222 --- /dev/null +++ b/systemd/system/multi-user.target.wants/qemu-kvm.service @@ -0,0 +1 @@ +/lib/systemd/system/qemu-kvm.service \ No newline at end of file