From 0632591996893fe136a1f2fe44d9b9f404f41f3e Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Thu, 1 Nov 2018 13:30:58 +0100 Subject: Initial commit --- .environ-prep | 14 + .gitignore | 1 + .gitlab-ci.yml | 63 + Makefile | 21 + README.md | 38 + aux/fett/fett.svg | 1 + aux/git-checkers/.filelistgen-nonsysv | 122 ++ aux/git-checkers/.readme.md-head | 22 + aux/git-checkers/.readmegen-debian | 13 + aux/git-checkers/.readmegen-suse | 14 + aux/git-checkers/Makefile.readme | 10 + aux/git-checkers/bashlist | 14 + aux/git-checkers/ecmalist | 0 aux/git-checkers/filelistgen | 1 + aux/git-checkers/kornlist | 0 aux/git-checkers/logrotchecker | 16 + aux/git-checkers/makelist | 3 + aux/git-checkers/poshlist | 7 + aux/git-checkers/readmegen | 11 + aux/git-checkers/sudoerschecker | 9 + aux/git-checkers/systemdchecker | 17 + aux/git-checkers/tidylist | 3 + documentation/.gitignore | 1 + documentation/.update | 39 + documentation/Makefile | 31 + documentation/README.md | 5 + documentation/aux/block-inventory | 10 + documentation/aux/ctrl-c | 7 + documentation/aux/dnf-history | 21 + documentation/aux/git-inventory | 13 + documentation/aux/kvm-inventory | 18 + documentation/blockdevices | 41 + documentation/git-system-repos | 64 + documentation/kvm-details/domain-arch.xml | 126 ++ documentation/kvm-details/domain-basfperl.xml | 106 ++ documentation/kvm-details/domain-centoscl0.xml | 135 ++ documentation/kvm-details/domain-centoscl1.xml | 137 ++ documentation/kvm-details/domain-centoscl2.xml | 134 ++ documentation/kvm-details/domain-debian.xml | 140 ++ documentation/kvm-details/domain-firewall.xml | 162 +++ .../domain-guestfs-y4pl944s9lh5ows7.xml | 109 ++ documentation/kvm-details/domain-indiana.xml | 126 ++ documentation/kvm-details/domain-iscsi.xml | 147 ++ documentation/kvm-details/domain-jango105.xml | 137 ++ documentation/kvm-details/domain-opensuse-old.xml | 115 ++ documentation/kvm-details/domain-opensuse.xml | 132 ++ documentation/kvm-details/domain-vswitch.xml | 130 ++ documentation/kvm-details/net-hodenkobold.xml | 10 + documentation/kvm-details/net-hundehuette.xml | 8 + documentation/kvm-details/net-san-cluster.xml | 10 + documentation/kvm-details/net-sosaria05.xml | 11 + documentation/kvm-details/pool-isos.xml | 19 + documentation/kvm-details/pool-kuehe.xml | 19 + documentation/kvm-details/pool-libvirt.xml | 16 + documentation/kvm-details/pool-nvram.xml | 19 + documentation/kvm-details/pool-ovmf.xml | 19 + documentation/kvm-details/pool-virtio-win-git.xml | 19 + documentation/kvm-details/pool-virtio-win.xml | 19 + documentation/kvm-details/pool-vmshare.xml | 19 + documentation/kvm_overview | 36 + documentation/packages | 524 +++++++ documentation/selinux/my-dbusdaemonlau.pp | Bin 0 -> 969 bytes documentation/selinux/my-dbusdaemonlau.te | 11 + documentation/selinux/my-iptables.pp | Bin 0 -> 945 bytes documentation/selinux/my-iptables.te | 11 + documentation/selinux/my-kdumpdepgener.pp | Bin 0 -> 942 bytes documentation/selinux/my-kdumpdepgener.te | 11 + documentation/selinux/my-pklacheckauth.pp | Bin 0 -> 961 bytes documentation/selinux/my-pklacheckauth.te | 11 + documentation/selinux/my-sssd.pp | Bin 0 -> 971 bytes documentation/selinux/my-sssd.te | 11 + documentation/selinux/my-unixchkpwd.pp | Bin 0 -> 966 bytes documentation/selinux/my-unixchkpwd.te | 11 + fakeenv/README.md | 6 + fakeenv/bin/virsh | 3 + fakeenv/etc/systemd/README.md | 4 + fakeenv/etc/systemd/system/libvirt-guests.service | 11 + fakeenv/etc/systemd/system/libvirtd.service | 11 + fakeenv/etc/systemd/system/lvm2-lvmetad.service | 11 + .../etc/systemd/system/systemd-timesyncd.service | 11 + fakeenv/usr/README.md | 4 + fakeenv/usr/bin/guestmount | 3 + fakeenv/usr/bin/guestunmount | 3 + localfs/README.md | 10 + localfs/etc/NetworkManager/NetworkManager.conf | 52 + localfs/etc/X11/xorg.conf.d/00-keyboard.conf | 9 + localfs/etc/X11/xorg.conf.d/20-displaylink.conf | 38 + localfs/etc/X11/xorg.conf.d/20-intel.conf | 13 + localfs/etc/X11/xorg.conf.d/80-backlight.conf | 5 + localfs/etc/bashrc.delta | 3 + localfs/etc/crypttab | 2 + localfs/etc/default/grub | 18 + localfs/etc/dnf/dnf.conf | 7 + localfs/etc/dnf/protected.d/dnf.conf | 1 + localfs/etc/dnf/protected.d/rpm.conf | 1 + localfs/etc/dnf/protected.d/storage.conf | 3 + localfs/etc/firewalld/direct.xml | 8 + localfs/etc/firewalld/firewalld-server.conf | 57 + localfs/etc/firewalld/firewalld-standard.conf | 57 + localfs/etc/firewalld/firewalld-workstation.conf | 58 + localfs/etc/firewalld/firewalld.conf | 1 + localfs/etc/firewalld/lockdown-whitelist.xml | 7 + localfs/etc/firewalld/services/check_mk.xml | 9 + localfs/etc/firewalld/services/nfs.xml | 7 + localfs/etc/firewalld/zones/FedoraWorkstation.xml | 16 + .../etc/firewalld/zones/FedoraWorkstation.xml.old | 15 + localfs/etc/firewalld/zones/home.xml | 5 + localfs/etc/firewalld/zones/home.xml.old | 6 + localfs/etc/firewalld/zones/internal.xml | 5 + localfs/etc/firewalld/zones/internal.xml.old | 6 + localfs/etc/firewalld/zones/kvm.xml | 7 + localfs/etc/firewalld/zones/kvm.xml.old | 8 + localfs/etc/firewalld/zones/lokalhorst.xml | 8 + localfs/etc/firewalld/zones/lokalhorst.xml.old | 9 + localfs/etc/fstab | 25 + localfs/etc/httpd/conf.d/indexes | 1 + localfs/etc/httpd/conf.d/misc.conf | 7 + localfs/etc/httpd/conf.d/security.conf | 1 + localfs/etc/httpd/conf.d/security.d/csp.conf | 4 + localfs/etc/httpd/conf.d/security.d/hsts.conf | 4 + localfs/etc/httpd/conf.d/security.d/maxconns.conf | 1 + localfs/etc/httpd/conf.d/security.d/signature.conf | 3 + localfs/etc/httpd/conf.d/ssl.conf | 224 +++ localfs/etc/httpd/conf.d/utf8.conf | 1 + localfs/etc/httpd/conf.d/vhosts.conf | 1 + localfs/etc/httpd/conf.d/vhosts.d/jango104.conf | 140 ++ localfs/etc/httpd/conf.d/welcome.bak | 18 + localfs/etc/httpd/conf.modules.d/00-proxyhtml.conf | 3 + localfs/etc/httpd/conf.modules.d/10-geoip.conf | 1 + .../etc/httpd/conf.modules.d/10-limitipconn.conf | 15 + localfs/etc/httpd/run | 1 + localfs/etc/libvirt.key | 7 + localfs/etc/logrotate.d/clamav-update | 4 + localfs/etc/logrotate.d/httpd | 15 + localfs/etc/profile.d/netcatandquit.sh | 15 + localfs/etc/profile.d/shellhist.sh | 28 + localfs/etc/profile.d/taskd.sh | 1 + localfs/etc/samba/smb.conf | 33 + .../targeted/contexts/files/file_contexts.local | 15 + localfs/etc/ssh/sshd_config | 161 +++ localfs/etc/sssd/sssd.conf | 47 + localfs/etc/sudoers.d/dnf | 1 + localfs/etc/sudoers.d/firewallcmd-completion | 2 + localfs/etc/sudoers.d/insults | 1 + localfs/etc/sudoers.d/inxi | 2 + localfs/etc/sudoers.d/network | 1 + localfs/etc/sudoers.d/shutdown | 1 + localfs/etc/sysconfig/network-scripts/.gitignore | 1 + .../sysconfig/network-scripts/ifcfg-CISCO-default | 20 + .../sysconfig/network-scripts/ifcfg-br0-default | 20 + .../sysconfig/network-scripts/ifcfg-br0-example1 | 20 + .../network-scripts/ifcfg-enp0s31f6-default | 9 + localfs/etc/sysconfig/network-scripts/ifcfg-lo | 9 + .../network-scripts/ifcfg-wlp1s0-Brueckengandalf | 12 + .../network-scripts/ifcfg-wlp1s0-dingeling | 19 + .../sysconfig/network-scripts/ifcfg-wlp1s0-hotspot | 19 + .../network-scripts/ifcfg-wlp1s0-peap-gtc | 23 + .../network-scripts/ifcfg-wlp1s0-peap-mschapv2 | 23 + .../network-scripts/ifcfg-wlp1s0-telekom-free | 18 + localfs/etc/sysctl.d/93-disable-ipv6.conf | 2 + localfs/etc/sysctl.d/94-bridgenotables.conf | 4 + localfs/etc/sysctl.d/95-forwarding.conf | 6 + localfs/etc/sysctl.d/96-noredir.conf | 4 + localfs/etc/sysctl.d/97-transmission.conf | 2 + localfs/etc/sysctl.d/99-sysctl.conf | 10 + .../etc/systemd/system/cluster-muromachi.target | 6 + localfs/etc/systemd/system/freshclam.service | 15 + localfs/etc/systemd/system/kvm-arch.service | 12 + localfs/etc/systemd/system/kvm-clustervm@.service | 31 + localfs/etc/systemd/system/kvm-debian.service | 12 + localfs/etc/systemd/system/kvm-firewall.service | 21 + localfs/etc/systemd/system/kvm-guestmount.service | 13 + localfs/etc/systemd/system/kvm-infravm@.service | 23 + localfs/etc/systemd/system/kvm-jango105.service | 12 + localfs/etc/systemd/system/kvm-opensuse.service | 12 + localfs/etc/yum.repos.d/_copr_gregw-i3desktop.repo | 10 + .../etc/yum.repos.d/_copr_markand-RetroArch.repo | 10 + .../yum.repos.d/_copr_plambri-desktop-apps.repo | 10 + localfs/etc/yum.repos.d/_copr_taw-Riot.repo | 10 + .../yum.repos.d/_copr_wyvie-compton-master.repo | 10 + localfs/etc/yum.repos.d/adobe-linux-x86_64.repo | 7 + localfs/etc/yum.repos.d/docker-ce-fallback.repo | 6 + localfs/etc/yum.repos.d/dotnetdev.repo | 6 + localfs/etc/yum.repos.d/home:zhonghuaren.repo | 7 + localfs/etc/yum.repos.d/keybase.repo | 7 + localfs/etc/yum.repos.d/skype-stable.repo | 6 + localfs/etc/yum.repos.d/telred-fedora-27.repo | 6 + .../etc/yum.repos.d/telred-fedora-27.repo.rpmsave | 6 + localfs/etc/yum.repos.d/telred-fedora-28.repo | 6 + localfs/etc/yum.repos.d/vivaldi.repo | 6 + localfs/lib/udev/hwdb.d/95-hpelitebook.hwdb | 2 + localfs/srv | 1 + localfs/usr/local/bin/batman | 41 + localfs/usr/local/bin/virtmc | 22 + localfs/usr/local/bin/virtme | 1 + localfs/usr/local/bin/virtmp | 1 + localfs/usr/local/sbin/brightness-down | 10 + localfs/usr/local/sbin/brightness-up | 10 + .../fonts/lirion/eot/telex-regular-webfont.eot | Bin 0 -> 18780 bytes .../lirion/opentype/HelveticaNeueLTStd-ThEx.otf | Bin 0 -> 27468 bytes .../lirion/opentype/Minion Pro Italic Subhead.otf | Bin 0 -> 280168 bytes .../share/fonts/lirion/opentype/MinionPro-Subh.otf | Bin 0 -> 184472 bytes .../fonts/lirion/svg/telex-regular-webfont.svg | 396 +++++ .../share/fonts/lirion/truetype/europlate.ttf | Bin 0 -> 14480 bytes .../lirion/truetype/telex-regular-webfont.ttf | Bin 0 -> 38748 bytes .../usr/local/share/fonts/lirion/ttf/Hack-Bold.ttf | Bin 0 -> 317848 bytes .../share/fonts/lirion/ttf/Hack-BoldItalic.ttf | Bin 0 -> 322084 bytes .../local/share/fonts/lirion/ttf/Hack-Italic.ttf | Bin 0 -> 314396 bytes .../local/share/fonts/lirion/ttf/Hack-Regular.ttf | Bin 0 -> 307420 bytes .../fonts/lirion/web/fonts/hack-bold-subset.woff | Bin 0 -> 29616 bytes .../fonts/lirion/web/fonts/hack-bold-subset.woff2 | Bin 0 -> 22956 bytes .../share/fonts/lirion/web/fonts/hack-bold.woff | Bin 0 -> 144480 bytes .../share/fonts/lirion/web/fonts/hack-bold.woff2 | Bin 0 -> 107788 bytes .../lirion/web/fonts/hack-bolditalic-subset.woff | Bin 0 -> 33012 bytes .../lirion/web/fonts/hack-bolditalic-subset.woff2 | Bin 0 -> 26012 bytes .../fonts/lirion/web/fonts/hack-bolditalic.woff | Bin 0 -> 150048 bytes .../fonts/lirion/web/fonts/hack-bolditalic.woff2 | Bin 0 -> 112812 bytes .../fonts/lirion/web/fonts/hack-italic-subset.woff | Bin 0 -> 31884 bytes .../lirion/web/fonts/hack-italic-subset.woff2 | Bin 0 -> 25148 bytes .../share/fonts/lirion/web/fonts/hack-italic.woff | Bin 0 -> 146868 bytes .../share/fonts/lirion/web/fonts/hack-italic.woff2 | Bin 0 -> 110216 bytes .../lirion/web/fonts/hack-regular-subset.woff | Bin 0 -> 28864 bytes .../lirion/web/fonts/hack-regular-subset.woff2 | Bin 0 -> 22556 bytes .../share/fonts/lirion/web/fonts/hack-regular.woff | Bin 0 -> 139532 bytes .../fonts/lirion/web/fonts/hack-regular.woff2 | Bin 0 -> 104912 bytes .../local/share/fonts/lirion/web/hack-subset.css | 34 + localfs/usr/local/share/fonts/lirion/web/hack.css | 34 + .../fonts/lirion/woff/telex-regular-webfont.woff | Bin 0 -> 22088 bytes .../xfce4/terminal/colorschemes/archery.theme | 6 + localfs/var/lib/libvirt/isos/README.html | 5 + localfs/var/lib/libvirt/isos/README.md | 12 + localfs/var/lib/libvirt/isos/arch/Makefile | 14 + localfs/var/lib/libvirt/isos/arch/README.html | 30 + localfs/var/lib/libvirt/isos/arch/README.md | 14 + .../isos/arch/archlinux-2018.01.01-x86_64.iso | 0 .../isos/arch/archlinux-2018.01.01-x86_64.iso.sig | 0 .../archlinux-bootstrap-2018.01.01-x86_64.tar.gz | 0 ...rchlinux-bootstrap-2018.01.01-x86_64.tar.gz.sig | 0 .../lib/libvirt/isos/arch/ipxe.1e77e6bfd61e.efi | 0 .../lib/libvirt/isos/arch/ipxe.28ebfe8a66ac.lkrn | 0 .../lib/libvirt/isos/arch/ipxe.8da38b4a9310.pxe | 0 .../libvirt/isos/arch/ipxe.efi.524d39c70e62.sig | 0 .../libvirt/isos/arch/ipxe.lkrn.27b2bf2cfc99.sig | 0 .../libvirt/isos/arch/ipxe.pxe.919b21409aa7.sig | 0 localfs/var/lib/libvirt/isos/arch/sha1sums.txt | 2 + .../isos/centos/CentOS-7-x86_64-Minimal-1708.iso | 0 .../centos/CentOS-7-x86_64-NetInstall-1708.iso | 0 localfs/var/lib/libvirt/isos/centos/Makefile | 12 + localfs/var/lib/libvirt/isos/centos/README.html | 29 + localfs/var/lib/libvirt/isos/centos/README.md | 12 + localfs/var/lib/libvirt/isos/centos/sha256sum.txt | 6 + .../var/lib/libvirt/isos/centos/sha256sum.txt.asc | 26 + localfs/var/lib/libvirt/isos/debian/Makefile | 12 + localfs/var/lib/libvirt/isos/debian/README.html | 30 + localfs/var/lib/libvirt/isos/debian/README.md | 14 + localfs/var/lib/libvirt/isos/debian/SHA512SUMS | 3 + .../var/lib/libvirt/isos/debian/SHA512SUMS.sign | 16 + .../isos/debian/debian-9.4.0-amd64-netinst.iso | 0 .../fedora/Fedora-Server-27-1.6-x86_64-CHECKSUM | 0 .../fedora/Fedora-Server-netinst-x86_64-27-1.6.iso | 0 ...edora-Server-netinst-x86_64-27-1.6.iso.manifest | 0 localfs/var/lib/libvirt/isos/fedora/Makefile | 12 + localfs/var/lib/libvirt/isos/fedora/README.html | 26 + localfs/var/lib/libvirt/isos/fedora/README.md | 13 + localfs/var/lib/libvirt/isos/grml/Makefile | 14 + localfs/var/lib/libvirt/isos/grml/README.html | 53 + localfs/var/lib/libvirt/isos/grml/README.md | 39 + .../lib/libvirt/isos/grml/grml64-full_2017.05.iso | 0 .../libvirt/isos/grml/grml64-full_2017.05.iso.asc | 0 .../isos/grml/grml64-full_2017.05.iso.sha512 | 0 .../isos/knoppix/KNOPPIX_V8.1-2017-09-05-DE.iso | 0 .../knoppix/KNOPPIX_V8.1-2017-09-05-DE.iso.sha256 | 0 .../KNOPPIX_V8.1-2017-09-05-DE.iso.sha256.asc | 0 localfs/var/lib/libvirt/isos/knoppix/Makefile | 14 + localfs/var/lib/libvirt/isos/knoppix/README.html | 33 + localfs/var/lib/libvirt/isos/knoppix/README.md | 17 + .../isos/openindiana/OI-hipster-text-20180427.iso | 0 .../OI-hipster-text-20180427.iso.sha256sum | 1 + localfs/var/lib/libvirt/isos/pool/!README | 3 + .../isos/pool/CentOS-7-x86_64-Minimal-1708.iso | 1 + .../isos/pool/CentOS-7-x86_64-NetInstall-1708.iso | 1 + .../pool/Fedora-Server-netinst-x86_64-27-1.6.iso | 1 + .../Gandalf'sWin10PEx64Redstone2_10-04-2017.iso | 1 + .../isos/pool/KNOPPIX_V8.1-2017-09-05-DE.iso | 1 + localfs/var/lib/libvirt/isos/pool/Makefile | 0 .../libvirt/isos/pool/OI-hipster-text-20180427.iso | 1 + localfs/var/lib/libvirt/isos/pool/README.html | 0 localfs/var/lib/libvirt/isos/pool/README.md | 0 .../isos/pool/archlinux-2018.01.01-x86_64.iso | 1 + .../archlinux-bootstrap-2018.01.01-x86_64.tar.gz | 1 + .../isos/pool/debian-9.4.0-amd64-netinst.iso | 1 + .../lib/libvirt/isos/pool/grml64-full_2017.05.iso | 1 + .../libvirt/isos/pool/openSUSE-12.3-DVD-x86_64.iso | 1 + .../libvirt/isos/pool/openSUSE-13.2-DVD-x86_64.iso | 1 + .../isos/pool/openSUSE-Leap-42.3-NET-x86_64.iso | 1 + localfs/var/lib/libvirt/isos/suse/Makefile | 12 + localfs/var/lib/libvirt/isos/suse/README.html | 31 + localfs/var/lib/libvirt/isos/suse/README.md | 17 + localfs/var/lib/libvirt/isos/suse/old-suse-repos | 2 + .../libvirt/isos/suse/openSUSE-12.2-DVD-x86_64.iso | 0 .../isos/suse/openSUSE-12.2-DVD-x86_64.iso.asc | 0 .../isos/suse/openSUSE-12.2-DVD-x86_64.iso.sha256 | 0 .../libvirt/isos/suse/openSUSE-12.3-DVD-x86_64.iso | 0 .../isos/suse/openSUSE-12.3-DVD-x86_64.iso.asc | 0 .../isos/suse/openSUSE-12.3-DVD-x86_64.iso.sha1 | 0 .../libvirt/isos/suse/openSUSE-13.2-DVD-x86_64.iso | 0 .../isos/suse/openSUSE-Leap-42.3-NET-x86_64.iso | 0 .../suse/openSUSE-Leap-42.3-NET-x86_64.iso.sha256 | 0 localfs/var/lib/libvirt/isos/theme | 1 + .../Gandalf'sWin10PEx64Redstone2_10-04-2017.iso | 0 localfs/var/lib/libvirt/isos/windows/README.html | 9 + localfs/var/srv/common/isos | 1 + localfs/var/srv/common/propaganda/.htaccess | 104 ++ localfs/var/srv/common/propaganda/theme | 1 + localfs/var/srv/common/public/.htaccess | 107 ++ .../public/5d0de4cbbd8c09c2f728d32a6e6f224e.jpg | Bin 0 -> 214185 bytes localfs/var/srv/common/public/dt051228-720x228.gif | Bin 0 -> 63021 bytes localfs/var/srv/common/public/dt090317-720x224.gif | Bin 0 -> 64846 bytes .../public/oatmeal_multiplicative_idiocy.pdf | 1514 ++++++++++++++++++++ localfs/var/srv/common/public/techiedilbert2.jpg | Bin 0 -> 28699 bytes localfs/var/srv/common/public/theme | 1 + .../public/vivaldi-portable/Application/stp.viv | 1 + .../srv/common/public/vivaldi-portable/README.txt | 9 + localfs/var/srv/common/redhat/.htaccess | 107 ++ localfs/var/srv/common/redhat/theme | 1 + localfs/var/srv/nfs/isos | 1 + localfs/var/srv/nfs/public_all | 1 + localfs/var/srv/nfs/redhat | 1 + localfs/var/srv/samba/Red Hat | 1 + localfs/var/srv/samba/isos | 1 + localfs/var/srv/samba/public | 1 + localfs/var/srv/www | 1 + localfs/var/www/apaxy/htaccess.txt | 1 + localfs/var/www/apaxy/theme | 1 + localfs/var/www/vhosts/jango104.domain.de/Makefile | 6 + .../www/vhosts/jango104.domain.de/blue_fedora.svg | 129 ++ localfs/var/www/vhosts/jango104.domain.de/dump | 1 + .../var/www/vhosts/jango104.domain.de/favicon.ico | Bin 0 -> 32038 bytes .../var/www/vhosts/jango104.domain.de/fedora.png | Bin 0 -> 770 bytes .../jango104.domain.de/fonts/telex-ht-regular.css | 11 + .../fonts/telex-regular-webfont.eot | Bin 0 -> 18780 bytes .../fonts/telex-regular-webfont.svg | 396 +++++ .../fonts/telex-regular-webfont.ttf | Bin 0 -> 38748 bytes .../fonts/telex-regular-webfont.woff | Bin 0 -> 22088 bytes .../var/www/vhosts/jango104.domain.de/gandalf.png | Bin 0 -> 511506 bytes .../var/www/vhosts/jango104.domain.de/index.css | 76 + .../var/www/vhosts/jango104.domain.de/index.html | 43 + localfs/var/www/vhosts/jango104.domain.de/isos | 1 + .../var/www/vhosts/jango104.domain.de/propaganda | 1 + localfs/var/www/vhosts/jango104.domain.de/redhat | 1 + .../www/vhosts/jango104.domain.de/test/.htaccess | 107 ++ .../www/vhosts/jango104.domain.de/test/Makefile | 6 + .../www/vhosts/jango104.domain.de/test/README.html | 2 + .../www/vhosts/jango104.domain.de/test/README.md | 4 + .../vhosts/jango104.domain.de/test/WEISSSPASS.html | 54 + .../vhosts/jango104.domain.de/test/not_accessible | 0 .../vhosts/jango104.domain.de/test/tcpdf/index.php | 106 ++ .../test/tcpdf/tcpdf_include.php | 1 + .../var/www/vhosts/jango104.domain.de/test/theme | 1 + .../var/www/vhosts/jango104.domain.de/tux-bw.svg | 116 ++ localfs/var/www/vhosts/jango104.domain.de/tux.b64 | 0 sound-hdaudio-for-kvm.xml | 11 + 362 files changed, 9126 insertions(+) create mode 100755 .environ-prep create mode 100644 .gitignore create mode 100644 .gitlab-ci.yml create mode 100644 Makefile create mode 100644 README.md create mode 100644 aux/fett/fett.svg create mode 100755 aux/git-checkers/.filelistgen-nonsysv create mode 100644 aux/git-checkers/.readme.md-head create mode 100755 aux/git-checkers/.readmegen-debian create mode 100755 aux/git-checkers/.readmegen-suse create mode 100644 aux/git-checkers/Makefile.readme create mode 100644 aux/git-checkers/bashlist create mode 100644 aux/git-checkers/ecmalist create mode 120000 aux/git-checkers/filelistgen create mode 100644 aux/git-checkers/kornlist create mode 100755 aux/git-checkers/logrotchecker create mode 100644 aux/git-checkers/makelist create mode 100644 aux/git-checkers/poshlist create mode 100755 aux/git-checkers/readmegen create mode 100755 aux/git-checkers/sudoerschecker create mode 100755 aux/git-checkers/systemdchecker create mode 100644 aux/git-checkers/tidylist create mode 100644 documentation/.gitignore create mode 100755 documentation/.update create mode 100644 documentation/Makefile create mode 100644 documentation/README.md create mode 100755 documentation/aux/block-inventory create mode 100755 documentation/aux/ctrl-c create mode 100755 documentation/aux/dnf-history create mode 100755 documentation/aux/git-inventory create mode 100755 documentation/aux/kvm-inventory create mode 100644 documentation/blockdevices create mode 100644 documentation/git-system-repos create mode 100644 documentation/kvm-details/domain-arch.xml create mode 100644 documentation/kvm-details/domain-basfperl.xml create mode 100644 documentation/kvm-details/domain-centoscl0.xml create mode 100644 documentation/kvm-details/domain-centoscl1.xml create mode 100644 documentation/kvm-details/domain-centoscl2.xml create mode 100644 documentation/kvm-details/domain-debian.xml create mode 100644 documentation/kvm-details/domain-firewall.xml create mode 100644 documentation/kvm-details/domain-guestfs-y4pl944s9lh5ows7.xml create mode 100644 documentation/kvm-details/domain-indiana.xml create mode 100644 documentation/kvm-details/domain-iscsi.xml create mode 100644 documentation/kvm-details/domain-jango105.xml create mode 100644 documentation/kvm-details/domain-opensuse-old.xml create mode 100644 documentation/kvm-details/domain-opensuse.xml create mode 100644 documentation/kvm-details/domain-vswitch.xml create mode 100644 documentation/kvm-details/net-hodenkobold.xml create mode 100644 documentation/kvm-details/net-hundehuette.xml create mode 100644 documentation/kvm-details/net-san-cluster.xml create mode 100644 documentation/kvm-details/net-sosaria05.xml create mode 100644 documentation/kvm-details/pool-isos.xml create mode 100644 documentation/kvm-details/pool-kuehe.xml create mode 100644 documentation/kvm-details/pool-libvirt.xml create mode 100644 documentation/kvm-details/pool-nvram.xml create mode 100644 documentation/kvm-details/pool-ovmf.xml create mode 100644 documentation/kvm-details/pool-virtio-win-git.xml create mode 100644 documentation/kvm-details/pool-virtio-win.xml create mode 100644 documentation/kvm-details/pool-vmshare.xml create mode 100644 documentation/kvm_overview create mode 100644 documentation/packages create mode 100644 documentation/selinux/my-dbusdaemonlau.pp create mode 100644 documentation/selinux/my-dbusdaemonlau.te create mode 100644 documentation/selinux/my-iptables.pp create mode 100644 documentation/selinux/my-iptables.te create mode 100644 documentation/selinux/my-kdumpdepgener.pp create mode 100644 documentation/selinux/my-kdumpdepgener.te create mode 100644 documentation/selinux/my-pklacheckauth.pp create mode 100644 documentation/selinux/my-pklacheckauth.te create mode 100644 documentation/selinux/my-sssd.pp create mode 100644 documentation/selinux/my-sssd.te create mode 100644 documentation/selinux/my-unixchkpwd.pp create mode 100644 documentation/selinux/my-unixchkpwd.te create mode 100644 fakeenv/README.md create mode 100755 fakeenv/bin/virsh create mode 100644 fakeenv/etc/systemd/README.md create mode 100644 fakeenv/etc/systemd/system/libvirt-guests.service create mode 100644 fakeenv/etc/systemd/system/libvirtd.service create mode 100644 fakeenv/etc/systemd/system/lvm2-lvmetad.service create mode 100644 fakeenv/etc/systemd/system/systemd-timesyncd.service create mode 100644 fakeenv/usr/README.md create mode 100755 fakeenv/usr/bin/guestmount create mode 100755 fakeenv/usr/bin/guestunmount create mode 100644 localfs/README.md create mode 100644 localfs/etc/NetworkManager/NetworkManager.conf create mode 100644 localfs/etc/X11/xorg.conf.d/00-keyboard.conf create mode 100644 localfs/etc/X11/xorg.conf.d/20-displaylink.conf create mode 100644 localfs/etc/X11/xorg.conf.d/20-intel.conf create mode 100644 localfs/etc/X11/xorg.conf.d/80-backlight.conf create mode 100644 localfs/etc/bashrc.delta create mode 100644 localfs/etc/crypttab create mode 100644 localfs/etc/default/grub create mode 100644 localfs/etc/dnf/dnf.conf create mode 100644 localfs/etc/dnf/protected.d/dnf.conf create mode 100644 localfs/etc/dnf/protected.d/rpm.conf create mode 100644 localfs/etc/dnf/protected.d/storage.conf create mode 100644 localfs/etc/firewalld/direct.xml create mode 100644 localfs/etc/firewalld/firewalld-server.conf create mode 100644 localfs/etc/firewalld/firewalld-standard.conf create mode 100644 localfs/etc/firewalld/firewalld-workstation.conf create mode 120000 localfs/etc/firewalld/firewalld.conf create mode 100644 localfs/etc/firewalld/lockdown-whitelist.xml create mode 100644 localfs/etc/firewalld/services/check_mk.xml create mode 100644 localfs/etc/firewalld/services/nfs.xml create mode 100644 localfs/etc/firewalld/zones/FedoraWorkstation.xml create mode 100644 localfs/etc/firewalld/zones/FedoraWorkstation.xml.old create mode 100644 localfs/etc/firewalld/zones/home.xml create mode 100644 localfs/etc/firewalld/zones/home.xml.old create mode 100644 localfs/etc/firewalld/zones/internal.xml create mode 100644 localfs/etc/firewalld/zones/internal.xml.old create mode 100644 localfs/etc/firewalld/zones/kvm.xml create mode 100644 localfs/etc/firewalld/zones/kvm.xml.old create mode 100644 localfs/etc/firewalld/zones/lokalhorst.xml create mode 100644 localfs/etc/firewalld/zones/lokalhorst.xml.old create mode 100644 localfs/etc/fstab create mode 100644 localfs/etc/httpd/conf.d/indexes create mode 100644 localfs/etc/httpd/conf.d/misc.conf create mode 100644 localfs/etc/httpd/conf.d/security.conf create mode 100644 localfs/etc/httpd/conf.d/security.d/csp.conf create mode 100644 localfs/etc/httpd/conf.d/security.d/hsts.conf create mode 100644 localfs/etc/httpd/conf.d/security.d/maxconns.conf create mode 100644 localfs/etc/httpd/conf.d/security.d/signature.conf create mode 100644 localfs/etc/httpd/conf.d/ssl.conf create mode 100644 localfs/etc/httpd/conf.d/utf8.conf create mode 100644 localfs/etc/httpd/conf.d/vhosts.conf create mode 100644 localfs/etc/httpd/conf.d/vhosts.d/jango104.conf create mode 100644 localfs/etc/httpd/conf.d/welcome.bak create mode 100644 localfs/etc/httpd/conf.modules.d/00-proxyhtml.conf create mode 100644 localfs/etc/httpd/conf.modules.d/10-geoip.conf create mode 100644 localfs/etc/httpd/conf.modules.d/10-limitipconn.conf create mode 120000 localfs/etc/httpd/run create mode 100644 localfs/etc/libvirt.key create mode 100644 localfs/etc/logrotate.d/clamav-update create mode 100644 localfs/etc/logrotate.d/httpd create mode 100644 localfs/etc/profile.d/netcatandquit.sh create mode 100644 localfs/etc/profile.d/shellhist.sh create mode 100644 localfs/etc/profile.d/taskd.sh create mode 100644 localfs/etc/samba/smb.conf create mode 100644 localfs/etc/selinux/targeted/contexts/files/file_contexts.local create mode 100644 localfs/etc/ssh/sshd_config create mode 100644 localfs/etc/sssd/sssd.conf create mode 100644 localfs/etc/sudoers.d/dnf create mode 100644 localfs/etc/sudoers.d/firewallcmd-completion create mode 100644 localfs/etc/sudoers.d/insults create mode 100644 localfs/etc/sudoers.d/inxi create mode 100644 localfs/etc/sudoers.d/network create mode 100644 localfs/etc/sudoers.d/shutdown create mode 100644 localfs/etc/sysconfig/network-scripts/.gitignore create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-CISCO-default create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-br0-default create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-br0-example1 create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-enp0s31f6-default create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-lo create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-wlp1s0-Brueckengandalf create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-wlp1s0-dingeling create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-wlp1s0-hotspot create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-wlp1s0-peap-gtc create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-wlp1s0-peap-mschapv2 create mode 100644 localfs/etc/sysconfig/network-scripts/ifcfg-wlp1s0-telekom-free create mode 100644 localfs/etc/sysctl.d/93-disable-ipv6.conf create mode 100644 localfs/etc/sysctl.d/94-bridgenotables.conf create mode 100644 localfs/etc/sysctl.d/95-forwarding.conf create mode 100644 localfs/etc/sysctl.d/96-noredir.conf create mode 100644 localfs/etc/sysctl.d/97-transmission.conf create mode 100644 localfs/etc/sysctl.d/99-sysctl.conf create mode 100644 localfs/etc/systemd/system/cluster-muromachi.target create mode 100644 localfs/etc/systemd/system/freshclam.service create mode 100644 localfs/etc/systemd/system/kvm-arch.service create mode 100644 localfs/etc/systemd/system/kvm-clustervm@.service create mode 100644 localfs/etc/systemd/system/kvm-debian.service create mode 100644 localfs/etc/systemd/system/kvm-firewall.service create mode 100644 localfs/etc/systemd/system/kvm-guestmount.service create mode 100644 localfs/etc/systemd/system/kvm-infravm@.service create mode 100644 localfs/etc/systemd/system/kvm-jango105.service create mode 100644 localfs/etc/systemd/system/kvm-opensuse.service create mode 100644 localfs/etc/yum.repos.d/_copr_gregw-i3desktop.repo create mode 100644 localfs/etc/yum.repos.d/_copr_markand-RetroArch.repo create mode 100644 localfs/etc/yum.repos.d/_copr_plambri-desktop-apps.repo create mode 100644 localfs/etc/yum.repos.d/_copr_taw-Riot.repo create mode 100644 localfs/etc/yum.repos.d/_copr_wyvie-compton-master.repo create mode 100644 localfs/etc/yum.repos.d/adobe-linux-x86_64.repo create mode 100644 localfs/etc/yum.repos.d/docker-ce-fallback.repo create mode 100644 localfs/etc/yum.repos.d/dotnetdev.repo create mode 100644 localfs/etc/yum.repos.d/home:zhonghuaren.repo create mode 100644 localfs/etc/yum.repos.d/keybase.repo create mode 100644 localfs/etc/yum.repos.d/skype-stable.repo create mode 100644 localfs/etc/yum.repos.d/telred-fedora-27.repo create mode 100644 localfs/etc/yum.repos.d/telred-fedora-27.repo.rpmsave create mode 100644 localfs/etc/yum.repos.d/telred-fedora-28.repo create mode 100644 localfs/etc/yum.repos.d/vivaldi.repo create mode 100644 localfs/lib/udev/hwdb.d/95-hpelitebook.hwdb create mode 120000 localfs/srv create mode 100755 localfs/usr/local/bin/batman create mode 100755 localfs/usr/local/bin/virtmc create mode 120000 localfs/usr/local/bin/virtme create mode 120000 localfs/usr/local/bin/virtmp create mode 100755 localfs/usr/local/sbin/brightness-down create mode 100755 localfs/usr/local/sbin/brightness-up create mode 100644 localfs/usr/local/share/fonts/lirion/eot/telex-regular-webfont.eot create mode 100644 localfs/usr/local/share/fonts/lirion/opentype/HelveticaNeueLTStd-ThEx.otf create mode 100644 localfs/usr/local/share/fonts/lirion/opentype/Minion Pro Italic Subhead.otf create mode 100644 localfs/usr/local/share/fonts/lirion/opentype/MinionPro-Subh.otf create mode 100644 localfs/usr/local/share/fonts/lirion/svg/telex-regular-webfont.svg create mode 100644 localfs/usr/local/share/fonts/lirion/truetype/europlate.ttf create mode 100644 localfs/usr/local/share/fonts/lirion/truetype/telex-regular-webfont.ttf create mode 100644 localfs/usr/local/share/fonts/lirion/ttf/Hack-Bold.ttf create mode 100644 localfs/usr/local/share/fonts/lirion/ttf/Hack-BoldItalic.ttf create mode 100644 localfs/usr/local/share/fonts/lirion/ttf/Hack-Italic.ttf create mode 100644 localfs/usr/local/share/fonts/lirion/ttf/Hack-Regular.ttf create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bold-subset.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bold-subset.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bold.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bold.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bolditalic-subset.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bolditalic-subset.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bolditalic.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-bolditalic.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-italic-subset.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-italic-subset.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-italic.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-italic.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-regular-subset.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-regular-subset.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-regular.woff create mode 100644 localfs/usr/local/share/fonts/lirion/web/fonts/hack-regular.woff2 create mode 100644 localfs/usr/local/share/fonts/lirion/web/hack-subset.css create mode 100644 localfs/usr/local/share/fonts/lirion/web/hack.css create mode 100644 localfs/usr/local/share/fonts/lirion/woff/telex-regular-webfont.woff create mode 100644 localfs/usr/share/xfce4/terminal/colorschemes/archery.theme create mode 100644 localfs/var/lib/libvirt/isos/README.html create mode 100644 localfs/var/lib/libvirt/isos/README.md create mode 100644 localfs/var/lib/libvirt/isos/arch/Makefile create mode 100644 localfs/var/lib/libvirt/isos/arch/README.html create mode 100644 localfs/var/lib/libvirt/isos/arch/README.md create mode 100644 localfs/var/lib/libvirt/isos/arch/archlinux-2018.01.01-x86_64.iso create mode 100644 localfs/var/lib/libvirt/isos/arch/archlinux-2018.01.01-x86_64.iso.sig create mode 100644 localfs/var/lib/libvirt/isos/arch/archlinux-bootstrap-2018.01.01-x86_64.tar.gz create mode 100644 localfs/var/lib/libvirt/isos/arch/archlinux-bootstrap-2018.01.01-x86_64.tar.gz.sig create mode 100644 localfs/var/lib/libvirt/isos/arch/ipxe.1e77e6bfd61e.efi create mode 100644 localfs/var/lib/libvirt/isos/arch/ipxe.28ebfe8a66ac.lkrn create mode 100644 localfs/var/lib/libvirt/isos/arch/ipxe.8da38b4a9310.pxe create mode 100644 localfs/var/lib/libvirt/isos/arch/ipxe.efi.524d39c70e62.sig create mode 100644 localfs/var/lib/libvirt/isos/arch/ipxe.lkrn.27b2bf2cfc99.sig create mode 100644 localfs/var/lib/libvirt/isos/arch/ipxe.pxe.919b21409aa7.sig create mode 100644 localfs/var/lib/libvirt/isos/arch/sha1sums.txt create mode 100644 localfs/var/lib/libvirt/isos/centos/CentOS-7-x86_64-Minimal-1708.iso create mode 100644 localfs/var/lib/libvirt/isos/centos/CentOS-7-x86_64-NetInstall-1708.iso create mode 100644 localfs/var/lib/libvirt/isos/centos/Makefile create mode 100644 localfs/var/lib/libvirt/isos/centos/README.html create mode 100644 localfs/var/lib/libvirt/isos/centos/README.md create mode 100644 localfs/var/lib/libvirt/isos/centos/sha256sum.txt create mode 100644 localfs/var/lib/libvirt/isos/centos/sha256sum.txt.asc create mode 100644 localfs/var/lib/libvirt/isos/debian/Makefile create mode 100644 localfs/var/lib/libvirt/isos/debian/README.html create mode 100644 localfs/var/lib/libvirt/isos/debian/README.md create mode 100644 localfs/var/lib/libvirt/isos/debian/SHA512SUMS create mode 100644 localfs/var/lib/libvirt/isos/debian/SHA512SUMS.sign create mode 100644 localfs/var/lib/libvirt/isos/debian/debian-9.4.0-amd64-netinst.iso create mode 100644 localfs/var/lib/libvirt/isos/fedora/Fedora-Server-27-1.6-x86_64-CHECKSUM create mode 100644 localfs/var/lib/libvirt/isos/fedora/Fedora-Server-netinst-x86_64-27-1.6.iso create mode 100644 localfs/var/lib/libvirt/isos/fedora/Fedora-Server-netinst-x86_64-27-1.6.iso.manifest create mode 100644 localfs/var/lib/libvirt/isos/fedora/Makefile create mode 100644 localfs/var/lib/libvirt/isos/fedora/README.html create mode 100644 localfs/var/lib/libvirt/isos/fedora/README.md create mode 100644 localfs/var/lib/libvirt/isos/grml/Makefile create mode 100644 localfs/var/lib/libvirt/isos/grml/README.html create mode 100644 localfs/var/lib/libvirt/isos/grml/README.md create mode 100644 localfs/var/lib/libvirt/isos/grml/grml64-full_2017.05.iso create mode 100644 localfs/var/lib/libvirt/isos/grml/grml64-full_2017.05.iso.asc create mode 100644 localfs/var/lib/libvirt/isos/grml/grml64-full_2017.05.iso.sha512 create mode 100644 localfs/var/lib/libvirt/isos/knoppix/KNOPPIX_V8.1-2017-09-05-DE.iso create mode 100644 localfs/var/lib/libvirt/isos/knoppix/KNOPPIX_V8.1-2017-09-05-DE.iso.sha256 create mode 100644 localfs/var/lib/libvirt/isos/knoppix/KNOPPIX_V8.1-2017-09-05-DE.iso.sha256.asc create mode 100644 localfs/var/lib/libvirt/isos/knoppix/Makefile create mode 100644 localfs/var/lib/libvirt/isos/knoppix/README.html create mode 100644 localfs/var/lib/libvirt/isos/knoppix/README.md create mode 100644 localfs/var/lib/libvirt/isos/openindiana/OI-hipster-text-20180427.iso create mode 100644 localfs/var/lib/libvirt/isos/openindiana/OI-hipster-text-20180427.iso.sha256sum create mode 100644 localfs/var/lib/libvirt/isos/pool/!README create mode 120000 localfs/var/lib/libvirt/isos/pool/CentOS-7-x86_64-Minimal-1708.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/CentOS-7-x86_64-NetInstall-1708.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/Fedora-Server-netinst-x86_64-27-1.6.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/Gandalf'sWin10PEx64Redstone2_10-04-2017.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/KNOPPIX_V8.1-2017-09-05-DE.iso create mode 100644 localfs/var/lib/libvirt/isos/pool/Makefile create mode 120000 localfs/var/lib/libvirt/isos/pool/OI-hipster-text-20180427.iso create mode 100644 localfs/var/lib/libvirt/isos/pool/README.html create mode 100644 localfs/var/lib/libvirt/isos/pool/README.md create mode 120000 localfs/var/lib/libvirt/isos/pool/archlinux-2018.01.01-x86_64.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/archlinux-bootstrap-2018.01.01-x86_64.tar.gz create mode 120000 localfs/var/lib/libvirt/isos/pool/debian-9.4.0-amd64-netinst.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/grml64-full_2017.05.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/openSUSE-12.3-DVD-x86_64.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/openSUSE-13.2-DVD-x86_64.iso create mode 120000 localfs/var/lib/libvirt/isos/pool/openSUSE-Leap-42.3-NET-x86_64.iso create mode 100644 localfs/var/lib/libvirt/isos/suse/Makefile create mode 100644 localfs/var/lib/libvirt/isos/suse/README.html create mode 100644 localfs/var/lib/libvirt/isos/suse/README.md create mode 100644 localfs/var/lib/libvirt/isos/suse/old-suse-repos create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-12.2-DVD-x86_64.iso create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-12.2-DVD-x86_64.iso.asc create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-12.2-DVD-x86_64.iso.sha256 create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-12.3-DVD-x86_64.iso create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-12.3-DVD-x86_64.iso.asc create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-12.3-DVD-x86_64.iso.sha1 create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-13.2-DVD-x86_64.iso create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-Leap-42.3-NET-x86_64.iso create mode 100644 localfs/var/lib/libvirt/isos/suse/openSUSE-Leap-42.3-NET-x86_64.iso.sha256 create mode 120000 localfs/var/lib/libvirt/isos/theme create mode 100644 localfs/var/lib/libvirt/isos/windows/Gandalf'sWin10PEx64Redstone2_10-04-2017.iso create mode 100644 localfs/var/lib/libvirt/isos/windows/README.html create mode 120000 localfs/var/srv/common/isos create mode 100644 localfs/var/srv/common/propaganda/.htaccess create mode 120000 localfs/var/srv/common/propaganda/theme create mode 100644 localfs/var/srv/common/public/.htaccess create mode 100644 localfs/var/srv/common/public/5d0de4cbbd8c09c2f728d32a6e6f224e.jpg create mode 100644 localfs/var/srv/common/public/dt051228-720x228.gif create mode 100644 localfs/var/srv/common/public/dt090317-720x224.gif create mode 100644 localfs/var/srv/common/public/oatmeal_multiplicative_idiocy.pdf create mode 100644 localfs/var/srv/common/public/techiedilbert2.jpg create mode 120000 localfs/var/srv/common/public/theme create mode 100644 localfs/var/srv/common/public/vivaldi-portable/Application/stp.viv create mode 100644 localfs/var/srv/common/public/vivaldi-portable/README.txt create mode 100644 localfs/var/srv/common/redhat/.htaccess create mode 120000 localfs/var/srv/common/redhat/theme create mode 120000 localfs/var/srv/nfs/isos create mode 120000 localfs/var/srv/nfs/public_all create mode 120000 localfs/var/srv/nfs/redhat create mode 120000 localfs/var/srv/samba/Red Hat create mode 120000 localfs/var/srv/samba/isos create mode 120000 localfs/var/srv/samba/public create mode 120000 localfs/var/srv/www create mode 120000 localfs/var/www/apaxy/htaccess.txt create mode 120000 localfs/var/www/apaxy/theme create mode 100644 localfs/var/www/vhosts/jango104.domain.de/Makefile create mode 100644 localfs/var/www/vhosts/jango104.domain.de/blue_fedora.svg create mode 120000 localfs/var/www/vhosts/jango104.domain.de/dump create mode 100644 localfs/var/www/vhosts/jango104.domain.de/favicon.ico create mode 100644 localfs/var/www/vhosts/jango104.domain.de/fedora.png create mode 100644 localfs/var/www/vhosts/jango104.domain.de/fonts/telex-ht-regular.css create mode 100644 localfs/var/www/vhosts/jango104.domain.de/fonts/telex-regular-webfont.eot create mode 100644 localfs/var/www/vhosts/jango104.domain.de/fonts/telex-regular-webfont.svg create mode 100644 localfs/var/www/vhosts/jango104.domain.de/fonts/telex-regular-webfont.ttf create mode 100644 localfs/var/www/vhosts/jango104.domain.de/fonts/telex-regular-webfont.woff create mode 100644 localfs/var/www/vhosts/jango104.domain.de/gandalf.png create mode 100644 localfs/var/www/vhosts/jango104.domain.de/index.css create mode 100644 localfs/var/www/vhosts/jango104.domain.de/index.html create mode 120000 localfs/var/www/vhosts/jango104.domain.de/isos create mode 120000 localfs/var/www/vhosts/jango104.domain.de/propaganda create mode 120000 localfs/var/www/vhosts/jango104.domain.de/redhat create mode 100644 localfs/var/www/vhosts/jango104.domain.de/test/.htaccess create mode 100644 localfs/var/www/vhosts/jango104.domain.de/test/Makefile create mode 100644 localfs/var/www/vhosts/jango104.domain.de/test/README.html create mode 100644 localfs/var/www/vhosts/jango104.domain.de/test/README.md create mode 100644 localfs/var/www/vhosts/jango104.domain.de/test/WEISSSPASS.html create mode 100644 localfs/var/www/vhosts/jango104.domain.de/test/not_accessible create mode 100644 localfs/var/www/vhosts/jango104.domain.de/test/tcpdf/index.php create mode 120000 localfs/var/www/vhosts/jango104.domain.de/test/tcpdf/tcpdf_include.php create mode 120000 localfs/var/www/vhosts/jango104.domain.de/test/theme create mode 100644 localfs/var/www/vhosts/jango104.domain.de/tux-bw.svg create mode 100644 localfs/var/www/vhosts/jango104.domain.de/tux.b64 create mode 100644 sound-hdaudio-for-kvm.xml diff --git a/.environ-prep b/.environ-prep new file mode 100755 index 0000000..33f9c1f --- /dev/null +++ b/.environ-prep @@ -0,0 +1,14 @@ +#!/bin/sh +apt -q update||exit 1 +apt -yqq dist-upgrade||exit 1 +apt -yq install ksh make sudo node-util shellcheck locales git >/dev/null 2>&1||exit 1 +sed -i 's/^#.*\(en-IE.UTF-8\)/\1/g' /etc/locale.gen||exit 1 +echo ": \"\${LANG:=en_IE.UTF-8}\"; export LANG">>/etc/profile.d/lang +locale-gen||exit 1 +cp -vpR fakeenv/* / +# whyever the docker container comes up with world writable stuff... +# "it doesn't work? SOLUTION CHMOD 777 DERP DURP" +# assumption 1: cp above was without "-p", and default umask might be 000 +# answer 1: seems the docker does not give a sheet about cp -p +for i in localfs/ fakeenv/ /;do chmod -R o-w "$i"etc/systemd/system;done +systemctl unmask systemd-timesyncd.service; systemctl disable systemd-timesyncd.service diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db2a37f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +aux/fett/fett.png diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..87eb569 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,63 @@ +#image: debian:stretch +image: minimum2scp/systemd-stretch:latest +stages: + - conf-check + - code-check +# - readme-check +before_script: +# - "apt-get -qq update&&apt-get -yqqq install ksh make sudo node-util >/dev/null 2>&1" + - "./.environ-prep" +bash-parser: + script: "export LANG=en_IE.UTF-8;for i in $(cat aux/git-checkers/bashlist);do shellcheck -xe SC2181,SC2188,SC2015,SC2002,SC2119,SC2004,SC1090,SC2164,SC2016 $i&&echo $i: $(tput -Txterm smul)OK$(tput -Txterm rmul);done" + stage: code-check + only: + - master + environment: + name: production + when: always +korn-parser: + script: "export LANG=en_IE.UTF-8;for i in $(cat aux/git-checkers/kornlist);do shellcheck -xe SC2181,SC2188,SC2015,SC2002,SC2119,SC2004,SC1090,SC2164,SC2016 $i&&echo $i: $(tput -Txterm smul)OK$(tput -Txterm rmul);done" + stage: code-check + only: + - master + environment: + name: production + when: always +posh-parser: + script: "export LANG=en_IE.UTF-8;for i in $(cat aux/git-checkers/poshlist);do shellcheck -xe SC2181,SC2188,SC2015,SC2002,SC2119,SC2004,SC1090,SC2164,SC2016 $i&&echo $i: $(tput -Txterm smul)OK$(tput -Txterm rmul);done" + stage: code-check + only: + - master + environment: + name: production + when: always +#readme-parser: +# script: "make -n" +# stage: readme-check +# only: +# - master +# environment: +# name: production +# when: always +sudoers-parser: + script: "./aux/git-checkers/sudoerschecker" + stage: conf-check + only: + - master + when: always +logrotate-parser: + script: "./aux/git-checkers/logrotchecker" + stage: conf-check + only: + - master + environment: + name: production + when: always +systemd-parser: + script: "./aux/git-checkers/systemdchecker" + stage: conf-check + only: + - master + environment: + name: production + when: always diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8066d0 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +VERSION = 3.81 + +all: tree filelists + +tree: + @make -f aux/git-checkers/Makefile.readme +readme: tree + +#fstree-exists: +# @command -v fstree >/dev/null 2>&1 +# THEY'RE TAKING THE HOBBITS TO ISENGARD! +filelists: + @[ -e ./aux/git-checkers/filelistgen ]&&./aux/git-checkers/filelistgen||true + +@PHONY: help +help: + @echo -e "help:\t\tThis help" + @echo -e "all:\t\tall of the following targets:" + @echo -e "tree," + @echo -e "readme:\t\tGenerate Readme.md with file tree" + @echo -e "filelists:\tGenerates all code checker file lists" diff --git a/README.md b/README.md new file mode 100644 index 0000000..8816d4f --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +## Content + +### What is this? + +*jango104* was a laptop inside a company. That said, it had been provided with a +Fedora installation that was kept up-to-date, and all configs and +setups are mirrored in this repository. + +Cessation of operation. Most companies don't support Linux even for their +Linux-only employees. + +### ./documentation + +This folder reflects the output of several commands investigating the FS +layout, the KVM layout, the installed packages, ... basically anything +*not* reflected in /etc config files etc. (lel) telling you how the +machine is set up. + +### ./fakeenv + +The sole purpose of this folder is for any file tests (in this case, the Gitlab +CI Runner's invoked commands) to fake an environment where any tests will +*not* fail due to the docker container not having any sophisticated setup we +simply do not need there, and instead narrow down tests to actual failures +within the files. Hence, we present files which basically return 0. + +See also the `cp` command in the .environ-prep script. + +tl;dr: you don't need the fakeenv folder to set up anything existing in this +repository. + +### ./localfs + +This folder includes any dedicated configuration file and similar files +distinguishing this system (there are many fedoras out there, but this is mine!™). + +Basically I copy anything here that I consider relevant for yet another setup +like this (minus those that I may have forgotten *cough*). diff --git a/aux/fett/fett.svg b/aux/fett/fett.svg new file mode 100644 index 0000000..4a0ae7c --- /dev/null +++ b/aux/fett/fett.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/aux/git-checkers/.filelistgen-nonsysv b/aux/git-checkers/.filelistgen-nonsysv new file mode 100755 index 0000000..a400beb --- /dev/null +++ b/aux/git-checkers/.filelistgen-nonsysv @@ -0,0 +1,122 @@ +#!/bin/bash + +RETVAL=0 +declare -x NCURSINST SCDIR GROOTDIR BASHLIST KORNLIST ECMALIST TIDYLIST +command -v tput >/dev/null 2>&1&&NCURSINST=1||NCURSINST=0 +SCDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +# I AM G(IT)ROOT! +GROOTDIR="$(git rev-parse --show-toplevel)"||exit 1 +BASHLIST="$GROOTDIR/aux/git-checkers/bashlist" +KORNLIST="$GROOTDIR/aux/git-checkers/kornlist" +POSHLIST="$GROOTDIR/aux/git-checkers/poshlist" +ECMALIST="$GROOTDIR/aux/git-checkers/ecmalist" +TIDYLIST="$GROOTDIR/aux/git-checkers/tidylist" +MAKELIST="$GROOTDIR/aux/git-checkers/makelist" + +function initmimick { + [ -z "$1" ]&&echo "crit_fail in initmimick(): no parameter passed" >&2&&exit 1 + [ -z "$2" ]&&echo "crit_fail in initmimick(): no string passed" >&2&&exit 2 + case "$1" in + 0) + echo -en "\\033[999D";echo -en "\\033[K" + case "$NCURSINST" in + 1)echo -en "[ $(tput setaf 2)$(tput bold)OK$(tput sgr0) ] $2.";; + *)echo -en "[ OK ] $2.";; + esac + echo " $3" + ;; + *) + echo -en "\\033[999D";echo -en "\\033[K" + case "$NCURSINST" in + 1)echo -en "[ $(tput setaf 1)$(tput bold)FAIL$(tput sgr0) ] $2:";; + *)echo -en "[ FAIL ] $2:";; + esac + echo " $3" + ;; + esac +} +STAGECMD="Generating Bash code list" +echo -n "[....] $STAGECMD" +if [ "$(find "$GROOTDIR" -type f -exec file '{}' \;|grep Bourne-Again|grep -vE "tmp/|aux/github-markdown"|sed "s|:.*||g;s|$GROOTDIR/||g"|grep -vcP "$(tr '\n' '|' < "$GROOTDIR/.gitignore"|sed 's/|$//g')")" -gt 0 ];then + if [ -e "$GROOTDIR/.gitignore" ];then + find "$GROOTDIR" -type f -exec file '{}' \;|grep Bourne-Again|grep -vE "tmp/|aux/github-markdown"|sed "s|:.*||g;s|$GROOTDIR/||g"|grep -vP "$(tr '\n' '|' < "$GROOTDIR/.gitignore"|sed 's/|$//g')" > "$BASHLIST" + else + find "$GROOTDIR" -type f -exec file '{}' \;|grep Bourne-Again|grep -vE "tmp/|aux/github-markdown"|sed "s|:.*||g;s|$GROOTDIR/||g"> "$BASHLIST" + fi +else + true>"$BASHLIST" +fi +CRETVAL="$?" +case "$CRETVAL" in + 0) initmimick 0 "$STAGECMD" "...$(wc -l "$BASHLIST"|awk '{print $1}') found";; + *) initmimick 1 "$STAGECMD" "...$(wc -l "$BASHLIST"|awk '{print $1}') found";((++RETVAL));; +esac +STAGECMD="Generating KSH code list" +echo -n "[....] $STAGECMD" +if [ "$(find "$GROOTDIR" -type f -exec file '{}' \;|grep Korn\ shell|grep -vE "/tmp/|aux/github-markdown"|sed "s|:.*||g;s|$GROOTDIR/||g"|grep -vcP "$(tr '\n' '|' < "$GROOTDIR/.gitignore"|sed 's/|$//g')")" -gt 0 ];then + if [ -e "$GROOTDIR/.gitignore" ];then + find "$GROOTDIR" -type f -exec file '{}' \;|grep Korn\ shell|grep -vE "/tmp/|aux/github-markdown"|sed "s|:.*||g;s|$GROOTDIR/||g"|grep -vP "$(tr '\n' '|' < "$GROOTDIR/.gitignore"|sed 's/|$//g')" > "$KORNLIST" + else + find "$GROOTDIR" -type f -exec file '{}' \;|grep Korn\ shell|grep -vE "/tmp/|aux/github-markdown"|sed "s|:.*||g;s|$GROOTDIR/||g" > "$KORNLIST" + fi +else + true>"$KORNLIST" +fi +CRETVAL="$?" +case "$CRETVAL" in + 0) initmimick 0 "$STAGECMD" "...$(wc -l "$KORNLIST"|awk '{print $1}') found";; + *) initmimick 1 "$STAGECMD" "...$(wc -l "$KORNLIST"|awk '{print $1}') found";((++RETVAL));; +esac +STAGECMD="Generating POSIX shell code list" +echo -n "[....] $STAGECMD" +if [ "$(find "$GROOTDIR" -type f -exec file '{}' \;|grep POSIX\ shell|grep -vE "/tmp/|aux/github-markdown|\.git/"|sed "s|:.*||g;s|$GROOTDIR/||g"|grep -vcP "$(tr '\n' '|' < "$GROOTDIR/.gitignore"|sed 's/|$//g')")" -gt 0 ];then + if [ -e "$GROOTDIR/.gitignore" ];then + find "$GROOTDIR" -type f -exec file '{}' \;|grep POSIX\ shell|grep -vE "/tmp/|aux/github-markdown|\.git/"|sed "s|:.*||g;s|$GROOTDIR/||g"|grep -vP "$(tr '\n' '|' < "$GROOTDIR/.gitignore"|sed 's/|$//g')" > "$POSHLIST" + else + find "$GROOTDIR" -type f -exec file '{}' \;|grep POSIX\ shell|grep -vE "/tmp/|aux/github-markdown|\.git/"|sed "s|:.*||g;s|$GROOTDIR/||g" > "$POSHLIST" + fi +else + true>"$POSHLIST" +fi +CRETVAL="$?" +case "$CRETVAL" in + 0) initmimick 0 "$STAGECMD" "...$(wc -l "$POSHLIST"|awk '{print $1}') found";; + *) initmimick 1 "$STAGECMD" "...$(wc -l "$POSHLIST"|awk '{print $1}') found";((++RETVAL));; +esac +STAGECMD="Generating ECMA script list" +echo -n "[....] $STAGECMD" +if [ "$(find "$GROOTDIR" -type f -name "*.js"|sed "s|$GROOTDIR/||g"|grep -vcE "/tmp/")" -gt 0 ];then + find "$GROOTDIR" -type f -name "*.js"|sed "s|$GROOTDIR/||g"|grep -vE "/tmp/" > "$ECMALIST" 2>/dev/null +else + true>"$ECMALIST" +fi +CRETVAL="$?" +case "$CRETVAL" in + 0) initmimick 0 "$STAGECMD" "...$(wc -l "$ECMALIST"|awk '{print $1}') found";; + *) initmimick 1 "$STAGECMD" "...$(wc -l "$ECMALIST"|awk '{print $1}') found";((++RETVAL));; +esac +STAGECMD="Generating PHP and HTML code list" +echo -n "[....] $STAGECMD" +if [ "$(find "$GROOTDIR" -type f -exec file '{}' \;|grep -E 'PHP script|HTML document'|sed "s|:.*||g;s|$GROOTDIR/||g"|wc -l)" -gt 0 ];then + find "$GROOTDIR" -type f -exec file '{}' \;|grep -E 'PHP script|HTML document'|sed "s|:.*||g;s|$GROOTDIR/||g" > "$TIDYLIST" 2>/dev/null +else + true>"$TIDYLIST" +fi +CRETVAL="$?" +case "$CRETVAL" in + 0) initmimick 0 "$STAGECMD" "...$(wc -l "$TIDYLIST"|awk '{print $1}') found";; + *) initmimick 1 "$STAGECMD" "...$(wc -l "$TIDYLIST"|awk '{print $1}') found";((++RETVAL));; +esac +STAGECMD="Generating Makefile code list" +echo -n "[....] $STAGECMD" +if [ "$(find "$GROOTDIR" -type f -exec file '{}' \;|grep makefile\ script|sed "s|:.*||g;s|$GROOTDIR/||g"|wc -l)" -gt 0 ];then + find "$GROOTDIR" -type f -exec file '{}' \;|grep makefile\ script|sed "s|:.*||g;s|$GROOTDIR/||g" > "$MAKELIST" +else + true>"$MAKELIST" +fi +CRETVAL="$?" +case "$CRETVAL" in + 0) initmimick 0 "$STAGECMD" "...$(wc -l "$MAKELIST"|awk '{print $1}') found";; + *) initmimick 1 "$STAGECMD" "...$(wc -l "$MAKELIST"|awk '{print $1}') found";((++RETVAL));; +esac +exit $RETVAL diff --git a/aux/git-checkers/.readme.md-head b/aux/git-checkers/.readme.md-head new file mode 100644 index 0000000..6435b70 --- /dev/null +++ b/aux/git-checkers/.readme.md-head @@ -0,0 +1,22 @@ +META LAYER +========== + +Meta layer here means: this is a git folder about its git repository. Here I'll +explicitly push the code with which I administer my git folders. + +Τα [**μεταδεδομένα**] (https://el.wikipedia.org/wiki/%CE%9C%CE%B5%CF%84%CE%B1%CE%B4%CE%B5%CE%B4%CE%BF%CE%BC%CE%AD%CE%BD%CE%B1) (μετάφραση του όρου metadata, ο οποίος σχηματίζεται από την ελληνική λέξη μετά και τη λατινική λέξη data "δεδομένα") είναι δεδομένα τα οποία περιγράφουν άλλα δεδομένα. + +Content +------- + +* ***Makefile*** for the folder itself building up a readme, prose goes in +.readme-head and **README.md** will then be **generated with a file list with +http links**. +Currently only works with my aniline repository, abstraction will follow. +* ***filelistgen*** which generates "bashlist" and "kornlist", lists of shell scripts which will then be parsed through gitlab CI runner scripts to ensure validity (not in terms of commands but in case of abstract shell code) +* ***logrotchecker*** and ***sudoerschecker*** which will be used to parse logrotate and sudoers files in a gitlab CI runner to ensure their basical validity +* ***.gitlab-ci.yml*** - Gitlab YAML to trigger all CI runner checks, including all of the above plus a Makefile checker for the root directory's Makefile + +Files +----- + diff --git a/aux/git-checkers/.readmegen-debian b/aux/git-checkers/.readmegen-debian new file mode 100755 index 0000000..e44d915 --- /dev/null +++ b/aux/git-checkers/.readmegen-debian @@ -0,0 +1,13 @@ +#!/bin/bash + +. /lib/lsb/init-functions +log_begin_msg "Generating Readme.md" +cat .readme.md-head>README.md +[ "$?" -ne 0 ]&&log_end_msg 1&&exit 1 +# @echo '```'>>README.md +tree -f "$(pwd)" >> README.md +[ "$?" -ne 0 ]&&log_end_msg 1&&exit 1 +./urlinjector README.md +[ "$?" -ne 0 ]&&log_end_msg 1&&exit 1 +# @echo '```'>>README.md +log_end_msg 0&&exit 0 diff --git a/aux/git-checkers/.readmegen-suse b/aux/git-checkers/.readmegen-suse new file mode 100755 index 0000000..06af767 --- /dev/null +++ b/aux/git-checkers/.readmegen-suse @@ -0,0 +1,14 @@ +#!/bin/bash + +. /lib/lsb/init-functions +rc_reset +echo -n "Generating Readme.md" +cat .readme.md-head>README.md +[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1 +# @echo '```'>>README.md +tree -f "$(pwd)" >> README.md +[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1 +./urlinjector README.md +[ "$?" -ne 0 ]&&(false;rc_status -v)&&exit 1 +# @echo '```'>>README.md +rc_status -v&&exit 0 diff --git a/aux/git-checkers/Makefile.readme b/aux/git-checkers/Makefile.readme new file mode 100644 index 0000000..094b651 --- /dev/null +++ b/aux/git-checkers/Makefile.readme @@ -0,0 +1,10 @@ +VERSION = 3.81 + +all: tree + +tree: tree-exists + @./readmegen +readme: tree + +tree-exists: + @command -v tree >/dev/null 2>&1 diff --git a/aux/git-checkers/bashlist b/aux/git-checkers/bashlist new file mode 100644 index 0000000..4632cb1 --- /dev/null +++ b/aux/git-checkers/bashlist @@ -0,0 +1,14 @@ +aux/git-checkers/.readmegen-suse +aux/git-checkers/sudoerschecker +aux/git-checkers/.readmegen-debian +aux/git-checkers/logrotchecker +aux/git-checkers/.filelistgen-nonsysv +aux/git-checkers/readmegen +aux/git-checkers/systemdchecker +localfs/usr/local/bin/virtmc +documentation/aux/block-inventory +documentation/aux/kvm-inventory +documentation/aux/ctrl-c +documentation/aux/git-inventory +documentation/aux/dnf-history +documentation/.update diff --git a/aux/git-checkers/ecmalist b/aux/git-checkers/ecmalist new file mode 100644 index 0000000..e69de29 diff --git a/aux/git-checkers/filelistgen b/aux/git-checkers/filelistgen new file mode 120000 index 0000000..acd0c7a --- /dev/null +++ b/aux/git-checkers/filelistgen @@ -0,0 +1 @@ +.filelistgen-nonsysv \ No newline at end of file diff --git a/aux/git-checkers/kornlist b/aux/git-checkers/kornlist new file mode 100644 index 0000000..e69de29 diff --git a/aux/git-checkers/logrotchecker b/aux/git-checkers/logrotchecker new file mode 100755 index 0000000..4f16efe --- /dev/null +++ b/aux/git-checkers/logrotchecker @@ -0,0 +1,16 @@ +#!/bin/bash + +# No way to push this to gitlab's CI runner YAML for now, so here's the script: +RETVAL=0 + +LOGROTS="$(find . -name "logrotate*" -type d|wc -l)" +[ "$LOGROTS" -eq 0 ]&&echo "No directory with a name starting with logrotate found."&&exit 0 + +for i in $(find . -name "logrotate*" -type d)/*;do + ERRCNT="$(/usr/sbin/logrotate -ds /tmp/logrotcheck "$i" 2>&1|grep '^error:'|grep -vcE 'unknown group|found error')" + echo "$i: $ERRCNT errors" + [ "$ERRCNT" -ne 0 ]&&((++RETVAL)) + continue +done + +exit $RETVAL diff --git a/aux/git-checkers/makelist b/aux/git-checkers/makelist new file mode 100644 index 0000000..f5a5da7 --- /dev/null +++ b/aux/git-checkers/makelist @@ -0,0 +1,3 @@ +aux/git-checkers/Makefile.readme +Makefile +documentation/Makefile diff --git a/aux/git-checkers/poshlist b/aux/git-checkers/poshlist new file mode 100644 index 0000000..425ea9f --- /dev/null +++ b/aux/git-checkers/poshlist @@ -0,0 +1,7 @@ +fakeenv/usr/bin/guestmount +fakeenv/usr/bin/guestunmount +fakeenv/bin/virsh +localfs/usr/local/sbin/brightness-up +localfs/usr/local/sbin/brightness-down +localfs/usr/local/bin/batman +.environ-prep diff --git a/aux/git-checkers/readmegen b/aux/git-checkers/readmegen new file mode 100755 index 0000000..40c2dfa --- /dev/null +++ b/aux/git-checkers/readmegen @@ -0,0 +1,11 @@ +#!/bin/bash + +[ ! -r /etc/os-release ]&&echo "/etc/os-release not readable. Wrong OS or deprecated OS?"&&exit 1 +LOCOS=$(grep ^ID= /etc/os-release |awk -F= '{print $NF}'|tr '[:upper:]' '[:lower:]') + +case $LOCOS in + debian|ubuntu) ./.readmegen-debian;; + *suse|*sles*) ./.readmegen-suse;; + redhat|fedora) echo "Red Hat / Fedora not implemented yet!";exit 1;; + *) echo "Unknown OS!";exit 1;; +esac diff --git a/aux/git-checkers/sudoerschecker b/aux/git-checkers/sudoerschecker new file mode 100755 index 0000000..1d7e7ed --- /dev/null +++ b/aux/git-checkers/sudoerschecker @@ -0,0 +1,9 @@ +#!/bin/bash + +GITROOT="$(git rev-parse --show-toplevel)"||exit 1 +SUDOERSDINV=( $(find "$GITROOT" -name sudoers.d -type d) ) +SUDOERSD=1 +[ "${#SUDOERSDINV[@]}" -eq 0 ]&&echo "No directory called sudoers.d found."&&SUDOERSD=0 + +[ "$SUDOERSD" -eq 1 ]&&for i in "${SUDOERSDINV[@]}"/*;do /usr/sbin/visudo -cf "$i";done +find "$GITROOT" -name sudoers -type f -exec /usr/sbin/visudo -cf '{}' \; diff --git a/aux/git-checkers/systemdchecker b/aux/git-checkers/systemdchecker new file mode 100755 index 0000000..85cb24e --- /dev/null +++ b/aux/git-checkers/systemdchecker @@ -0,0 +1,17 @@ +#!/bin/bash + +GITROOT="$(git rev-parse --show-toplevel)"||exit 1 + +echo -n "Locating systemd units..." +SVCFILES=( $(find "$GITROOT" -name "*.service" -exec grep -l '\[Unit\]' '{}' \;) ) +TGTFILES=( $(find "$GITROOT" -name "*.target" -exec grep -l '\[Unit\]' '{}' \;) ) +TMRFILES=( $(find "$GITROOT" -name "*.timer" -exec grep -l '\[Unit\]' '{}' \;) ) +MNTFILES=( $(find "$GITROOT" -name "*.mount" -exec grep -l '\[Unit\]' '{}' \;) ) +SYSTEMDFILES=( ${SVCFILES[@]} ${TGTFILES[@]} ${TMRFILES[@]} ${MNTFILES[@]} ) +echo " found ${#SYSTEMDFILES[@]} unit$([ "${#SYSTEMDFILES[@]}" -gt 1 ]&&echo -n "s") to check." + +export LOOPRV=0 +for i in "${SYSTEMDFILES[@]}";do + systemd-analyze verify "$i"&&echo "$i: $(tput -Txterm smul)OK$(tput -Txterm rmul)"||((++LOOPRV)) +done +exit $LOOPRV diff --git a/aux/git-checkers/tidylist b/aux/git-checkers/tidylist new file mode 100644 index 0000000..05b9997 --- /dev/null +++ b/aux/git-checkers/tidylist @@ -0,0 +1,3 @@ +localfs/var/www/vhosts/jango104.domain.de/index.html +documentation/kvm-details/domain-arch.xml +documentation/kvm-details/domain-jango105.xml diff --git a/documentation/.gitignore b/documentation/.gitignore new file mode 100644 index 0000000..78cce4a --- /dev/null +++ b/documentation/.gitignore @@ -0,0 +1 @@ +packages-raw diff --git a/documentation/.update b/documentation/.update new file mode 100755 index 0000000..5e7105c --- /dev/null +++ b/documentation/.update @@ -0,0 +1,39 @@ +#!/bin/bash + +RETVAL=0;WRONGOPT=0 +declare -x INVLIST + +function invhelp { + echo -e "USAGE:\t$(tput bold)$(basename "$0")$(tput sgr0) [OPTIONS...]" + echo + echo "Update the documentation automatically." + echo + ( + echo "-a;all of the below options" + echo "-b;Update the block devices list" + echo "-d;Update the dnf history rawfile (in case of git repo:" + echo -e "\t; output is in .gitignore and needs to be parsed)" + echo "-h;This help" + echo "-g;Update the git inventory" + echo "-k;Update the KVM inventory" + )|column -ts\; +} +[ -z "$1" ]&&invhelp&&exit 0 +while getopts :abdgkh SHOPT;do + case $SHOPT in + a) INVLIST="block-inventory dnf-history kvm-inventory git-inventory";break 2;; + b) INVLIST+=" block-inventory";; + d) INVLIST+=" dnf-history";; + k) INVLIST+=" kvm-inventory";; + g) INVLIST+=" git-inventory";; + h) invhelp&&exit 0||exit 1;; + *) echo "Not supported option: -""${OPTARG}" >&2;RETVAL=$(($RETVAL+1)) >&2;WRONGOPT=1;; + esac +done +RETVAL=$(($RETVAL+$?)) +shift $(( $OPTIND - 1 )) +[ "$WRONGOPT" -eq 1 ]&&exit 1 +for i in $INVLIST;do + aux/"$i" +done +exit $RETVAL diff --git a/documentation/Makefile b/documentation/Makefile new file mode 100644 index 0000000..205fb74 --- /dev/null +++ b/documentation/Makefile @@ -0,0 +1,31 @@ +VERSION = 3.81 + +all: block-inventory dnf-history kvm-inventory git-inventory + +block-inventory: + @./aux/block-inventory + +dnf-history: + @echo -n 'Fetching user-installed packages...' + @sudo dnf history userinstalled > ./packages&&echo 'done.' + +kvm-inventory: + @./aux/kvm-inventory + +git-inventory: + @./aux/git-inventory + +PHONY: help + +help: + @echo "Update the documentation automatically." + @echo + @echo "Following make targets are understood (try tab-completion)" + @echo + @echo -e "block-inventory\tUpdate the block devices list" + @echo -e "dnf-history\tUpdate the dnf history rawfile (in case of git repo:" + @echo -e "\t\toutput is in .gitignore and needs to be parsed)" + @echo -e "git-inventory\tUpdate the git inventory" + @echo -e "help\t\tThis help" + @echo -e "kvm-inventory\tUpdate the KVM inventory" + @echo -e "all\t\tThe traditional one: all of the worker targets above" diff --git a/documentation/README.md b/documentation/README.md new file mode 100644 index 0000000..dd0b6f7 --- /dev/null +++ b/documentation/README.md @@ -0,0 +1,5 @@ +# Documentation + +Contains all stuff we do not pull directly as is from files on the client but +rather are gathered through investigative commands or are just simple +explanations. diff --git a/documentation/aux/block-inventory b/documentation/aux/block-inventory new file mode 100755 index 0000000..c8dc3f3 --- /dev/null +++ b/documentation/aux/block-inventory @@ -0,0 +1,10 @@ +#!/bin/bash + +SCDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source "$SCDIR/ctrl-c"||exit 1 +ODETFIL="$SCDIR/../blockdevices" + +echo -n "Fetching blocks..." +true>"$ODETFIL";[ "$?" -ne 0 ]&&echo "failed."&&exit 1||echo -n "." +echo -n ".";lsblk -im -o+FSTYPE,MIN-IO,MOUNTPOINT 2>/dev/null|sed 's/luks-[^\ ]\+/luks- /g' >"$ODETFIL" +[ "$?" -ne 0 ]&&echo ".failed."||echo ".done." diff --git a/documentation/aux/ctrl-c b/documentation/aux/ctrl-c new file mode 100755 index 0000000..b7530b2 --- /dev/null +++ b/documentation/aux/ctrl-c @@ -0,0 +1,7 @@ +#!/bin/bash + +function ctrl_c() { + echo " CUNT PUNT!" >&2 + exit 187 +} +trap ctrl_c INT diff --git a/documentation/aux/dnf-history b/documentation/aux/dnf-history new file mode 100755 index 0000000..716d22c --- /dev/null +++ b/documentation/aux/dnf-history @@ -0,0 +1,21 @@ +#!/bin/bash + +# we need to use sudo, better fetch the session now so it doesn't feck up our +# nice output later on, tee hee. +sudo echo -n "" +[ "$?" -ne 0 ]&&echo "Not allowed to proceed :("&&exit 1 +SCDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +#SCDIR="$HOME" +source "$SCDIR/ctrl-c"||exit 1 +ODETFIL="$SCDIR/../packages-raw" + +echo -n "Fetching dnf history" +true>"$ODETFIL";[ "$?" -ne 0 ]&&echo "failed."&&exit 1||echo -n "." +LCNT=0 +for i in $(sudo dnf history|sed 's/^[\ \t]\+\([0-9]\+\).*/\1/g'|grep -vP -- '^--|^ID');do + ((++LCNT)) + [ "$(($LCNT % 3))" -eq 0 ]&&echo -n "."||true + sudo dnf history info "$i" 2>>"$ODETFIL"|grep -i Command\ line>>"$ODETFIL" + #[ "$?" -ne 0 ]&&break +done;echo "done." +#[ "$?" -ne 0 ]&&echo "failed."||echo "done." diff --git a/documentation/aux/git-inventory b/documentation/aux/git-inventory new file mode 100755 index 0000000..182812a --- /dev/null +++ b/documentation/aux/git-inventory @@ -0,0 +1,13 @@ +#!/bin/bash + +SCDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source "$SCDIR/ctrl-c"||exit 1 +GITSYSFILE="$SCDIR/../git-system-repos" + +echo -n "Fetching system git stuff" +( + true>"$GITSYSFILE";[ "$?" -ne 0 ]&&echo "...failed."&&exit 1||true + for i in $(find /usr/src -type d -name ".git"|sed 's|/[^/]\+$||g');do echo -n ".";echo "$i" >> "$GITSYSFILE";cd "$i";CDRETVAL=$?;git remote show origin 2>/dev/null|grep Fetch\ URL >> "$GITSYSFILE";[ "$CDRETVAL" -eq 0 ]&&cd - >/dev/null 2>&1;done +) + +[ "$?" -ne 0 ]&&echo "failed."||echo "done." diff --git a/documentation/aux/kvm-inventory b/documentation/aux/kvm-inventory new file mode 100755 index 0000000..c739514 --- /dev/null +++ b/documentation/aux/kvm-inventory @@ -0,0 +1,18 @@ +#!/bin/bash + +SCDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source "$SCDIR/ctrl-c"||exit 1 +ODETFIL="$SCDIR/../kvm_overview" +ODETDIR="$SCDIR/../kvm-details" + +echo -n "Fetching KVM config" +( + echo -n ".";>"$ODETFIL";[ "$?" -ne 0 ]&&echo "failed."&&exit 1||true + echo -n ".";virsh list --all --title>>"$ODETFIL" 2>/dev/null;[ "$?" -ne 0 ]&&exit 1||true + echo -n ".";echo "" >> "$ODETFIL";virsh net-list --all>>"$ODETFIL" 2>/dev/null;[ "$?" -ne 0 ]&&exit 1||true + echo -n ".";echo "" >> "$ODETFIL";virsh pool-list --all --details>>"$ODETFIL" 2>/dev/null;[ "$?" -ne 0 ]&&exit 1||true + echo -n ".";for i in $(virsh list --all --name);do virsh dumpxml "$i">"$ODETDIR"/domain-"$i".xml||break;done;[ "$?" -ne 0 ]&&exit 1||true + echo -n ".";for i in $(virsh net-list --all --name);do virsh net-dumpxml "$i">"$ODETDIR"/net-"$i".xml||break;done;[ "$?" -ne 0 ]&&exit 1||true + echo -n ".";for i in $(virsh pool-list --all --name);do virsh pool-dumpxml "$i">"$ODETDIR"/pool-"$i".xml||break;done;[ "$?" -ne 0 ]&&exit 1||true +) +[ "$?" -ne 0 ]&&echo "failed."||echo "done." diff --git a/documentation/blockdevices b/documentation/blockdevices new file mode 100644 index 0000000..96278b6 --- /dev/null +++ b/documentation/blockdevices @@ -0,0 +1,41 @@ +NAME SIZE OWNER GROUP MODE FSTYPE MIN-IO MOUNTPOINT +sda 477G root disk brw-rw---- 4096 +|-sda1 360M root disk brw-rw---- vfat 4096 /boot/efi +|-sda2 128M root disk brw-rw---- 4096 +|-sda3 4G root disk brw-rw---- ext4 4096 /boot +|-sda4 200G root disk brw-rw---- crypto_LUKS 4096 +| `-luks- 200G root disk brw-rw---- LVM2_member 4096 +| |-system-root 4G root disk brw-rw---- ext4 4096 / +| |-system-swap 8G root disk brw-rw---- swap 4096 [SWAP] +| |-system-usr 80G root disk brw-rw---- ext4 4096 /usr +| |-system-var 60G root disk brw-rw---- ext4 4096 /var +| |-system-tmp 10G root disk brw-rw---- ext4 4096 /tmp +| |-system-home 20G root disk brw-rw---- ext4 4096 /home +| `-system-varlog 4G root disk brw-rw---- ext4 4096 /var/log +|-sda5 251.2G root disk brw-rw---- crypto_LUKS 4096 +| `-libvirt 251.2G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-jango105 100G root disk brw-rw---- 4096 +| |-libvirt-debian--boot 512M root disk brw-rw---- 4096 +| |-libvirt-debian--root 8.5G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-arch--boot 512M root disk brw-rw---- 4096 +| |-libvirt-arch--sys 19G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-suse--boot 512M root disk brw-rw---- 4096 +| |-libvirt-suse--root 9G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-centoscl0--boot 512M root disk brw-rw---- 4096 +| |-libvirt-centoscl0--root 8G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-centoscl1--boot 512M root disk brw-rw---- 4096 +| |-libvirt-centoscl1--root 8G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-quorum--boot 512M root disk brw-rw---- 4096 +| |-libvirt-quorum--root 3.5G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-quorum--iscsi 128M root disk brw-rw---- LVM2_member 4096 +| |-libvirt-quorum--appdisk1 4G root disk brw-rw---- LVM2_member 4096 +| |-libvirt-centoscl2--boot 512M root disk brw-rw---- 4096 +| |-libvirt-centoscl2--root 8G root disk brw-rw---- 4096 +| |-libvirt-firewall--boot 512M root root brw-rw---- 4096 +| |-libvirt-firewall--root 5.5G root root brw-rw---- LVM2_member 4096 +| |-libvirt-apt 10G root root brw-rw---- LVM2_member 4096 +| |-libvirt-indiana--root 8G root disk brw-rw---- 4096 +| `-libvirt-indiana--pl0 10G root disk brw-rw---- 4096 +|-sda6 980M root disk brw-rw---- ntfs 4096 /elitebook/Windows RE tools +|-sda7 18.3G root disk brw-rw---- ntfs 4096 /elitebook/Recovery Image +`-sda8 2G root disk brw-rw---- vfat 4096 /elitebook/HP_TOOLS diff --git a/documentation/git-system-repos b/documentation/git-system-repos new file mode 100644 index 0000000..3faa55c --- /dev/null +++ b/documentation/git-system-repos @@ -0,0 +1,64 @@ +/usr/src/desktop/plymouth + Fetch URL: git://anongit.freedesktop.org/plymouth +/usr/src/desktop/i3/i3-gaps + Fetch URL: https://github.com/Airblader/i3.git +/usr/src/desktop/i3/display-visor + Fetch URL: https://github.com/beanaroo/display-visor.git +/usr/src/desktop/gnome-twitch/git + Fetch URL: https://github.com/vinszent/gnome-twitch +/usr/src/desktop/fonts/Hack + Fetch URL: https://github.com/source-foundry/Hack.git +/usr/src/desktop/openxenmanager + Fetch URL: https://github.com/OpenXenManager/openxenmanager +/usr/src/desktop/riot.im/riot-web/git + Fetch URL: https://github.com/vector-im/riot-web.git +/usr/src/desktop/Nagstamon + Fetch URL: https://github.com/HenriWahl/Nagstamon.git +/usr/src/desktop/openfortigui/git + Fetch URL: https://github.com/theinvisible/openfortigui +/usr/src/desktop/keepass/plugins/keepasshttp + Fetch URL: https://github.com/pfn/keepasshttp.git +/usr/src/sec/krackattacks-scripts + Fetch URL: https://github.com/vanhoefm/krackattacks-scripts +/usr/src/web/apaxy/git + Fetch URL: https://github.com/oupala/apaxy +/usr/src/kvm/kvm-guest-drivers-windows + Fetch URL: https://github.com/virtio-win/kvm-guest-drivers-windows.git +/usr/src/cli/vim/landscape.vim + Fetch URL: https://github.com/itchyny/landscape.vim.git +/usr/src/cli/vim/indentLine + Fetch URL: https://github.com/Yggdroot/indentLine.git +/usr/src/cli/vim/vim-colors-solarized + Fetch URL: https://github.com/altercation/vim-colors-solarized.git +/usr/src/cli/vim/vim-indent-guides + Fetch URL: https://github.com/nathanaelkane/vim-indent-guides.git +/usr/src/cli/vim/vim-colorschemes + Fetch URL: https://github.com/flazz/vim-colorschemes.git +/usr/src/cli/telnet-password-honeypot + Fetch URL: https://git.zx2c4.com/telnet-password-honeypot +/usr/src/cli/gtop + Fetch URL: https://github.com/aksakalli/gtop.git +/usr/src/cli/taskwarrior/tasknc + Fetch URL: https://github.com/lharding/tasknc.git +/usr/src/cli/taskwarrior/functional/taskserver + Fetch URL: https://github.com/GothenburgBitFactory/taskserver.git +/usr/src/cli/taskwarrior/taskwarrior-time-tracking-hook + Fetch URL: https://github.com/kostajh/taskwarrior-time-tracking-hook.git +/usr/src/cli/taskwarrior/not_functional/task2dot + Fetch URL: https://github.com/garykl/task2dot.git +/usr/src/cli/weechat/matrix-torhve/git + Fetch URL: https://github.com/torhve/weechat-matrix-protocol-script.git +/usr/src/cli/pyphoon/git + Fetch URL: https://github.com/chubin/pyphoon.git +/usr/src/cli/cheat.sh + Fetch URL: https://github.com/chubin/cheat.sh.git +/usr/src/cli/wttr.in/git + Fetch URL: https://github.com/chubin/wttr.in.git +/usr/src/cli/password-store/pass-import + Fetch URL: https://github.com/roddhjav/pass-import.git +/usr/src/cli/password-store/git + Fetch URL: https://git.zx2c4.com/password-store/ +/usr/src/cli/tldr + Fetch URL: https://github.com/tldr-pages/tldr.git +/usr/src/drivers/displaylink-rpm/git + Fetch URL: https://github.com/displaylink-rpm/displaylink-rpm.git diff --git a/documentation/kvm-details/domain-arch.xml b/documentation/kvm-details/domain-arch.xml new file mode 100644 index 0000000..f38103e --- /dev/null +++ b/documentation/kvm-details/domain-arch.xml @@ -0,0 +1,126 @@ + + arch + 95ffbb34-b4b9-4287-9de7-d84dbb9ca650 + triskel05 + Arch + 1572864 + 1572864 + 2 + + hvm + /usr/share/edk2/ovmf/OVMF_CODE.fd + /var/lib/libvirt/qemu/nvram/arch_VARS.fd + + + + + + + + + Broadwell-noTSX + + + + + + + destroy + restart + destroy + + + + + + /usr/bin/qemu-kvm + + + + + +
+ + + + + + +
+ + + + + + +
+ + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + +
+ + + + + + +
+ + + + + + + + + + + +
+ + +
+ + + + + + + + +
+ +