Commit 0e0162b2 authored by Lorenzo Faletra's avatar Lorenzo Faletra

Import Debian version 1.57+parrot1

init-system-helpers (1.57+parrot1) testing; urgency=medium

  * Import new Debian release.
parent 581adf35
This diff is collapsed.
Source: init-system-helpers
Section: admin
Priority: optional
XSBC-Original-Maintainer: Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Maintainer: Kali Developers <devel@kali.org>
Uploaders: Michael Biebl <biebl@debian.org>,
Martin Pitt <mpitt@debian.org>,
Felipe Sateler <fsateler@debian.org>
Maintainer: Parrot Dev Team <team@parrotsec.org>
Uploaders: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>
Build-Depends: debhelper (>= 11),
perl:any,
python3-docutils
Standards-Version: 4.2.1
Vcs-Git: https://gitlab.com/kalilinux/packages/init-system-helpers.git
Vcs-Browser: https://gitlab.com/kalilinux/packages/init-system-helpers
Vcs-Git: https://nest.parrotsec.org/debian-packages/init-system-helpers.git
Vcs-Browser: https://nest.parrotsec.org/debian-packages/init-system-helpers
Package: init-system-helpers
Architecture: all
......
......@@ -30,7 +30,7 @@ SBIN = debian/init-system-helpers/usr/sbin
override_dh_install-indep:
dh_install
mv $(SBIN)/update-rc.d $(SBIN)/debian-update-rc.d
cp script/kali-update-rc.d $(SBIN)/update-rc.d
cp script/parrot-update-rc.d $(SBIN)/update-rc.d
[ ! -d debian/init-system-helpers ] || sed -i 's/__VERSION__/$(DEB_VERSION)/' debian/init-system-helpers/usr/sbin/service
......@@ -38,7 +38,7 @@ override_dh_gencontrol:
if dpkg-vendor --derives-from ubuntu; then \
dh_gencontrol -- -Valt:sysvinit=""; \
else \
dh_gencontrol -- -Valt:sysvinit="| sysvinit-core"; \
dh_gencontrol -- -Valt:sysvinit="| sysvinit-core | runit-init"; \
fi
%:
......
......@@ -53,6 +53,7 @@ twice, first with the ``stop`` command, then with the ``start``
command. Note, that unlike ``update-rc.d``\(8\), ``service`` does not
check ``/usr/sbin/policy-rc.d``.
``service --status-all`` runs all init scripts, in alphabetical order, with
the ``status`` command. The status is [ + ] for running services, [ - ] for
stopped services and [ ? ] for services without a ``status`` command. This
......
......@@ -33,7 +33,7 @@ if (exists $ENV{'DPKG_RUNNING_VERSION'} and
# We're in a maint-script and we're about to install a new init script
if (exists $status_wanted{$bn}) {
if ($status_wanted{$bn} eq "disabled") {
print STDERR "update-rc.d: As per Kali policy, $bn init script is left disabled.\n";
print STDERR "update-rc.d: $bn is in our deadpool blacklist! YOU SHALL NOT PASS!\n";
system("/usr/sbin/debian-update-rc.d", @orig_argv);
system("/usr/sbin/debian-update-rc.d", $bn, "disable");
exit 0;
......@@ -44,7 +44,7 @@ if (exists $ENV{'DPKG_RUNNING_VERSION'} and
if ($header->{'required-start'} =~ /\$network/ ||
$header->{'should-start'} =~ /\$network/)
{
print STDERR "update-rc.d: It looks like a network service, we disable it.\n";
print STDERR "update-rc.d: It looks like a network service! YOU SHALL NOT PASS!\n";
system("/usr/sbin/debian-update-rc.d", @orig_argv);
system("/usr/sbin/debian-update-rc.d", $bn, "disable");
exit 0;
......@@ -91,29 +91,53 @@ sub parse_lsb_header {
__DATA__
#
# List of blacklisted init scripts
# Deadpool
#
apache2 disabled
avahi-daemon disabled
bluetooth disabled
couchdb disabled
clamav-daemon disabled
clamav-freshclam disabled
cups disabled
dictd disabled
dhcpcd disabled
dradis disabled
exim4 disabled
greenbone-security-assistant disabled
iodined disabled
mariadb disabled
minissdpd disabled
nfs-common disabled
nginx disabled
nmbd disabled
openbsd-inetd disabled
openvas-manager disabled
openvas-scanner disabled
polipo disabled
postfix disabled
postgresql disabled
pppd-dns disabled
procmail disabled
redis disabled
redis-server disabled
redsocks disabled
rpcbind disabled
samba disabled
smbd disabled
saned disabled
snmpd disabled
ssh disabled
stunnel4 disabled
winbind disabled
thin disabled
tinyproxy disabled
tor disabled
udftools disabled
python-faraday disabled
pure-ftpd disabled
#
# List of whitelisted init scripts
# Whitelist
#
acpid enabled
acpi-fakekey enabled
......@@ -148,6 +172,9 @@ keymap.sh enabled
kmod enabled
libvirt-bin enabled
libvirt-guests enabled
lightdm enabled
live-config enabled
live-boot enabled
loadcpufreq enabled
lvm2 enabled
lxc enabled
......@@ -162,12 +189,14 @@ mountnfs.sh enabled
mtab.sh enabled
networking enabled
network-manager enabled
nfs-common enabled
pppd-dns enabled
procps enabled
pulseaudio enabled
qemu-kvm enabled
rc.local enabled
rdnssd enabled
resolvconf enabled
restorecond enabled
rmnologin enabled
rsync enabled
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment