From 7b2d5f34a0b64b1f8f21e3784651d8ba040110c0 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 16 Sep 2021 12:04:10 +0200 Subject: [PATCH] committing changes in /etc made by "apt dist-upgrade -y" Package changes: -base-files 10.3+deb10u10 amd64 +base-files 11.1 amd64 -bash 5.0-4 amd64 +bash 5.1-2+b3 amd64 -binutils 2.31.1-16 amd64 -binutils-common 2.31.1-16 amd64 -binutils-x86-64-linux-gnu 2.31.1-16 amd64 -bsdmainutils 11.1.2+b1 amd64 -busybox 1:1.30.1-4 amd64 -console-setup 1.193~deb10u1 all -console-setup-linux 1.193~deb10u1 all -cpp 4:8.3.0-1 amd64 -dbus 1.12.20-0+deb10u1 amd64 -debianutils 4.8.6.1 amd64 -dh-python 3.20190308 all +debianutils 4.11.2 amd64 -dirmngr 2.2.12-1+deb10u1 amd64 -dpkg 1.19.7 amd64 +dpkg 1.20.9 amd64 -e2fsprogs 1.44.5-1+deb10u3 amd64 -fb-tools 1.7.6~deb10 all -fdisk 2.33.1-0.1 amd64 +fdisk 2.36.1-8 amd64 -g++ 4:8.3.0-1 amd64 -g++-8-multilib 8.3.0-6 amd64 -g++-multilib 4:8.3.0-1 amd64 -gcc 4:8.3.0-1 amd64 +gcc-10-base 10.2.1-6 amd64 -gcc-8 8.3.0-6 amd64 -gcc-8-multilib 8.3.0-6 amd64 -gcc-multilib 4:8.3.0-1 amd64 -git 1:2.20.1-2+deb10u3 amd64 -git-email 1:2.20.1-2+deb10u3 all -git-man 1:2.20.1-2+deb10u3 all -gitweb 1:2.20.1-2+deb10u3 all -gnupg 2.2.12-1+deb10u1 all -gnupg-l10n 2.2.12-1+deb10u1 all -gnupg-utils 2.2.12-1+deb10u1 amd64 -gpg 2.2.12-1+deb10u1 amd64 -gpg-agent 2.2.12-1+deb10u1 amd64 -gpg-wks-client 2.2.12-1+deb10u1 amd64 -gpg-wks-server 2.2.12-1+deb10u1 amd64 -gpgconf 2.2.12-1+deb10u1 amd64 -gpgsm 2.2.12-1+deb10u1 amd64 -gpgv 2.2.12-1+deb10u1 amd64 +gpgv 2.2.27-2 amd64 -ifupdown 0.8.35 amd64 -init-system-helpers 1.56+nmu1 all -initramfs-tools 0.133+deb10u1 all -initramfs-tools-core 0.133+deb10u1 all -initscripts 2.93-8 amd64 -insserv 1.18.0-2 amd64 -install-info 6.5.0.dfsg.1-4+b1 amd64 +init-system-helpers 1.60 all -ipython 5.8.0-1 all -keyboard-configuration 1.193~deb10u1 all -klibc-utils 2.0.6-1+deb10u1 amd64 -lib32atomic1 8.3.0-6 amd64 -lib32gcc-8-dev 8.3.0-6 amd64 -lib32gcc1 1:8.3.0-6 amd64 -lib32gomp1 8.3.0-6 amd64 -lib32itm1 8.3.0-6 amd64 -lib32quadmath0 8.3.0-6 amd64 -lib32stdc++-8-dev 8.3.0-6 amd64 -lib32stdc++6 8.3.0-6 amd64 -lib32ubsan1 8.3.0-6 amd64 +libapt-pkg6.0 2.2.4 amd64 -libatomic1 8.3.0-6 amd64 -libbinutils 2.31.1-16 amd64 -libblkid1 2.33.1-0.1 amd64 +libblkid1 2.36.1-8 amd64 -libc-bin 2.28-10 amd64 -libc-dev-bin 2.28-10 amd64 -libc-l10n 2.28-10 all -libc6 2.28-10 amd64 -libc6-dev 2.28-10 amd64 -libc6-dev-i386 2.28-10 amd64 -libc6-dev-x32 2.28-10 amd64 -libc6-i386 2.28-10 amd64 -libc6-x32 2.28-10 amd64 +libc6 2.31-13 amd64 -libcc1-0 8.3.0-6 amd64 -libcgi-fast-perl 1:2.13-1 all -libcgi-pm-perl 4.40-1 all -libcryptsetup12 2:2.1.0-5+deb10u2 amd64 +libcrypt1 1:4.4.18-4 amd64 -libext2fs2 1.44.5-1+deb10u3 amd64 +libext2fs2 1.46.2-2 amd64 -libfdisk1 2.33.1-0.1 amd64 +libfdisk1 2.36.1-8 amd64 +libffi7 3.3-6 amd64 -libgcc-8-dev 8.3.0-6 amd64 +libgcc-s1 10.2.1-6 amd64 -libgnutls-dane0 3.6.7-4+deb10u7 amd64 -libgnutls-openssl27 3.6.7-4+deb10u7 amd64 -libgnutls30 3.6.7-4+deb10u7 amd64 -libgomp1 8.3.0-6 amd64 -libgpg-error0 1.35-1 amd64 +libgnutls30 3.7.1-5 amd64 +libgpg-error0 1.38-2 amd64 +libhogweed6 3.7.3-1 amd64 -libitm1 8.3.0-6 amd64 -libklibc 2.0.6-1+deb10u1 amd64 -libksba8 1.3.5-2 amd64 -liblsan0 8.3.0-6 amd64 -libmount1 2.33.1-0.1 amd64 +libmount1 2.36.1-8 amd64 +libnettle8 3.7.3-1 amd64 -libp11-kit0 0.23.15-2+deb10u1 amd64 +libp11-kit0 0.23.22-1 amd64 -libpam-systemd 241-7~deb10u8 amd64 -libpcre2-8-0 10.32-5 amd64 +libpcre2-8-0 10.36-2 amd64 -libpython-stdlib 2.7.16-1 amd64 -libpython2-stdlib 2.7.16-1 amd64 -libpython2.7 2.7.16-2+deb10u1 amd64 -libpython2.7-minimal 2.7.16-2+deb10u1 amd64 -libpython2.7-stdlib 2.7.16-2+deb10u1 amd64 -libpython3-stdlib 3.7.3-1 amd64 +libpython2.7-minimal 2.7.18-8 amd64 -libquadmath0 8.3.0-6 amd64 +libpython3.9-minimal 3.9.2-1 amd64 -libseccomp2 2.3.3-4 amd64 -libselinux1 2.8-1+b1 amd64 -libselinux1-dev 2.8-1+b1 amd64 +libseccomp2 2.5.1-1 amd64 +libselinux1 3.1-3 amd64 -libsepol1 2.8-1 amd64 -libsepol1-dev 2.8-1 amd64 +libsepol1 3.1-1 amd64 -libsmartcols1 2.33.1-0.1 amd64 +libsmartcols1 2.36.1-8 amd64 -libsodium23 1.0.17-1 amd64 -libstdc++6 8.3.0-6 amd64 +libstdc++6 10.2.1-6 amd64 -libsystemd0 241-7~deb10u8 amd64 -libtasn1-6 4.13-3 amd64 +libsystemd0 247.3-6 amd64 +libtasn1-6 4.16.0-2 amd64 -libtsan0 8.3.0-6 amd64 -libubsan1 8.3.0-6 amd64 -libudev1 241-7~deb10u8 amd64 +libudev1 247.3-6 amd64 -libx32asan5 8.3.0-6 amd64 -libx32atomic1 8.3.0-6 amd64 -libx32gcc-8-dev 8.3.0-6 amd64 -libx32gcc1 1:8.3.0-6 amd64 -libx32gomp1 8.3.0-6 amd64 -libx32itm1 8.3.0-6 amd64 -libx32quadmath0 8.3.0-6 amd64 -libx32stdc++-8-dev 8.3.0-6 amd64 -libx32stdc++6 8.3.0-6 amd64 -libx32ubsan1 8.3.0-6 amd64 +libxxhash0 0.8.0-2 amd64 -libzstd1 1.3.8+dfsg-3+deb10u2 amd64 +libzstd1 1.4.8+dfsg-2.1 amd64 -locales 2.28-10 all -login 1:4.5-1.1 amd64 +login 1:4.8.1-1 amd64 -lsb-base 10.2019051400 all +lsb-base 11.1.0 all -mailutils 1:3.5-4 amd64 -man-db 2.8.5-2 amd64 -manpages 4.16-2 all -manpages-dev 4.16-2 all -mime-support 3.62 all -openssh-client 1:7.9p1-10+deb10u2 amd64 -openssh-server 1:7.9p1-10+deb10u2 amd64 -openssh-sftp-server 1:7.9p1-10+deb10u2 amd64 -python-backports-shutil-get-terminal-size 1.0.0-5 all -python-chardet 3.0.4-3 all -python-ipython 5.8.0-1 all -python-minimal 2.7.16-1 amd64 -python-pathlib2 2.3.3-1 all -python-scandir 1.9.0-2 amd64 -python-traitlets 4.3.2-1 all -python2 2.7.16-1 amd64 -python2-minimal 2.7.16-1 amd64 -python2.7 2.7.16-2+deb10u1 amd64 -python2.7-minimal 2.7.16-2+deb10u1 amd64 -python3 3.7.3-1 amd64 +python2-minimal 2.7.18-3 amd64 +python2.7-minimal 2.7.18-8 amd64 -python3-all 3.7.3-1 amd64 -python3-apt 1.8.4.3 amd64 -python3-cffi-backend 1.12.2-1 amd64 -python3-distutils 3.7.3-1 all -python3-git 2.1.11-1 all -python3-lib2to3 3.7.3-1 all -python3-markupsafe 1.1.0-1 amd64 -python3-minimal 3.7.3-1 amd64 +python3-minimal 3.9.2-3 amd64 -python3-msgpack 0.5.6-1+b1 amd64 -python3-nacl 1.3.0-2 amd64 -python3-psutil 5.5.1-1 amd64 -python3-pycryptodome 3.6.1-2+b1 amd64 -python3-systemd 234-2+b1 amd64 -python3-yaml 3.13-2 amd64 -python3-zmq 17.1.2-2+deb10u1 amd64 -python3-zope.hookable 4.0.4-4+b4 amd64 -python3-zope.interface 4.3.2-1+b2 amd64 -python3.7 3.7.3-2+deb10u3 amd64 +python3.9-minimal 3.9.2-1 amd64 -resolvconf 1.79 all -startpar 0.61-1 amd64 -systemd 241-7~deb10u8 amd64 -sysv-rc 2.93-8 all -sysvinit-utils 2.93-8 amd64 +sysvinit-utils 2.96-7 amd64 -tig 2.4.1-1 amd64 -udev 241-7~deb10u8 amd64 -util-linux 2.33.1-0.1 amd64 +util-linux 2.36.1-8 amd64 --- .etckeeper | 31 +- cron.daily/bsdmainutils | 16 - cron.daily/dpkg | 56 +-- debian_version | 2 +- default/bsdmainutils | 4 - default/hwclock | 21 +- dhcp/dhclient-exit-hooks.d/timesyncd | 42 -- dpkg/origins/debian | 2 +- init.d/README | 61 +-- init.d/hwclock.sh | 123 ++---- init/resolvconf.conf | 19 - issue | 2 +- issue.net | 2 +- pam.d/login | 36 +- pam.d/su | 4 +- pam.d/systemd-user | 12 - profile | 4 +- python3.9/sitecustomize.py | 7 + rc.local | 14 - rc0.d/README | 12 +- rc1.d/README | 12 +- rc2.d/README | 16 +- rc3.d/README | 16 +- rc4.d/README | 16 +- rc5.d/README | 16 +- rc6.d/README | 12 +- rcS.d/README | 13 +- rcS.d/{S05hwclock.sh => S01hwclock.sh} | 0 rcS.d/{S06checkroot.sh => S05checkroot.sh} | 0 ...bootclean.sh => S06checkroot-bootclean.sh} | 0 rcS.d/{S08kmod => S06kmod} | 0 rcS.d/{S05lvm2 => S06lvm2} | 0 rcS.d/{S09mountall.sh => S08mountall.sh} | 0 ...-bootclean.sh => S09mountall-bootclean.sh} | 0 rcS.d/{S11brightness => S10brightness} | 0 rcS.d/{S11procps => S10procps} | 0 rcS.d/{S11resolvconf => S10resolvconf} | 0 rcS.d/{S11urandom => S10urandom} | 0 rcS.d/{S12networking => S11networking} | 0 rcS.d/{S13mountnfs.sh => S12mountnfs.sh} | 0 ...-bootclean.sh => S13mountnfs-bootclean.sh} | 0 rcS.d/{S15bootmisc.sh => S14bootmisc.sh} | 0 ...ter-persistent => S14netfilter-persistent} | 0 securetty | 412 ------------------ sv/ssh/log/supervise | 1 + sv/ssh/supervise | 1 + .../systemd-timesyncd.service | 1 - systemd/timesyncd.conf | 19 - 48 files changed, 113 insertions(+), 892 deletions(-) delete mode 100755 cron.daily/bsdmainutils delete mode 100644 default/bsdmainutils delete mode 100644 dhcp/dhclient-exit-hooks.d/timesyncd mode change 100644 => 120000 init.d/README delete mode 100644 init/resolvconf.conf delete mode 100644 pam.d/systemd-user create mode 100644 python3.9/sitecustomize.py delete mode 100755 rc.local mode change 100644 => 120000 rc0.d/README mode change 100644 => 120000 rc1.d/README mode change 100644 => 120000 rc2.d/README mode change 100644 => 120000 rc3.d/README mode change 100644 => 120000 rc4.d/README mode change 100644 => 120000 rc5.d/README mode change 100644 => 120000 rc6.d/README mode change 100644 => 120000 rcS.d/README rename rcS.d/{S05hwclock.sh => S01hwclock.sh} (100%) rename rcS.d/{S06checkroot.sh => S05checkroot.sh} (100%) rename rcS.d/{S08checkroot-bootclean.sh => S06checkroot-bootclean.sh} (100%) rename rcS.d/{S08kmod => S06kmod} (100%) rename rcS.d/{S05lvm2 => S06lvm2} (100%) rename rcS.d/{S09mountall.sh => S08mountall.sh} (100%) rename rcS.d/{S10mountall-bootclean.sh => S09mountall-bootclean.sh} (100%) rename rcS.d/{S11brightness => S10brightness} (100%) rename rcS.d/{S11procps => S10procps} (100%) rename rcS.d/{S11resolvconf => S10resolvconf} (100%) rename rcS.d/{S11urandom => S10urandom} (100%) rename rcS.d/{S12networking => S11networking} (100%) rename rcS.d/{S13mountnfs.sh => S12mountnfs.sh} (100%) rename rcS.d/{S14mountnfs-bootclean.sh => S13mountnfs-bootclean.sh} (100%) rename rcS.d/{S15bootmisc.sh => S14bootmisc.sh} (100%) rename rcS.d/{S15netfilter-persistent => S14netfilter-persistent} (100%) delete mode 100644 securetty create mode 120000 sv/ssh/log/supervise create mode 120000 sv/ssh/supervise delete mode 120000 systemd/system/sysinit.target.wants/systemd-timesyncd.service delete mode 100644 systemd/timesyncd.conf diff --git a/.etckeeper b/.etckeeper index 1856a10..daa7939 100755 --- a/.etckeeper +++ b/.etckeeper @@ -35,6 +35,7 @@ mkdir -p './opt' mkdir -p './perl/CPAN' mkdir -p './postfix/dynamicmaps.cf.d' mkdir -p './postfix/sasl' +mkdir -p './runit/runsvdir/default' mkdir -p './salt/pki/master/minions_autosign' mkdir -p './salt/pki/master/minions_denied' mkdir -p './salt/pki/master/minions_pre' @@ -43,6 +44,8 @@ mkdir -p './salt/proxy.d' mkdir -p './security/limits.d' mkdir -p './security/namespace.d' mkdir -p './skel/bin' +mkdir -p './ssh/ssh_config.d' +mkdir -p './ssh/sshd_config.d' mkdir -p './systemd/user' mkdir -p './tmpfiles.d' mkdir -p './udev/hwdb.d' @@ -412,7 +415,6 @@ maybe chmod 0755 'cron.daily/00logwatch' maybe chmod 0755 'cron.daily/apache2' maybe chmod 0755 'cron.daily/apt-compat' maybe chmod 0755 'cron.daily/aptitude' -maybe chmod 0755 'cron.daily/bsdmainutils' maybe chmod 0755 'cron.daily/dpkg' maybe chmod 0755 'cron.daily/etckeeper' maybe chmod 0755 'cron.daily/logrotate' @@ -439,7 +441,6 @@ maybe chmod 0755 'default' maybe chmod 0644 'default/acpid' maybe chmod 0644 'default/apache-htcacheclean' maybe chmod 0644 'default/bind9' -maybe chmod 0644 'default/bsdmainutils' maybe chmod 0644 'default/chrony' maybe chmod 0644 'default/console-setup' maybe chmod 0644 'default/cron' @@ -476,7 +477,6 @@ maybe chmod 0644 'dhcp/dhclient-enter-hooks.d/nodnsupdate' maybe chmod 0644 'dhcp/dhclient-enter-hooks.d/resolvconf' maybe chmod 0755 'dhcp/dhclient-exit-hooks.d' maybe chmod 0644 'dhcp/dhclient-exit-hooks.d/chrony' -maybe chmod 0644 'dhcp/dhclient-exit-hooks.d/timesyncd' maybe chmod 0644 'dhcpcd.conf' maybe chmod 0644 'dhcpcd.conf.bak' maybe chmod 0644 'dhcpcd.conf.dpkg-dist' @@ -845,7 +845,6 @@ maybe chmod 0755 'icinga2/zones.d' maybe chmod 0644 'icinga2/zones.d/README' maybe chmod 0755 'init' maybe chmod 0755 'init.d' -maybe chmod 0644 'init.d/README' maybe chmod 0755 'init.d/acpid' maybe chmod 0755 'init.d/apache-htcacheclean' maybe chmod 0755 'init.d/apache2' @@ -902,7 +901,6 @@ maybe chmod 0755 'init.d/umountfs' maybe chmod 0755 'init.d/umountnfs.sh' maybe chmod 0755 'init.d/umountroot' maybe chmod 0755 'init.d/urandom' -maybe chmod 0644 'init/resolvconf.conf' maybe chmod 0644 'init/salt-master.conf' maybe chmod 0644 'init/salt-minion.conf' maybe chmod 0755 'initramfs-tools' @@ -1462,7 +1460,6 @@ maybe chmod 0644 'pam.d/sshd' maybe chmod 0644 'pam.d/su' maybe chmod 0644 'pam.d/su-l' maybe chmod 0644 'pam.d/sudo' -maybe chmod 0644 'pam.d/systemd-user' maybe chmod 0644 'passwd' maybe chmod 0644 'passwd-' maybe chmod 0755 'perl' @@ -1567,24 +1564,17 @@ maybe chmod 0644 'python2.7/sitecustomize.py' maybe chmod 0755 'python3' maybe chmod 0755 'python3.7' maybe chmod 0644 'python3.7/sitecustomize.py' +maybe chmod 0755 'python3.9' +maybe chmod 0644 'python3.9/sitecustomize.py' maybe chmod 0644 'python3/debian_config' -maybe chmod 0755 'rc.local' maybe chmod 0755 'rc0.d' -maybe chmod 0644 'rc0.d/README' maybe chmod 0755 'rc1.d' -maybe chmod 0644 'rc1.d/README' maybe chmod 0755 'rc2.d' -maybe chmod 0644 'rc2.d/README' maybe chmod 0755 'rc3.d' -maybe chmod 0644 'rc3.d/README' maybe chmod 0755 'rc4.d' -maybe chmod 0644 'rc4.d/README' maybe chmod 0755 'rc5.d' -maybe chmod 0644 'rc5.d/README' maybe chmod 0755 'rc6.d' -maybe chmod 0644 'rc6.d/README' maybe chmod 0755 'rcS.d' -maybe chmod 0644 'rcS.d/README' maybe chmod 0644 'resolv.conf' maybe chmod 0644 'resolv.conf.bak' maybe chmod 0755 'resolvconf' @@ -1605,6 +1595,9 @@ maybe chmod 0755 'rsyslog.d' maybe chmod 0644 'rsyslog.d/60-default.conf' maybe chmod 0644 'rsyslog.d/70-pb.conf' maybe chmod 0644 'rsyslog.d/postfix.conf' +maybe chmod 0755 'runit' +maybe chmod 0755 'runit/runsvdir' +maybe chmod 0755 'runit/runsvdir/default' maybe chmod 0644 's-nail.rc' maybe chmod 0755 'salt' maybe chmod 0644 'salt/master' @@ -1641,7 +1634,6 @@ maybe chmod 0644 'salt/pki/minion/minion_master.pub' maybe chmod 0644 'salt/proxy' maybe chmod 0755 'salt/proxy.d' maybe chmod 0644 'salt/roster' -maybe chmod 0644 'securetty' maybe chmod 0755 'security' maybe chmod 0644 'security/access.conf' maybe chmod 0644 'security/group.conf' @@ -1669,6 +1661,7 @@ maybe chmod 0755 'skel/bin' maybe chmod 0755 'ssh' maybe chmod 0644 'ssh/moduli' maybe chmod 0644 'ssh/ssh_config' +maybe chmod 0755 'ssh/ssh_config.d' maybe chmod 0644 'ssh/ssh_config.dpkg-dist' maybe chmod 0600 'ssh/ssh_host_dsa_key' maybe chmod 0644 'ssh/ssh_host_dsa_key.pub' @@ -1679,6 +1672,7 @@ maybe chmod 0644 'ssh/ssh_host_ed25519_key.pub' maybe chmod 0600 'ssh/ssh_host_rsa_key' maybe chmod 0644 'ssh/ssh_host_rsa_key.pub' maybe chmod 0644 'ssh/sshd_config' +maybe chmod 0755 'ssh/sshd_config.d' maybe chmod 0755 'ssl' maybe chmod 0755 'ssl/certs' maybe chmod 0644 'ssl/certs/ca-certificates.crt' @@ -1714,6 +1708,10 @@ maybe chmod 0644 'subversion/servers' maybe chmod 0440 'sudoers' maybe chmod 0755 'sudoers.d' maybe chmod 0440 'sudoers.d/README' +maybe chmod 0755 'sv' +maybe chmod 0755 'sv/ssh' +maybe chmod 0755 'sv/ssh/.meta' +maybe chmod 0755 'sv/ssh/log' maybe chmod 0644 'sysctl.conf' maybe chmod 0755 'sysctl.d' maybe chmod 0644 'sysctl.d/README.sysctl' @@ -1742,7 +1740,6 @@ maybe chmod 0755 'systemd/system/paths.target.wants' maybe chmod 0755 'systemd/system/sockets.target.wants' maybe chmod 0755 'systemd/system/sysinit.target.wants' maybe chmod 0755 'systemd/system/timers.target.wants' -maybe chmod 0644 'systemd/timesyncd.conf' maybe chmod 0755 'systemd/user' maybe chmod 0644 'systemd/user.conf' maybe chmod 0755 'terminfo' diff --git a/cron.daily/bsdmainutils b/cron.daily/bsdmainutils deleted file mode 100755 index e65cbd3..0000000 --- a/cron.daily/bsdmainutils +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# /etc/cron.daily/calendar: BSD mainutils calendar daily maintenance script -# Written by Austin Donnelly - -. /etc/default/bsdmainutils - -[ x$RUN_DAILY = xtrue ] || exit 0 - -[ -x /usr/sbin/sendmail ] || exit 0 - -if [ ! -x /usr/bin/cpp ]; then - echo "The cpp package is needed to run calendar." - exit 1 -fi - -/usr/bin/calendar -a diff --git a/cron.daily/dpkg b/cron.daily/dpkg index 62da817..11124f7 100755 --- a/cron.daily/dpkg +++ b/cron.daily/dpkg @@ -4,33 +4,39 @@ dbdir=/var/lib/dpkg # Backup the 7 last versions of dpkg databases containing user data. if cd /var/backups ; then - # We backup all relevant database files if any has changed, so that - # the rotation number always contains an internally consistent set. - dbchanged=no - dbfiles="arch status diversions statoverride" + # We backup all relevant database files if any has changed, so that + # the rotation number always contains an internally consistent set. + dbchanged=no + dbfiles="arch status diversions statoverride" + for db in $dbfiles ; do + if ! [ -s "dpkg.${db}.0" ] && ! [ -s "$dbdir/$db" ]; then + # Special case the files not existing or being empty as being equal. + continue + elif ! cmp -s "dpkg.${db}.0" "$dbdir/$db"; then + dbchanged=yes + break + fi + done + if [ "$dbchanged" = "yes" ] ; then for db in $dbfiles ; do - if ! cmp -s "dpkg.${db}.0" "$dbdir/$db"; then - dbchanged=yes - break; - fi + if [ -e "$dbdir/$db" ]; then + cp -p "$dbdir/$db" "dpkg.$db" + else + touch "dpkg.$db" + fi + savelog -c 7 "dpkg.$db" >/dev/null done - if [ "$dbchanged" = "yes" ] ; then - for db in $dbfiles ; do - [ -e "$dbdir/$db" ] || continue - cp -p "$dbdir/$db" "dpkg.$db" - savelog -c 7 "dpkg.$db" >/dev/null - done - fi + fi - # The alternatives database is independent from the dpkg database. - dbalt=alternatives + # The alternatives database is independent from the dpkg database. + dbalt=alternatives - # XXX: Ideally we'd use --warning=none instead of discarding stderr, but - # as of GNU tar 1.27.1, it does not seem to work reliably (see #749307). - if ! test -e ${dbalt}.tar.0 || - ! tar -df ${dbalt}.tar.0 -C $dbdir $dbalt >/dev/null 2>&1 ; - then - tar -cf ${dbalt}.tar -C $dbdir $dbalt >/dev/null 2>&1 - savelog -c 7 ${dbalt}.tar >/dev/null - fi + # XXX: Ideally we'd use --warning=none instead of discarding stderr, but + # as of GNU tar 1.27.1, it does not seem to work reliably (see #749307). + if ! test -e ${dbalt}.tar.0 || + ! tar -df ${dbalt}.tar.0 -C $dbdir $dbalt >/dev/null 2>&1 ; + then + tar -cf ${dbalt}.tar -C $dbdir $dbalt >/dev/null 2>&1 + savelog -c 7 ${dbalt}.tar >/dev/null + fi fi diff --git a/debian_version b/debian_version index 76a1a77..2dbc24b 100644 --- a/debian_version +++ b/debian_version @@ -1 +1 @@ -10.10 +11.0 diff --git a/default/bsdmainutils b/default/bsdmainutils deleted file mode 100644 index e4ac054..0000000 --- a/default/bsdmainutils +++ /dev/null @@ -1,4 +0,0 @@ -# Uncomment the following line if you'd like all of your users' -# ~/calendar files to be checked daily. Calendar will send them mail -# to remind them of upcoming events. See calendar(1) for more details. -#RUN_DAILY=true diff --git a/default/hwclock b/default/hwclock index dcf5451..44b0431 100644 --- a/default/hwclock +++ b/default/hwclock @@ -1,19 +1,2 @@ -# Defaults for the hwclock init script. See hwclock(5) and hwclock(8). - -# This is used to specify that the hardware clock incapable of storing -# years outside the range of 1994-1999. Set to yes if the hardware is -# broken or no if working correctly. -#BADYEAR=no - -# Set this to yes if it is possible to access the hardware clock, -# or no if it is not. -#HWCLOCKACCESS=yes - -# Set this to any options you might need to give to hwclock, such -# as machine hardware clock type for Alphas. -#HWCLOCKPARS= - -# Set this to the hardware clock device you want to use, it should -# probably match the CONFIG_RTC_HCTOSYS_DEVICE kernel config option. -#HCTOSYS_DEVICE=rtc0 - +# Settings for the hwclock init script. +# See hwclock(5) for supported settings. diff --git a/dhcp/dhclient-exit-hooks.d/timesyncd b/dhcp/dhclient-exit-hooks.d/timesyncd deleted file mode 100644 index 3cde992..0000000 --- a/dhcp/dhclient-exit-hooks.d/timesyncd +++ /dev/null @@ -1,42 +0,0 @@ -TIMESYNCD_CONF=/run/systemd/timesyncd.conf.d/01-dhclient.conf - -timesyncd_servers_setup_remove() { - if [ -e $TIMESYNCD_CONF ]; then - rm -f $TIMESYNCD_CONF - systemctl try-restart systemd-timesyncd.service || true - fi -} - -timesyncd_servers_setup_add() { - if [ ! -d /run/systemd/system ]; then - return - fi - - if [ -e $TIMESYNCD_CONF ] && [ "$new_ntp_servers" = "$old_ntp_servers" ]; then - return - fi - - if [ -z "$new_ntp_servers" ]; then - timesyncd_servers_setup_remove - return - fi - - mkdir -p $(dirname $TIMESYNCD_CONF) - cat < ${TIMESYNCD_CONF}.new -# NTP server entries received from DHCP server -[Time] -NTP=$new_ntp_servers -EOF - mv ${TIMESYNCD_CONF}.new ${TIMESYNCD_CONF} - systemctl try-restart systemd-timesyncd.service || true -} - - -case $reason in - BOUND|RENEW|REBIND|REBOOT) - timesyncd_servers_setup_add - ;; - EXPIRE|FAIL|RELEASE|STOP) - timesyncd_servers_setup_remove - ;; -esac diff --git a/dpkg/origins/debian b/dpkg/origins/debian index 91f6ed1..3b623d2 100644 --- a/dpkg/origins/debian +++ b/dpkg/origins/debian @@ -1,3 +1,3 @@ Vendor: Debian -Vendor-URL: http://www.debian.org/ +Vendor-URL: https://www.debian.org/ Bugs: debbugs://bugs.debian.org diff --git a/init.d/README b/init.d/README deleted file mode 100644 index 8477036..0000000 --- a/init.d/README +++ /dev/null @@ -1,60 +0,0 @@ - Configuration of System V init under Debian GNU/Linux - -Most Unix versions have a file here that describes how the scripts -in this directory work, and how the links in the /etc/rc?.d/ directories -influence system startup/shutdown. - -For Debian, this information is contained in the policy manual, chapter -"System run levels and init.d scripts". The Debian Policy Manual is -available at: - - http://www.debian.org/doc/debian-policy/#contents - -The Debian Policy Manual is also available in the Debian package -"debian-policy". When this package is installed, the policy manual can be -found in directory /usr/share/doc/debian-policy. If you have a browser -installed you can probably read it at - - file://localhost/usr/share/doc/debian-policy/ - -Some more detailed information can also be found in the files in the -/usr/share/doc/sysv-rc directory. - -Debian Policy dictates that /etc/init.d/*.sh scripts must work properly -when sourced. The following additional rules apply: - -* /etc/init.d/*.sh scripts must not rely for their correct functioning - on their being sourced rather than executed. That is, they must work - properly when executed too. They must include "#!/bin/sh" at the top. - This is useful when running scripts in parallel. - -* /etc/init.d/*.sh scripts must conform to the rules for sh scripts as - spelled out in the Debian policy section entitled "Scripts" (§10.4). - -Use the update-rc.d command to create symbolic links in the /etc/rc?.d -as appropriate. See that man page for more details. - -All init.d scripts are expected to have a LSB style header documenting -dependencies and default runlevel settings. The header look like this -(not all fields are required): - -### BEGIN INIT INFO -# Provides: skeleton -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog -# Should-Start: $portmap -# Should-Stop: $portmap -# X-Start-Before: nis -# X-Stop-After: nis -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# X-Interactive: true -# Short-Description: Example initscript -# Description: This file should be used to construct scripts to be -# placed in /etc/init.d. -### END INIT INFO - -More information on the format is available from insserv(8). This -information is used to dynamicaly assign sequence numbers to the -boot scripts and to run the scripts in parallel during the boot. -See also /usr/share/doc/insserv/README.Debian. diff --git a/init.d/README b/init.d/README new file mode 120000 index 0000000..8f28bb5 --- /dev/null +++ b/init.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/init.d-README \ No newline at end of file diff --git a/init.d/hwclock.sh b/init.d/hwclock.sh index 208ca2d..a9872b6 100755 --- a/init.d/hwclock.sh +++ b/init.d/hwclock.sh @@ -1,43 +1,27 @@ #!/bin/sh -# hwclock.sh Set and adjust the CMOS clock. -# -# Version: @(#)hwclock.sh 2.00 14-Dec-1998 miquels@cistron.nl -# -# Patches: -# 2000-01-30 Henrique M. Holschuh -# - Minor cosmetic changes in an attempt to help new -# users notice something IS changing their clocks -# during startup/shutdown. -# - Added comments to alert users of hwclock issues -# and discourage tampering without proper doc reading. -# 2012-02-16 Roger Leigh -# - Use the UTC/LOCAL setting in /etc/adjtime rather than -# the UTC setting in /etc/default/rcS. Additionally -# source /etc/default/hwclock to permit configuration. ### BEGIN INIT INFO # Provides: hwclock -# Required-Start: mountdevsubfs +# Required-Start: # Required-Stop: mountdevsubfs # Should-Stop: umountfs # Default-Start: S -# X-Start-Before: checkroot # Default-Stop: 0 6 -# Short-Description: Sync hardware and system clock time. +# Short-Description: Save system clock to hardware on shutdown. ### END INIT INFO -# These defaults are user-overridable in /etc/default/hwclock -BADYEAR=no -HWCLOCKACCESS=yes -HWCLOCKPARS= -HCTOSYS_DEVICE=rtc0 +# Note: this init script and related code is only useful if you +# run a sysvinit system, without NTP synchronization. + +if [ -e /run/systemd/system ] ; then + exit 0 +fi -# We only want to use the system timezone or else we'll get -# potential inconsistency at startup. unset TZ hwclocksh() { + HCTOSYS_DEVICE=rtc0 [ ! -x /sbin/hwclock ] && return 0 [ ! -r /etc/default/rcS ] || . /etc/default/rcS [ ! -r /etc/default/hwclock ] || . /etc/default/hwclock @@ -45,75 +29,28 @@ hwclocksh() . /lib/lsb/init-functions verbose_log_action_msg() { [ "$VERBOSE" = no ] || log_action_msg "$@"; } - case "$BADYEAR" in - no|"") BADYEAR="" ;; - yes) BADYEAR="--badyear" ;; - *) log_action_msg "unknown BADYEAR setting: \"$BADYEAR\""; return 1 ;; - esac - case "$1" in - start) - # If the admin deleted the hwclock config, create a blank - # template with the defaults. - if [ -w /etc ] && [ ! -f /etc/adjtime ] && [ ! -e /etc/adjtime ]; then - printf "0.0 0 0.0\n0\nUTC\n" > /etc/adjtime - fi - - if [ -d /run/udev ] || [ -d /dev/.udev ]; then - return 0 - fi - - if [ "$HWCLOCKACCESS" != no ]; then - log_action_msg "Setting the system clock" - - # Just for reporting. - if sed '3!d' /etc/adjtime | grep -q '^UTC$'; then - UTC="--utc" - else - UTC= - fi - # Copies Hardware Clock time to System Clock using the correct - # timezone for hardware clocks in local time, and sets kernel - # timezone. DO NOT REMOVE. - if /sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --hctosys $HWCLOCKPARS $BADYEAR; then - # Announce the local time. - verbose_log_action_msg "System Clock set to: `date $UTC`" - else - log_warning_msg "Unable to set System Clock to: `date $UTC`" - fi - else - verbose_log_action_msg "Not setting System Clock" - fi - ;; - stop|restart|reload|force-reload) - # - # Updates the Hardware Clock with the System Clock time. - # This will *override* any changes made to the Hardware Clock. - # - # WARNING: If you disable this, any changes to the system - # clock will not be carried across reboots. - # - - if [ "$HWCLOCKACCESS" != no ]; then - log_action_msg "Saving the system clock" - if /sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --systohc $HWCLOCKPARS $BADYEAR; then - verbose_log_action_msg "Hardware Clock updated to `date`" - fi - else - verbose_log_action_msg "Not saving System Clock" - fi - ;; - show) - if [ "$HWCLOCKACCESS" != no ]; then - /sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --show $HWCLOCKPARS $BADYEAR - fi - ;; - *) - log_success_msg "Usage: hwclock.sh {start|stop|reload|force-reload|show}" - log_success_msg " start sets kernel (system) clock from hardware (RTC) clock" - log_success_msg " stop and reload set hardware (RTC) clock from kernel (system) clock" - return 1 - ;; + start) + # start is handled by /usr/lib/udev/rules.d/85-hwclock.rules. + return 0 + ;; + stop|restart|reload|force-reload) + # Updates the Hardware Clock with the System Clock time. + # This will *override* any changes made to the Hardware Clock, + # for example by the Linux kernel when NTP is in use. + log_action_msg "Saving the system clock to /dev/$HCTOSYS_DEVICE" + if /sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --systohc; then + verbose_log_action_msg "Hardware Clock updated to `date`" + fi + ;; + show) + /sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --show + ;; + *) + log_success_msg "Usage: hwclock.sh {stop|reload|force-reload|show}" + log_success_msg " stop and reload set hardware (RTC) clock from kernel (system) clock" + return 1 + ;; esac } diff --git a/init/resolvconf.conf b/init/resolvconf.conf deleted file mode 100644 index 9346011..0000000 --- a/init/resolvconf.conf +++ /dev/null @@ -1,19 +0,0 @@ -# upstart script for resolvconf - -description "Initialize or finalize resolvconf" - -start on mounted MOUNTPOINT=/run - -stop on runlevel [06] - -pre-start script - mkdir -p /run/resolvconf/interface - # Request a postponed update (needed in case the base file has content). - touch /run/resolvconf/postponed-update - # Enable updates and perform the postponed update. - resolvconf --enable-updates -end script - -post-stop script - resolvconf --disable-updates -end script diff --git a/issue b/issue index 645b34f..7029329 100644 --- a/issue +++ b/issue @@ -1,2 +1,2 @@ -Debian GNU/Linux 10 \n \l +Debian GNU/Linux 11 \n \l diff --git a/issue.net b/issue.net index d3270dd..eac8bd3 100644 --- a/issue.net +++ b/issue.net @@ -1 +1 @@ -Debian GNU/Linux 10 +Debian GNU/Linux 11 diff --git a/pam.d/login b/pam.d/login index 07ff954..553145f 100644 --- a/pam.d/login +++ b/pam.d/login @@ -12,25 +12,6 @@ auth optional pam_faildelay.so delay=3000000 # ISSUE_FILE option from login.defs). Uncomment for use # auth required pam_issue.so issue=/etc/issue -# Disallows root logins except on tty's listed in /etc/securetty -# (Replaces the `CONSOLE' setting from login.defs) -# -# With the default control of this module: -# [success=ok new_authtok_reqd=ok ignore=ignore user_unknown=bad default=die] -# root will not be prompted for a password on insecure lines. -# if an invalid username is entered, a password is prompted (but login -# will eventually be rejected) -# -# You can change it to a "requisite" module if you think root may mis-type -# her login and should not be prompted for a password in that case. But -# this will leave the system as vulnerable to user enumeration attacks. -# -# You can change it to a "required" module if you think it permits to -# guess valid user names of your system (invalid user names are considered -# as possibly being root on insecure lines), but root passwords may be -# communicated over insecure lines. -auth [success=ok new_authtok_reqd=ok ignore=ignore user_unknown=bad default=die] pam_securetty.so - # Disallows other than root logins when /etc/nologin exists # (Replaces the `NOLOGINS_FILE' option from login.defs) auth requisite pam_nologin.so @@ -45,9 +26,19 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux # Sets the loginuid process attribute session required pam_loginuid.so +# Prints the message of the day upon successful login. +# (Replaces the `MOTD_FILE' option in login.defs) +# This includes a dynamically generated part from /run/motd.dynamic +# and a static (admin-editable) part from /etc/motd. +session optional pam_motd.so motd=/run/motd.dynamic +session optional pam_motd.so noupdate + # SELinux needs to intervene at login time to ensure that the process # starts in the proper default security context. Only sessions which are # intended to run in the user's context should be run after this. +# pam_selinux.so changes the SELinux context of the used TTY and configures +# SELinux in order to transition to the user context with the next execve() +# call. session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open # When the module is present, "required" would be sufficient (When SELinux # is disabled, this returns success.) @@ -90,13 +81,6 @@ session required pam_limits.so # (Replaces the `LASTLOG_ENAB' option from login.defs) session optional pam_lastlog.so -# Prints the message of the day upon successful login. -# (Replaces the `MOTD_FILE' option in login.defs) -# This includes a dynamically generated part from /run/motd.dynamic -# and a static (admin-editable) part from /etc/motd. -session optional pam_motd.so motd=/run/motd.dynamic -session optional pam_motd.so noupdate - # Prints the status of the user's mailbox upon successful login # (Replaces the `MAIL_CHECK_ENAB' option from login.defs). # diff --git a/pam.d/su b/pam.d/su index d5c6903..6729598 100644 --- a/pam.d/su +++ b/pam.d/su @@ -5,10 +5,10 @@ # This allows root to su without passwords (normal operation) auth sufficient pam_rootok.so -# Uncomment this to force users to be a member of group root +# Uncomment this to force users to be a member of group wheel # before they can use `su'. You can also add "group=foo" # to the end of this line if you want to use a group other -# than the default "root" (but this may have side effect of +# than the default "wheel" (but this may have side effect of # denying "root" user, unless she's a member of "foo" or explicitly # permitted earlier by e.g. "sufficient pam_rootok.so"). # (Replaces the `SU_WHEEL_ONLY' option from login.defs) diff --git a/pam.d/systemd-user b/pam.d/systemd-user deleted file mode 100644 index 45b2e5e..0000000 --- a/pam.d/systemd-user +++ /dev/null @@ -1,12 +0,0 @@ -# This file is part of systemd. -# -# Used by systemd --user instances. - -@include common-account - -session required pam_selinux.so close -session required pam_selinux.so nottys open -session required pam_loginuid.so -session required pam_limits.so -@include common-session-noninteractive -session optional pam_systemd.so diff --git a/profile b/profile index 9485cbf..de64c87 100644 --- a/profile +++ b/profile @@ -1,7 +1,7 @@ # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). -if [ "`id -u`" -eq 0 ]; then +if [ "$(id -u)" -eq 0 ]; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" @@ -16,7 +16,7 @@ if [ "${PS1-}" ]; then . /etc/bash.bashrc fi else - if [ "`id -u`" -eq 0 ]; then + if [ "$(id -u)" -eq 0 ]; then PS1='# ' else PS1='$ ' diff --git a/python3.9/sitecustomize.py b/python3.9/sitecustomize.py new file mode 100644 index 0000000..89c6712 --- /dev/null +++ b/python3.9/sitecustomize.py @@ -0,0 +1,7 @@ +# install the apport exception handler if available +try: + import apport_python_hook +except ImportError: + pass +else: + apport_python_hook.install() diff --git a/rc.local b/rc.local deleted file mode 100755 index 65634df..0000000 --- a/rc.local +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -e -# -# rc.local -# -# This script is executed at the end of each multiuser runlevel. -# Make sure that the script will "exit 0" on success or any other -# value on error. -# -# In order to enable or disable this script just change the execution -# bits. -# -# By default this script does nothing. - -exit 0 diff --git a/rc0.d/README b/rc0.d/README deleted file mode 100644 index df13c03..0000000 --- a/rc0.d/README +++ /dev/null @@ -1,11 +0,0 @@ -The scripts in this directory are executed once when entering -runlevel 0. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -Generally it is not necessary to alter the scripts in this directory. -Their purpose is to stop all services and to make the system ready -for shutdown. - -For more information see /etc/init.d/README. diff --git a/rc0.d/README b/rc0.d/README new file mode 120000 index 0000000..02bceca --- /dev/null +++ b/rc0.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rc0.d-README \ No newline at end of file diff --git a/rc1.d/README b/rc1.d/README deleted file mode 100644 index 6be6c94..0000000 --- a/rc1.d/README +++ /dev/null @@ -1,11 +0,0 @@ -The scripts in this directory are executed each time the system enters -this runlevel. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -Generally it is not necessary to alter the scripts in this directory. -Their purpose is to stop all services and thus to put the system in -single-user mode. - -For more information see /etc/init.d/README. diff --git a/rc1.d/README b/rc1.d/README new file mode 120000 index 0000000..93f1b08 --- /dev/null +++ b/rc1.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rc1.d-README \ No newline at end of file diff --git a/rc2.d/README b/rc2.d/README deleted file mode 100644 index 6e0733f..0000000 --- a/rc2.d/README +++ /dev/null @@ -1,15 +0,0 @@ -The scripts in this directory are executed each time the system enters -this runlevel. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -To disable a service in this runlevel, rename its script in this -directory so that the new name begins with a 'K' and a two-digit -number, and run 'update-rc.d script defaults' to reorder the scripts -according to dependencies. A warning about the current runlevels -being enabled not matching the LSB header in the init.d script will be -printed. To re-enable the service, rename the script back to its -original name beginning with 'S' and run update-rc.d again. - -For a more information see /etc/init.d/README. diff --git a/rc2.d/README b/rc2.d/README new file mode 120000 index 0000000..edb0e2d --- /dev/null +++ b/rc2.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rc2-5.d-README \ No newline at end of file diff --git a/rc3.d/README b/rc3.d/README deleted file mode 100644 index 6e0733f..0000000 --- a/rc3.d/README +++ /dev/null @@ -1,15 +0,0 @@ -The scripts in this directory are executed each time the system enters -this runlevel. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -To disable a service in this runlevel, rename its script in this -directory so that the new name begins with a 'K' and a two-digit -number, and run 'update-rc.d script defaults' to reorder the scripts -according to dependencies. A warning about the current runlevels -being enabled not matching the LSB header in the init.d script will be -printed. To re-enable the service, rename the script back to its -original name beginning with 'S' and run update-rc.d again. - -For a more information see /etc/init.d/README. diff --git a/rc3.d/README b/rc3.d/README new file mode 120000 index 0000000..edb0e2d --- /dev/null +++ b/rc3.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rc2-5.d-README \ No newline at end of file diff --git a/rc4.d/README b/rc4.d/README deleted file mode 100644 index 6e0733f..0000000 --- a/rc4.d/README +++ /dev/null @@ -1,15 +0,0 @@ -The scripts in this directory are executed each time the system enters -this runlevel. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -To disable a service in this runlevel, rename its script in this -directory so that the new name begins with a 'K' and a two-digit -number, and run 'update-rc.d script defaults' to reorder the scripts -according to dependencies. A warning about the current runlevels -being enabled not matching the LSB header in the init.d script will be -printed. To re-enable the service, rename the script back to its -original name beginning with 'S' and run update-rc.d again. - -For a more information see /etc/init.d/README. diff --git a/rc4.d/README b/rc4.d/README new file mode 120000 index 0000000..edb0e2d --- /dev/null +++ b/rc4.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rc2-5.d-README \ No newline at end of file diff --git a/rc5.d/README b/rc5.d/README deleted file mode 100644 index 6e0733f..0000000 --- a/rc5.d/README +++ /dev/null @@ -1,15 +0,0 @@ -The scripts in this directory are executed each time the system enters -this runlevel. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -To disable a service in this runlevel, rename its script in this -directory so that the new name begins with a 'K' and a two-digit -number, and run 'update-rc.d script defaults' to reorder the scripts -according to dependencies. A warning about the current runlevels -being enabled not matching the LSB header in the init.d script will be -printed. To re-enable the service, rename the script back to its -original name beginning with 'S' and run update-rc.d again. - -For a more information see /etc/init.d/README. diff --git a/rc5.d/README b/rc5.d/README new file mode 120000 index 0000000..edb0e2d --- /dev/null +++ b/rc5.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rc2-5.d-README \ No newline at end of file diff --git a/rc6.d/README b/rc6.d/README deleted file mode 100644 index baf54c9..0000000 --- a/rc6.d/README +++ /dev/null @@ -1,11 +0,0 @@ -The scripts in this directory are executed once when entering -runlevel 6. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -Generally it is not necessary to alter the scripts in this directory. -Their purpose is to stop all services and to make the system ready -for reboot. - -For more information see /etc/init.d/README. diff --git a/rc6.d/README b/rc6.d/README new file mode 120000 index 0000000..cc5fae7 --- /dev/null +++ b/rc6.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rc6.d-README \ No newline at end of file diff --git a/rcS.d/README b/rcS.d/README deleted file mode 100644 index fcf7c92..0000000 --- a/rcS.d/README +++ /dev/null @@ -1,12 +0,0 @@ -The scripts in this directory whose names begin with an 'S' are -executed once when booting the system, even when booting directly into -single user mode. - -The scripts are all symbolic links whose targets are located in -/etc/init.d/ . - -To disable a script in this directory, rename it so that it begins -with a 'K' and run 'update-rc.d script defaults' to update the order -using the script dependencies. - -For more information see /etc/init.d/README. diff --git a/rcS.d/README b/rcS.d/README new file mode 120000 index 0000000..b8fa9b0 --- /dev/null +++ b/rcS.d/README @@ -0,0 +1 @@ +/usr/share/doc/sysv-rc/rcS.d-README \ No newline at end of file diff --git a/rcS.d/S05hwclock.sh b/rcS.d/S01hwclock.sh similarity index 100% rename from rcS.d/S05hwclock.sh rename to rcS.d/S01hwclock.sh diff --git a/rcS.d/S06checkroot.sh b/rcS.d/S05checkroot.sh similarity index 100% rename from rcS.d/S06checkroot.sh rename to rcS.d/S05checkroot.sh diff --git a/rcS.d/S08checkroot-bootclean.sh b/rcS.d/S06checkroot-bootclean.sh similarity index 100% rename from rcS.d/S08checkroot-bootclean.sh rename to rcS.d/S06checkroot-bootclean.sh diff --git a/rcS.d/S08kmod b/rcS.d/S06kmod similarity index 100% rename from rcS.d/S08kmod rename to rcS.d/S06kmod diff --git a/rcS.d/S05lvm2 b/rcS.d/S06lvm2 similarity index 100% rename from rcS.d/S05lvm2 rename to rcS.d/S06lvm2 diff --git a/rcS.d/S09mountall.sh b/rcS.d/S08mountall.sh similarity index 100% rename from rcS.d/S09mountall.sh rename to rcS.d/S08mountall.sh diff --git a/rcS.d/S10mountall-bootclean.sh b/rcS.d/S09mountall-bootclean.sh similarity index 100% rename from rcS.d/S10mountall-bootclean.sh rename to rcS.d/S09mountall-bootclean.sh diff --git a/rcS.d/S11brightness b/rcS.d/S10brightness similarity index 100% rename from rcS.d/S11brightness rename to rcS.d/S10brightness diff --git a/rcS.d/S11procps b/rcS.d/S10procps similarity index 100% rename from rcS.d/S11procps rename to rcS.d/S10procps diff --git a/rcS.d/S11resolvconf b/rcS.d/S10resolvconf similarity index 100% rename from rcS.d/S11resolvconf rename to rcS.d/S10resolvconf diff --git a/rcS.d/S11urandom b/rcS.d/S10urandom similarity index 100% rename from rcS.d/S11urandom rename to rcS.d/S10urandom diff --git a/rcS.d/S12networking b/rcS.d/S11networking similarity index 100% rename from rcS.d/S12networking rename to rcS.d/S11networking diff --git a/rcS.d/S13mountnfs.sh b/rcS.d/S12mountnfs.sh similarity index 100% rename from rcS.d/S13mountnfs.sh rename to rcS.d/S12mountnfs.sh diff --git a/rcS.d/S14mountnfs-bootclean.sh b/rcS.d/S13mountnfs-bootclean.sh similarity index 100% rename from rcS.d/S14mountnfs-bootclean.sh rename to rcS.d/S13mountnfs-bootclean.sh diff --git a/rcS.d/S15bootmisc.sh b/rcS.d/S14bootmisc.sh similarity index 100% rename from rcS.d/S15bootmisc.sh rename to rcS.d/S14bootmisc.sh diff --git a/rcS.d/S15netfilter-persistent b/rcS.d/S14netfilter-persistent similarity index 100% rename from rcS.d/S15netfilter-persistent rename to rcS.d/S14netfilter-persistent diff --git a/securetty b/securetty deleted file mode 100644 index 2e34638..0000000 --- a/securetty +++ /dev/null @@ -1,412 +0,0 @@ -# /etc/securetty: list of terminals on which root is allowed to login. -# See securetty(5) and login(1). - -console - -# Local X displays (allows empty passwords with pam_unix's nullok_secure) -:0 -:0.0 -:0.1 -:1 -:1.0 -:1.1 -:2 -:2.0 -:2.1 -:3 -:3.0 -:3.1 -#... - - -# ========================================================== -# -# TTYs sorted by major number according to Documentation/devices.txt -# -# ========================================================== - -# Virtual consoles -tty1 -tty2 -tty3 -tty4 -tty5 -tty6 -tty7 -tty8 -tty9 -tty10 -tty11 -tty12 -tty13 -tty14 -tty15 -tty16 -tty17 -tty18 -tty19 -tty20 -tty21 -tty22 -tty23 -tty24 -tty25 -tty26 -tty27 -tty28 -tty29 -tty30 -tty31 -tty32 -tty33 -tty34 -tty35 -tty36 -tty37 -tty38 -tty39 -tty40 -tty41 -tty42 -tty43 -tty44 -tty45 -tty46 -tty47 -tty48 -tty49 -tty50 -tty51 -tty52 -tty53 -tty54 -tty55 -tty56 -tty57 -tty58 -tty59 -tty60 -tty61 -tty62 -tty63 - -# UART serial ports -ttyS0 -ttyS1 -ttyS2 -ttyS3 -ttyS4 -ttyS5 -#...ttyS191 - -# Serial Mux devices (Linux/PA-RISC only) -ttyB0 -ttyB1 -#... - -# Chase serial card -ttyH0 -ttyH1 -#... - -# Cyclades serial cards -ttyC0 -ttyC1 -#...ttyC31 - -# Digiboard serial cards -ttyD0 -ttyD1 -#... - -# Stallion serial cards -ttyE0 -ttyE1 -#...ttyE255 - -# Specialix serial cards -ttyX0 -ttyX1 -#... - -# Comtrol Rocketport serial cards -ttyR0 -ttyR1 -#... - -# SDL RISCom serial cards -ttyL0 -ttyL1 -#... - -# Hayes ESP serial card -ttyP0 -ttyP1 -#... - -# Computone IntelliPort II serial card -ttyF0 -ttyF1 -#...ttyF255 - -# Specialix IO8+ serial card -ttyW0 -ttyW1 -#... - -# Comtrol VS-1000 serial controller -ttyV0 -ttyV1 -#... - -# ISI serial card -ttyM0 -ttyM1 -#... - -# Technology Concepts serial card -ttyT0 -ttyT1 -#... - -# Specialix RIO serial card -ttySR0 -ttySR1 -#...ttySR511 - -# Chase Research AT/PCI-Fast serial card -ttyCH0 -ttyCH1 -#...ttyCH63 - -# Moxa Intellio serial card -ttyMX0 -ttyMX1 -#...ttyMX127 - -# SmartIO serial card -ttySI0 -ttySI1 -#... - -# USB dongles -ttyUSB0 -ttyUSB1 -ttyUSB2 -#... - -# LinkUp Systems L72xx UARTs -ttyLU0 -ttyLU1 -ttyLU2 -ttyLU3 - -# StrongARM builtin serial ports -ttySA0 -ttySA1 -ttySA2 - -# SCI serial port (SuperH) ports and SC26xx serial ports -ttySC0 -ttySC1 -ttySC2 -ttySC3 -ttySC4 -ttySC5 -ttySC6 -ttySC7 -ttySC8 -ttySC9 - -# ARM "AMBA" serial ports -ttyAM0 -ttyAM1 -ttyAM2 -ttyAM3 -ttyAM4 -ttyAM5 -ttyAM6 -ttyAM7 -ttyAM8 -ttyAM9 -ttyAM10 -ttyAM11 -ttyAM12 -ttyAM13 -ttyAM14 -ttyAM15 - -# Embedded ARM AMBA PL011 ports (e.g. emulated by QEMU) -ttyAMA0 -ttyAMA1 -ttyAMA2 -ttyAMA3 - -# DataBooster serial ports -ttyDB0 -ttyDB1 -ttyDB2 -ttyDB3 -ttyDB4 -ttyDB5 -ttyDB6 -ttyDB7 - -# SGI Altix console ports -ttySG0 - -# Motorola i.MX ports -ttySMX0 -ttySMX1 -ttySMX2 - -# Marvell MPSC ports -ttyMM0 -ttyMM1 - -# PPC CPM (SCC or SMC) ports -ttyCPM0 -ttyCPM1 -ttyCPM2 -ttyCPM3 -ttyCPM4 -ttyCPM5 - -# Altix serial cards -ttyIOC0 -ttyIOC1 -#...ttyIOC31 - -# NEC VR4100 series SIU -ttyVR0 - -# NEC VR4100 series SSIU -ttyVR1 - -# Altix ioc4 serial cards -ttyIOC84 -ttyIOC85 -#...ttyIOC115 - -# Altix ioc3 serial cards -ttySIOC0 -ttySIOC1 -#...ttySIOC31 - -# PPC PSC ports -ttyPSC0 -ttyPSC1 -ttyPSC2 -ttyPSC3 -ttyPSC4 -ttyPSC5 - -# ATMEL serial ports -ttyAT0 -ttyAT1 -#...ttyAT15 - -# Hilscher netX serial port -ttyNX0 -ttyNX1 -#...ttyNX15 - -# Xilinx uartlite - port -ttyUL0 -ttyUL1 -ttyUL2 -ttyUL3 - -# Xen virtual console - port 0 -xvc0 - -# pmac_zilog - port -ttyPZ0 -ttyPZ1 -ttyPZ2 -ttyPZ3 - -# TX39/49 serial port -ttyTX0 -ttyTX1 -ttyTX2 -ttyTX3 -ttyTX4 -ttyTX5 -ttyTX6 -ttyTX7 - -# SC26xx serial ports (see SCI serial ports (SuperH)) - -# MAX3100 serial ports -ttyMAX0 -ttyMAX1 -ttyMAX2 -ttyMAX3 - -# OMAP serial ports -ttyO0 -ttyO1 -ttyO2 -ttyO3 - -# User space serial ports -ttyU0 -ttyU1 - -# A2232 serial card -ttyY0 -ttyY1 - -# IBM 3270 terminal Unix tty access -3270/tty1 -3270/tty2 -#... - -# IBM iSeries/pSeries virtual console -hvc0 -hvc1 -#... -#IBM pSeries console ports -hvsi0 -hvsi1 -hvsi2 - -# Equinox SST multi-port serial boards -ttyEQ0 -ttyEQ1 -#...ttyEQ1027 - -# ========================================================== -# -# Not in Documentation/Devices.txt -# -# ========================================================== - -# Embedded Freescale i.MX ports -ttymxc0 -ttymxc1 -ttymxc2 -ttymxc3 -ttymxc4 -ttymxc5 - -# LXC (Linux Containers) -lxc/console -lxc/tty1 -lxc/tty2 -lxc/tty3 -lxc/tty4 - -# Serial Console for MIPS Swarm -duart0 -duart1 - -# s390 and s390x ports in LPAR mode -ttysclp0 - -# ODROID XU4 serial console -ttySAC0 -ttySAC1 -ttySAC2 -ttySAC3 diff --git a/sv/ssh/log/supervise b/sv/ssh/log/supervise new file mode 120000 index 0000000..6b19d94 --- /dev/null +++ b/sv/ssh/log/supervise @@ -0,0 +1 @@ +/run/runit/supervise/ssh.log \ No newline at end of file diff --git a/sv/ssh/supervise b/sv/ssh/supervise new file mode 120000 index 0000000..15b2f27 --- /dev/null +++ b/sv/ssh/supervise @@ -0,0 +1 @@ +/run/runit/supervise/ssh \ No newline at end of file diff --git a/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/systemd/system/sysinit.target.wants/systemd-timesyncd.service deleted file mode 120000 index f64da56..0000000 --- a/systemd/system/sysinit.target.wants/systemd-timesyncd.service +++ /dev/null @@ -1 +0,0 @@ -/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file diff --git a/systemd/timesyncd.conf b/systemd/timesyncd.conf deleted file mode 100644 index e74c0f6..0000000 --- a/systemd/timesyncd.conf +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. -# -# Entries in this file show the compile time defaults. -# You can change settings by editing this file. -# Defaults can be restored by simply deleting this file. -# -# See timesyncd.conf(5) for details. - -[Time] -#NTP= -#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org -#RootDistanceMaxSec=5 -#PollIntervalMinSec=32 -#PollIntervalMaxSec=2048 -- 2.39.5