aboutsummaryrefslogtreecommitdiffstats
path: root/debian/policy-rc.d
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-01-06 20:27:20 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-01-06 20:27:20 -0500
commit8d6499a1e52c5043fd2910af5d475aea00f88587 (patch)
tree9e7b885e68bbe34706fbf3ceeaf189f2da4c9047 /debian/policy-rc.d
parent5bda749ac3211b880a5df9fac088b586f4f365fb (diff)
d/install, d/p/policy.d_no_autostart.patch, d/policy-rc.d: Drop setting up policy-rc.d.
This has never really worked out well. The latest rendition is fine, except if /usr/sbin/policy-rc.d doesn't exist, then it fails chroot. One could use the "ignore_error chroot_maybe_add_mount" method, but this would cause different results based on if the file exists or not, still. Seth Arnold notes that one could bind mount everything from "$1/usr/sbin/" into something like /dev/shm/installer/sbin/, then add policy-rc.d to /dev/shm/installer/sbin/, and bindmount /dev/shm/installer/sbin/ back on top of "$1/usr/sbin/policy-rc.d".
Diffstat (limited to 'debian/policy-rc.d')
-rwxr-xr-xdebian/policy-rc.d3
1 files changed, 0 insertions, 3 deletions
diff --git a/debian/policy-rc.d b/debian/policy-rc.d
deleted file mode 100755
index 105ba3d..0000000
--- a/debian/policy-rc.d
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-# Prevent invoke-rc.d from starting services.
-exit 101