mirror of
https://git.proxmox.com/git/pve-installer
synced 2025-04-28 04:44:59 +00:00

This reverts commit 8ee12a1c34
.
`policy-rc.d` invocation is still used by deb-systemd-invoke (1p), despite
it's by now unfitting name.
The policy-rc.d script the installer placed into the chroot prevents the
starting of services by (debianized) maintainer-scripts [0].
This should reduce installation time on one hand, and on the other hand does
mask errors in maintainer-scripts, which error out if no systemd is running
(e.g. inside the chroot)
Noticed the problem, when testing an unrelated patch and running into
an aborted installtion, due to a, already fixed, glitch (missing '||true')
in pve-lxc's postinst script.
[0] https://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt
(did not find anything more current, contradicting the information there)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
7 lines
101 B
Bash
Executable File
7 lines
101 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# see /usr/share/doc/sysv-rc/README.policy-rc.d.gz
|
|
|
|
# disable service activation
|
|
|
|
exit 101 |