aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-11-09 07:07:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-11-09 07:07:04 +0200
commitf5c7e5662e133e7415ed6fe0392013c4e5cbc86e (patch)
tree2df95bab04ccd35eeb8a9aafef86a1a116036eec /init
parent0ff59e362608ad75c306471204b24319cc9523fb (diff)
Upgrade to latest Debian testing
There is a new strange warning when deleting a btrfs subvolume as a non-root user (Debian but #998840). New (old) versions of key packages: systemd/udev 249.5-2 (245.6-2) qemu-system-x86 6.1+dfsg-8 (5.0-13) linux-image-amd64 5.14.9-2 (5.7.6) g++ 11.2.0-2 (9.3.0-15) initramfs-tools 0.140 (0.137) debootstrap 1.0.125 (1.0.123) New (old) sizes: buildos-image 6,316,352 (5,572,672) buildos-initrd 332,280,629 (316,454,368)
Diffstat (limited to 'init')
-rwxr-xr-xinit9
1 files changed, 2 insertions, 7 deletions
diff --git a/init b/init
index 6fb3840..eb0c939 100755
--- a/init
+++ b/init
@@ -40,7 +40,8 @@ mount -t proc -o nodev,noexec,nosuid proc /proc
info "init starting up..."
-mount -t devtmpfs -o noexec,nosuid,mode=0755 udev /dev
+mount -t devtmpfs -o nosuid,mode=0755 udev /dev
+ln -s /proc/self/fd /dev/fd
mkdir -p /dev/pts
mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
@@ -242,10 +243,6 @@ priv_netbase="$(sed -e 's/^\(.*\)\.0\.0$/\1/' <<<"$priv_network")"
# joins the bridge. Needless to say, constantly changing MAC will wreck
# all kinds of networking havoc.
#
-# While bridge_hw should be (and used to be) enough, something was broken (bug
-# #945466) and now we set it manually and also pass it to DHCP (which runs
-# before post-up). Reportedly fixed in bridge-utils 1.6-3, testing the fix...
-#
cat <<EOF >/etc/network/interfaces
auto lo
iface lo inet loopback
@@ -259,8 +256,6 @@ iface br0 inet dhcp
bridge_maxwait 0
bridge_fd 0
bridge_hw $gmac
- #hwaddress $gmac
- #post-up ip link set br0 address $gmac
post-up ip link set $eth txqueuelen 4000
post-up ip link set br0 txqueuelen 4000