From b9db466a26956e778681214bc26c75c3ff1e8240 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sat, 7 Mar 2020 23:39:53 +0100 Subject: [PATCH] add note about usage of /usr/sbin/policy-rc.d --- mmdebstrap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index fb9814b..643fc95 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1008,6 +1008,11 @@ sub run_chroot { # prevent daemons from starting # the directory might not exist in custom variant, for example + # + # ideally, we should use update-alternatives but we cannot rely on it + # existing inside the chroot + # + # See #911290 for more problems of this interface if (-d "$options->{root}/usr/sbin/") { open my $fh, '>', "$options->{root}/usr/sbin/policy-rc.d" or error "cannot open policy-rc.d: $!";