Hi,

On 04/10/23 at 21:25 +0100, Mark Hindley wrote:
> Control: tags -1 moreinfo
> 
> Ian
> 
> On Wed, Sep 27, 2023 at 10:33:32PM +0100, Ian Jackson wrote:
> > Mark Hindley writes ("Bug#1052942: insserv: FTBFS: insserv: Could not read 
> > script nolsbheader: No such file or directory"):
> > > Thanks for this. However, I am currently unable to repoduce this
> > > failure in my customary pbuilder setup. And it doesn't appear at
> > > reproducible builds either[1]
> > 
> > I just tried this myself with my usual sbuild setup and it succeeded
> > there too[1].
> 
> 
> Thanks for your confirmation.
> 
> > Lucas, I think something from your rebuild environment
> > (a chroot of some kind I presume) must be triggering this failure.  Is
> > there some way we can reproduce it more precisely (eg, a buildinfo
> > file?)
> 
> Yes, I agree a buildinfo file might give a hint.
> 
> > I looked at the build log
> >  http://qa-logs.debian.net/2023/09/25/insserv_1.24.0-1_unstable.log
> > and compared it to the one from my sbuild, using diff.  There are a
> > lot of changes to the "furniture" but also there are noise changes to
> > the output of the insserv test suite, including ordring changes of
> > passing tests.  This seemed surprising to me.
> > 
> > Mark, is the insserv test suite supposed to produce deterministic
> > output ?
> 
> I have never had the need to look at the testsuite since I started looking 
> after
> the package. A quick look now doesn't immediately reveal something that would
> obviously change the order of the tests.
> 
> I tried again locally with make -j8 and still could not reproduce any failure.

It also fails with -j1: it does not look like a concurrency issue. See
attached log.

Lucas
sbuild (Debian sbuild) 0.85.0 (04 January 2023) on ip-10-84-234-181

+==============================================================================+
| insserv 1.24.0-1 (amd64)                     Thu, 26 Oct 2023 07:58:20 +0000 |
+==============================================================================+

Package: insserv
Version: 1.24.0-1
Source Version: 1.24.0-1
Distribution: unstable
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: full

I: NOTICE: Log filtering will replace 
'var/run/schroot/mount/sid-amd64-sbuild-9b6ecbbe-48ed-462f-8959-f9b693a34744' 
with '<<CHROOT>>'
I: NOTICE: Log filtering will replace 'build/insserv-MtNjSQ/resolver-hdop7y' 
with '<<RESOLVERDIR>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Hit:1 http://127.0.0.1:12990/debian sid InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'insserv' packaging is maintained in the 'Git' version control system 
at:
https://salsa.debian.org/debian/insserv.git
Please use:
git clone https://salsa.debian.org/debian/insserv.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 114 kB of source archives.
Get:1 http://127.0.0.1:12990/debian sid/main insserv 1.24.0-1 (dsc) [1996 B]
Get:2 http://127.0.0.1:12990/debian sid/main insserv 1.24.0-1 (tar) [76.5 kB]
Get:3 http://127.0.0.1:12990/debian sid/main insserv 1.24.0-1 (diff) [35.8 kB]
Fetched 114 kB in 0s (1611 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/insserv-MtNjSQ/insserv-1.24.0' 
with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/insserv-MtNjSQ' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: bash-completion, debhelper-compat (= 12), po-debconf, 
build-essential, fakeroot
Filtered Build-Depends: bash-completion, debhelper-compat (= 12), po-debconf, 
build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in 
'/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [609 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [646 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [678 B]
Fetched 1933 B in 0s (80.7 kB/s)
Reading package lists...
Reading package lists...

Install main build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bash-completion bsdextrautils
  debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext
  gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libicu72
  libmagic-mgc libmagic1 libpipeline1 libsub-override-perl libtool
  libuchardet0 libxml2 m4 man-db po-debconf sensible-utils
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser
  libmail-box-perl
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bash-completion bsdextrautils
  debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext
  gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libicu72
  libmagic-mgc libmagic1 libpipeline1 libsub-override-perl libtool
  libuchardet0 libxml2 m4 man-db po-debconf sbuild-build-depends-main-dummy
  sensible-utils
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.3 MB of archives.
After this operation, 74.7 MB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 
0.invalid.0 [896 B]
Get:2 http://127.0.0.1:12990/debian sid/main amd64 sensible-utils all 0.0.20 
[19.3 kB]
Get:3 http://127.0.0.1:12990/debian sid/main amd64 bash-completion all 1:2.11-8 
[224 kB]
Get:4 http://127.0.0.1:12990/debian sid/main amd64 libmagic-mgc amd64 1:5.45-2 
[314 kB]
Get:5 http://127.0.0.1:12990/debian sid/main amd64 libmagic1 amd64 1:5.45-2 
[105 kB]
Get:6 http://127.0.0.1:12990/debian sid/main amd64 file amd64 1:5.45-2 [42.8 kB]
Get:7 http://127.0.0.1:12990/debian sid/main amd64 gettext-base amd64 
0.21-13+b1 [161 kB]
Get:8 http://127.0.0.1:12990/debian sid/main amd64 libuchardet0 amd64 0.0.7-1 
[67.8 kB]
Get:9 http://127.0.0.1:12990/debian sid/main amd64 groff-base amd64 1.23.0-3 
[1180 kB]
Get:10 http://127.0.0.1:12990/debian sid/main amd64 bsdextrautils amd64 
2.39.2-4 [89.1 kB]
Get:11 http://127.0.0.1:12990/debian sid/main amd64 libpipeline1 amd64 1.5.7-1 
[38.5 kB]
Get:12 http://127.0.0.1:12990/debian sid/main amd64 man-db amd64 2.12.0-1 [1402 
kB]
Get:13 http://127.0.0.1:12990/debian sid/main amd64 m4 amd64 1.4.19-4 [287 kB]
Get:14 http://127.0.0.1:12990/debian sid/main amd64 autoconf all 2.71-3 [332 kB]
Get:15 http://127.0.0.1:12990/debian sid/main amd64 autotools-dev all 
20220109.1 [51.6 kB]
Get:16 http://127.0.0.1:12990/debian sid/main amd64 automake all 1:1.16.5-1.3 
[823 kB]
Get:17 http://127.0.0.1:12990/debian sid/main amd64 autopoint all 0.21-13 [496 
kB]
Get:18 http://127.0.0.1:12990/debian sid/main amd64 libdebhelper-perl all 
13.11.7 [82.1 kB]
Get:19 http://127.0.0.1:12990/debian sid/main amd64 libtool all 2.4.7-7 [517 kB]
Get:20 http://127.0.0.1:12990/debian sid/main amd64 dh-autoreconf all 20 [17.1 
kB]
Get:21 http://127.0.0.1:12990/debian sid/main amd64 libarchive-zip-perl all 
1.68-1 [104 kB]
Get:22 http://127.0.0.1:12990/debian sid/main amd64 libsub-override-perl all 
0.09-4 [9304 B]
Get:23 http://127.0.0.1:12990/debian sid/main amd64 
libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB]
Get:24 http://127.0.0.1:12990/debian sid/main amd64 dh-strip-nondeterminism all 
1.13.1-1 [8620 B]
Get:25 http://127.0.0.1:12990/debian sid/main amd64 libelf1 amd64 0.189-4 [174 
kB]
Get:26 http://127.0.0.1:12990/debian sid/main amd64 dwz amd64 0.15-1 [109 kB]
Get:27 http://127.0.0.1:12990/debian sid/main amd64 libicu72 amd64 72.1-4 [9396 
kB]
Get:28 http://127.0.0.1:12990/debian sid/main amd64 libxml2 amd64 
2.9.14+dfsg-1.3 [686 kB]
Get:29 http://127.0.0.1:12990/debian sid/main amd64 gettext amd64 0.21-13+b1 
[1301 kB]
Get:30 http://127.0.0.1:12990/debian sid/main amd64 intltool-debian all 
0.35.0+20060710.6 [22.9 kB]
Get:31 http://127.0.0.1:12990/debian sid/main amd64 po-debconf all 1.0.21+nmu1 
[248 kB]
Get:32 http://127.0.0.1:12990/debian sid/main amd64 debhelper all 13.11.7 [956 
kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.3 MB in 0s (64.5 MB/s)
Selecting previously unselected package sensible-utils.
(Reading database ... 11452 files and directories currently installed.)
Preparing to unpack .../00-sensible-utils_0.0.20_all.deb ...
Unpacking sensible-utils (0.0.20) ...
Selecting previously unselected package bash-completion.
Preparing to unpack .../01-bash-completion_1%3a2.11-8_all.deb ...
Unpacking bash-completion (1:2.11-8) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../02-libmagic-mgc_1%3a5.45-2_amd64.deb ...
Unpacking libmagic-mgc (1:5.45-2) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../03-libmagic1_1%3a5.45-2_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.45-2) ...
Selecting previously unselected package file.
Preparing to unpack .../04-file_1%3a5.45-2_amd64.deb ...
Unpacking file (1:5.45-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../05-gettext-base_0.21-13+b1_amd64.deb ...
Unpacking gettext-base (0.21-13+b1) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../06-libuchardet0_0.0.7-1_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../07-groff-base_1.23.0-3_amd64.deb ...
Unpacking groff-base (1.23.0-3) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../08-bsdextrautils_2.39.2-4_amd64.deb ...
Unpacking bsdextrautils (2.39.2-4) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../09-libpipeline1_1.5.7-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.7-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../10-man-db_2.12.0-1_amd64.deb ...
Unpacking man-db (2.12.0-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../11-m4_1.4.19-4_amd64.deb ...
Unpacking m4 (1.4.19-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../12-autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../15-autopoint_0.21-13_all.deb ...
Unpacking autopoint (0.21-13) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../16-libdebhelper-perl_13.11.7_all.deb ...
Unpacking libdebhelper-perl (13.11.7) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.7-7_all.deb ...
Unpacking libtool (2.4.7-7) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../18-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../20-libsub-override-perl_0.09-4_all.deb ...
Unpacking libsub-override-perl (0.09-4) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.1-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../23-libelf1_0.189-4_amd64.deb ...
Unpacking libelf1:amd64 (0.189-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../24-dwz_0.15-1_amd64.deb ...
Unpacking dwz (0.15-1) ...
Selecting previously unselected package libicu72:amd64.
Preparing to unpack .../25-libicu72_72.1-4_amd64.deb ...
Unpacking libicu72:amd64 (72.1-4) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.14+dfsg-1.3) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.21-13+b1_amd64.deb ...
Unpacking gettext (0.21-13+b1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_13.11.7_all.deb ...
Unpacking debhelper (13.11.7) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack 
.../31-sbuild-build-depends-main-dummy_0.invalid.0_amd64.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up libpipeline1:amd64 (1.5.7-1) ...
Setting up libicu72:amd64 (72.1-4) ...
Setting up bsdextrautils (2.39.2-4) ...
Setting up libmagic-mgc (1:5.45-2) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.11.7) ...
Setting up libmagic1:amd64 (1:5.45-2) ...
Setting up gettext-base (0.21-13+b1) ...
Setting up m4 (1.4.19-4) ...
Setting up file (1:5.45-2) ...
Setting up autotools-dev (20220109.1) ...
Setting up bash-completion (1:2.11-8) ...
Setting up autopoint (0.21-13) ...
Setting up autoconf (2.71-3) ...
Setting up sensible-utils (0.0.20) ...
Setting up libuchardet0:amd64 (0.0.7-1) ...
Setting up libsub-override-perl (0.09-4) ...
Setting up libelf1:amd64 (0.189-4) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake 
(automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.13.1-1) ...
Setting up gettext (0.21-13+b1) ...
Setting up libtool (2.4.7-7) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up dh-strip-nondeterminism (1.13.1-1) ...
Setting up dwz (0.15-1) ...
Setting up groff-base (1.23.0-3) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.12.0-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up debhelper (13.11.7) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.37-12) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (amd64 included in any)

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 6.1.0-10-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 
(2023-07-14) amd64 (x86_64)
Toolchain package versions: binutils_2.41-6 dpkg-dev_1.22.0 g++-13_13.2.0-5 
gcc-13_13.2.0-5 libc6-dev_2.37-12 libstdc++-13-dev_13.2.0-5 libstdc++6_13.2.0-5 
linux-libc-dev_6.5.8-1
Package versions: apt_2.7.6 autoconf_2.71-3 automake_1:1.16.5-1.3 
autopoint_0.21-13 autotools-dev_20220109.1 base-files_13 base-passwd_3.6.2 
bash_5.2.15-2+b6 bash-completion_1:2.11-8 binutils_2.41-6 
binutils-common_2.41-6 binutils-x86-64-linux-gnu_2.41-6 bsdextrautils_2.39.2-4 
bsdutils_1:2.39.2-4 build-essential_12.10 bzip2_1.0.8-5+b1 coreutils_9.1-1 
cpp_4:13.2.0-1 cpp-13_13.2.0-5 dash_0.5.12-6 debconf_1.5.82 debhelper_13.11.7 
debian-archive-keyring_2023.4 debianutils_5.14 dh-autoreconf_20 
dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.10-1 dpkg_1.22.0 dpkg-dev_1.22.0 
dwz_0.15-1 e2fsprogs_1.47.0-2+b1 fakeroot_1.32.1-1 file_1:5.45-2 
findutils_4.9.0-5 g++_4:13.2.0-1 g++-13_13.2.0-5 gcc_4:13.2.0-1 gcc-13_13.2.0-5 
gcc-13-base_13.2.0-5 gettext_0.21-13+b1 gettext-base_0.21-13+b1 gpgv_2.2.40-1.1 
grep_3.11-3 groff-base_1.23.0-3 gzip_1.12-1 hostname_3.23+nmu1 
init-system-helpers_1.65.2 intltool-debian_0.35.0+20060710.6 libacl1_2.3.1-3 
libapt-pkg6.0_2.7.6 libarchive-zip-perl_1.68-1 libasan8_13.2.0-5 
libatomic1_13.2.0-5 libattr1_1:2.5.1-4 libaudit-common_1:3.1.1-1 
libaudit1_1:3.1.1-1 libbinutils_2.41-6 libblkid1_2.39.2-4 libbz2-1.0_1.0.8-5+b1 
libc-bin_2.37-12 libc-dev-bin_2.37-12 libc6_2.37-12 libc6-dev_2.37-12 
libcap-ng0_0.8.3-1+b3 libcap2_1:2.66-4 libcc1-0_13.2.0-5 
libcom-err2_1.47.0-2+b1 libcrypt-dev_1:4.4.36-2 libcrypt1_1:4.4.36-2 
libctf-nobfd0_2.41-6 libctf0_2.41-6 libdb5.3_5.3.28+dfsg2-2 
libdebconfclient0_0.271 libdebhelper-perl_13.11.7 libdpkg-perl_1.22.0 
libelf1_0.189-4 libext2fs2_1.47.0-2+b1 libfakeroot_1.32.1-1 libffi8_3.4.4-1 
libfile-stripnondeterminism-perl_1.13.1-1 libgcc-13-dev_13.2.0-5 
libgcc-s1_13.2.0-5 libgcrypt20_1.10.2-3 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 
libgmp10_2:6.3.0+dfsg-2 libgnutls30_3.8.1-4+b1 libgomp1_13.2.0-5 
libgpg-error0_1.47-2 libgprofng0_2.41-6 libgssapi-krb5-2_1.20.1-5 
libhogweed6_3.9.1-2 libhwasan0_13.2.0-5 libicu72_72.1-4 libidn2-0_2.3.4-1+b1 
libisl23_0.26-3 libitm1_13.2.0-5 libjansson4_2.14-2 libk5crypto3_1.20.1-5 
libkeyutils1_1.6.3-2 libkrb5-3_1.20.1-5 libkrb5support0_1.20.1-5 
liblsan0_13.2.0-5 liblz4-1_1.9.4-1 liblzma5_5.4.4-0.1 libmagic-mgc_1:5.45-2 
libmagic1_1:5.45-2 libmd0_1.1.0-1 libmount1_2.39.2-4 libmpc3_1.3.1-1 
libmpfr6_4.2.1-1 libnettle8_3.9.1-2 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 
libp11-kit0_0.25.0-5 libpam-modules_1.5.2-9.1 libpam-modules-bin_1.5.2-9.1 
libpam-runtime_1.5.2-9.1 libpam0g_1.5.2-9.1 libpcre2-8-0_10.42-4 
libperl5.36_5.36.0-9 libpipeline1_1.5.7-1 libquadmath0_13.2.0-5 
libseccomp2_2.5.4-1+b3 libselinux1_3.5-1 libsemanage-common_3.5-1 
libsemanage2_3.5-1 libsepol2_3.5-1 libsframe1_2.41-6 libsmartcols1_2.39.2-4 
libss2_1.47.0-2+b1 libssl3_3.0.12-1 libstdc++-13-dev_13.2.0-5 
libstdc++6_13.2.0-5 libsub-override-perl_0.09-4 libsystemd0_254.5-1 
libtasn1-6_4.19.0-3 libtinfo6_6.4+20231016-1 libtirpc-common_1.3.3+ds-1 
libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-7 libtsan2_13.2.0-5 
libubsan1_13.2.0-5 libuchardet0_0.0.7-1 libudev1_254.5-1 libunistring5_1.1-2 
libuuid1_2.39.2-4 libxml2_2.9.14+dfsg-1.3 libxxhash0_0.8.2-2 
libzstd1_1.5.5+dfsg2-2 linux-libc-dev_6.5.8-1 login_1:4.13+dfsg1-3 
logsave_1.47.0-2+b1 m4_1.4.19-4 make_4.3-4.1 man-db_2.12.0-1 
mawk_1.3.4.20230808-1 mount_2.39.2-4 ncurses-base_6.4+20231016-1 
ncurses-bin_6.4+20231016-1 passwd_1:4.13+dfsg1-3 patch_2.7.6-7 perl_5.36.0-9 
perl-base_5.36.0-9 perl-modules-5.36_5.36.0-9 po-debconf_1.0.21+nmu1 
rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-1 
sensible-utils_0.0.20 sysvinit-utils_3.08-3 tar_1.34+dfsg-1.2 tzdata_2023c-10 
usr-is-merged_37 util-linux_2.39.2-4 xz-utils_5.4.4-0.1 zlib1g_1:1.2.13.dfsg-3

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 3.0 (quilt)
Source: insserv
Binary: insserv
Architecture: any
Version: 1.24.0-1
Maintainer: Debian sysvinit maintainers 
<debian-init-divers...@chiark.greenend.org.uk>
Uploaders:  Petter Reinholdtsen <p...@debian.org>, Mark Hindley 
<lee...@debian.org>,
Homepage: https://github.com/slicer69/insserv
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/debian/insserv
Vcs-Git: https://salsa.debian.org/debian/insserv.git
Testsuite: autopkgtest
Build-Depends: bash-completion, debhelper-compat (= 12), po-debconf
Package-List:
 insserv deb misc optional arch=any
Checksums-Sha1:
 b5fcbad9ee6386dbd45850628d3cb1f37f9b9a7a 76535 insserv_1.24.0.orig.tar.gz
 9b0f49fc721551d5b84195a12703268e354e0f76 35836 insserv_1.24.0-1.debian.tar.xz
Checksums-Sha256:
 25db86e80c6219933441012cf9d31fb09023d0855edf64a3bfc9aa127d6e621e 76535 
insserv_1.24.0.orig.tar.gz
 5ecf63297f1a4a99c2679609eaeece2a28a16cf37487b81545fd337e6843ddb0 35836 
insserv_1.24.0-1.debian.tar.xz
Files:
 11d7f53f7f02c09a1d2a0793cb225891 76535 insserv_1.24.0.orig.tar.gz
 280b74dbb7271af02f97577d5bbe9143 35836 insserv_1.24.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmIUv94ACgkQ0opFvzKH
1km+qQ/9GVfQTTqmirScy5oE5bX9Ltg/rx7HbiYf0YcWCX2JrP1jg1Cce4IR8W9u
puVViCp06drsDVlyMmpYp8aScM6ZGFa8MdhKvf5fv06pLGCkkFVGf3zZk27SYcmt
A0VeWyPeRG/KoDe7qbp39wb2AMPQ64d13MZInOe5SNAMwO4meS2uC7RADQvy1E0p
4yusfrAnjdW1bcKrcNQWpEkJG2oR6blc28eawhyn165aq9samvwaopkjKVNUCQC0
opa3egx5oH170iWz9G9Z+r4tMav7iVyRZachWrAQAhb0XPEhcEi3vmI5V/TjgC8O
e6kDgLtCbrT1gedNpPqLumc9qMAIl+y4j1r4LHnm45Yt5VIiqrhKgmRRsNm7iV19
GUZaFY8yjmWm4GnRAd8jdEi3sgDtQ2ofWloZdekoy6cM55A8T0wnHNWJkajF+06u
lWnxMr9FiSIkBFB5KANrU85gzlvLi0klubSLxDOOMHqZ8BSUzQBT40CA6vvMQHeF
3irAerS+DQ+srCnQUxGsvhAWeJQAKAzj1YPuJW9Q4tjxSu1DEUVxZMfaUasCig/Q
VFEVcsb0r+Af3FPhf/RLYGtYm2uaYiWV6r9jZgsFMP0pqSDC+lqJeRsa2Jlsw8Jx
m+9hk4NdTuDnRYTQBRppqY/yAPuoHnHQ/SJvklNZw2cT65p3P8k=
=bdRW
-----END PGP SIGNATURE-----

gpgv: Signature made Tue Feb 22 10:50:06 2022 UTC
gpgv:                using RSA key 506C15A42B0AF5A0A85423EED28A45BF3287D649
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for 
./insserv_1.24.0-1.dsc: no acceptable signature found
dpkg-source: info: extracting insserv in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking insserv_1.24.0.orig.tar.gz
dpkg-source: info: unpacking insserv_1.24.0-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying install-binaries-ignore-PREFIX.patch
dpkg-source: info: applying 11_debian_conf.patch
dpkg-source: info: applying 110_portmap.patch
dpkg-source: info: applying warn_in_ignore_mode.patch
dpkg-source: info: applying 
0004-Fix-spurious-warnings-about-unknown-virtual-dependen.patch
dpkg-source: info: applying 0005-Fix-spelling-error-in-manpage.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=1
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-9b6ecbbe-48ed-462f-8959-f9b693a34744
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -sa
dpkg-buildpackage: info: source package insserv
dpkg-buildpackage: info: source version 1.24.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Mark Hindley <lee...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
echo -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
dh clean --with=bash-completion
   dh_auto_clean
        make -j1 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.o *~ insserv insserv.8 config.h .depend.* .system
rm -f insserv-1.24.0.tar.xz insserv-1.24.0.tar.xz.sig
rm -f insserv
rm -rf tests/root
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building insserv using existing ./insserv_1.24.0.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building insserv in insserv_1.24.0-1.debian.tar.xz
dpkg-source: info: building insserv in insserv_1.24.0-1.dsc
 debian/rules build
echo -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
dh build --with=bash-completion
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j1 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -W -Wall -Wunreachable-code -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wdate-time -D_FORTIFY_SOURCE=2   
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DINITDIR=\"/etc/init.d\" 
-DINSCONF=\"/etc/insserv.conf\" -pipe   -c map.c
cc -W -Wall -Wunreachable-code -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wdate-time -D_FORTIFY_SOURCE=2   
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DINITDIR=\"/etc/init.d\" 
-DINSCONF=\"/etc/insserv.conf\" -pipe   insserv.c -c 
insserv.c: In function ‘main’:
insserv.c:2923:20: warning: ignoring return value of ‘asprintf’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
 2923 |                    asprintf(&dependency_path, "%s/.", optarg);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
insserv.c:2927:20: warning: ignoring return value of ‘getcwd’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
 2927 |                    getcwd(current_dir, PATH_MAX);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
insserv.c:2928:20: warning: ignoring return value of ‘asprintf’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
 2928 |                    asprintf(&dependency_path, "%s/%s/.", current_dir, 
optarg);
      |                    
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -W -Wall -Wunreachable-code -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wdate-time -D_FORTIFY_SOURCE=2   
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DINITDIR=\"/etc/init.d\" 
-DINSCONF=\"/etc/insserv.conf\" -pipe   -c listing.c
cc -W -Wall -Wunreachable-code -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wdate-time -D_FORTIFY_SOURCE=2   
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DINITDIR=\"/etc/init.d\" 
-DINSCONF=\"/etc/insserv.conf\" -pipe -Wl,-z,relro -Wl,-z,now  -o insserv 
insserv.o listing.o map.o 
sed -r '\!@@BEGIN_SUSE@@!,\!@@(ELSE|END)_SUSE@@!d;\!@@(NOT|END)_SUSE@@!d' < 
insserv.8.in > insserv.8
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j1 check
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf tests/root/
cd tests && ./common

info: test simple script ordering.

insserv.conf

init.d:
firstscript
lastscript
middlescript

rc0.d:

rc1.d:

rc2.d:
S01firstscript
S02middlescript
S03lastscript

rc3.d:
S01firstscript
S02middlescript
S03lastscript

rc4.d:
S01firstscript
S02middlescript
S03lastscript

rc5.d:
S01firstscript
S02middlescript
S03lastscript

rc6.d:

rcS.d:

info: test if loop involving virtual facility is detected.

insserv: There is a loop between service mountall and hibernate-cleanup if 
started
insserv:  loop involving service hibernate-cleanup at depth 3
insserv:  loop involving service mdadm at depth 2
insserv: There is a loop between service mountall and hibernate-cleanup if 
started
insserv:  loop involving service mountall at depth 1
insserv: There is a loop between service hibernate-cleanup and mdadm if started
insserv: exiting now without changing boot order!
insserv.conf:
$local_fs       mountall
insserv.conf

init.d:
hibernate
mdadm
mountall.sh

rc0.d:

rc1.d:

rc2.d:

rc3.d:
S01hibernate
S02mountall.sh

rc4.d:

rc5.d:

rc6.d:

rcS.d:
success: 7 test executed, 0 nonfatal tests failed.
cd tests && severity=check ./run-testsuite

info: test normal boot sequence scripts, and their order

insserv: Could not read script nolsbheader: No such file or directory
insserv: warning: script 'nolsbheader' missing LSB tags
insserv: Could not read script nolsbheader: Success
insserv: warning: script 'nolsbheader' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script 
`nolsbheader'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script 
`nolsbheader'
insserv.conf

init.d:
beforenfs
checkfs.sh
checkroot.sh
halt
hwclock.sh
ifupdown
ifupdown-clean
kexec
killprocs
mountall.sh
mountdevsubfs.sh
mountkernfs.sh
mountnfs.sh
needallfs
needallfs2
needlocalfs
networking
nolsbheader
reboot
single
sysklogd
umountfs
umountnfs
umountroot

rc0.d:
K01hwclock.sh
K01needallfs
K01needallfs2
K01needlocalfs
K01sysklogd
K02umountnfs
K03networking
K04ifupdown
K05umountfs
K06umountroot
K07halt

rc1.d:
K01needallfs
K01needallfs2
K01needlocalfs
K01sysklogd
S01killprocs
S02single

rc2.d:
S01needallfs2
S01needlocalfs
S01sysklogd
S02needallfs

rc3.d:
S01needallfs2
S01needlocalfs
S01sysklogd
S02needallfs

rc4.d:
S01needallfs2
S01needlocalfs
S01sysklogd
S02needallfs

rc5.d:
S01needallfs2
S01needlocalfs
S01sysklogd
S02needallfs

rc6.d:
K01hwclock.sh
K01needallfs
K01needallfs2
K01needlocalfs
K01sysklogd
K02umountnfs
K03networking
K04ifupdown
K05umountfs
K06umountroot
K07kexec
K08reboot

rcS.d:
S01mountkernfs.sh
S02mountdevsubfs.sh
S03checkroot.sh
S04checkfs.sh
S05hwclock.sh
S05ifupdown-clean
S05mountall.sh
S06beforenfs
S06ifupdown
S07networking
S08mountnfs.sh

info: test if override files replace headers in the file

insserv.conf

init.d:
base
mover

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01mover
S02base

info: testing to insert scripts with a loop, and the effect of an override file

insserv: FATAL: service loop2 has to be enabled to use service loop1
insserv: exiting now!
insserv: FATAL: service loop1 has to be enabled to use service loop2
insserv: There is a loop between service loop2 and loop1 if started
insserv:  loop involving service loop1 at depth 2
insserv:  loop involving service loop2 at depth 1
insserv: There is a loop between service loop1 and loop2 if started
insserv: exiting now without changing boot order!

info: Try to reproduce BTS #540866

insserv.conf

init.d:
testscript

insserv:
override

rc0.d:
K01testscript

rc1.d:
K01testscript

rc2.d:
S01testscript

rc3.d:

rc4.d:
S01testscript

rc5.d:
S01testscript

rc6.d:
K01testscript

rcS.d:
info: Trying to remove the script
insserv.conf

init.d:
testscript

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:

info: testing to insert scripts with a longer loop, making sure it fail

insserv: There is a loop between service loop1 and loop3 if started
insserv:  loop involving service loop3 at depth 3
insserv:  loop involving service loop2 at depth 2
insserv: There is a loop between service loop1 and loop3 if started
insserv:  loop involving service loop1 at depth 1
insserv: There is a loop between service loop3 and loop2 if started
insserv: exiting now without changing boot order!

info: test handling of loops in the combination of start and stop sequences

insserv.conf

init.d:
startfirst
startsecond

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01startsecond
K02startfirst

rcS.d:
S01startfirst
S02startsecond

info: test handling of 'fake' loops in the combination of start and stop 
sequences

insserv.conf

init.d:
startfirst_stopfirst
startsecond_stoplast

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01startfirst_stopfirst
K02startsecond_stoplast

rcS.d:
S01startfirst_stopfirst
S02startsecond_stoplast

info: test handling of 'fake' loops using reverse depends

insserv.conf

init.d:
startfirst_stopfirst
startsecond_stoplast

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01startfirst_stopfirst
K02startsecond_stoplast

rcS.d:
S01startfirst_stopfirst
S02startsecond_stoplast

info: test if bad script in init.d/ with no symlinks in rc*.d/ make problems

insserv.conf

init.d:
distroglobal
sitelocal

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01distroglobal

rcS.d:
S01distroglobal

info: check that it work to insert scripts with only start runlevels

insserv.conf

init.d:
onlystart

insserv:
override

rc0.d:

rc1.d:

rc2.d:
S01onlystart

rc3.d:
S01onlystart

rc4.d:
S01onlystart

rc5.d:
S01onlystart

rc6.d:

rcS.d:

info: check that it work to insert scripts with only stop runlevels

insserv.conf

init.d:
onlystop

insserv:
override

rc0.d:
K01onlystop

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01onlystop

rcS.d:

info: test if script removal removes all symlinks.

insserv.conf

init.d:
oldscript

insserv:
override

rc0.d:

rc1.d:
K01oldscript

rc2.d:
S01oldscript

rc3.d:

rc4.d:
S01oldscript

rc5.d:
S01oldscript

rc6.d:

rcS.d:

info: detect segfault caused by script providing virtual facility.

insserv: script badheaderscript provides system facility $syslog, skipped!
insserv: script badheaderscript provides system facility $syslog, skipped!
insserv: script S02badheaderscript provides system facility $syslog, skipped!
insserv: script badheaderscript provides system facility $syslog, skipped!
insserv.conf

init.d:
badheaderscript
okscript

insserv:
override

rc0.d:
K01okscript

rc1.d:
K01okscript

rc2.d:
S01okscript
S02badheaderscript

rc3.d:
S01okscript

rc4.d:
S01okscript

rc5.d:
S01okscript

rc6.d:
K01okscript

rcS.d:

info: Check if insserv add start symlinks for scripts that
info: currently do not have them. #492526

insserv.conf

init.d:
disablestartscript

insserv:
override

rc0.d:
K01disablestartscript

rc1.d:
K01disablestartscript

rc2.d:
S01disablestartscript

rc3.d:
S01disablestartscript

rc4.d:
S01disablestartscript

rc5.d:
S01disablestartscript

rc6.d:
K01disablestartscript

rcS.d:
insserv.conf

init.d:
disablestartscript

insserv:
override

rc0.d:
K01disablestartscript

rc1.d:
K01disablestartscript

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01disablestartscript

rcS.d:

info: Check if insserv add stop symlinks for scripts that
info: currently do not have them.

insserv.conf

init.d:
disablestopscript

insserv:
override

rc0.d:
K01disablestopscript

rc1.d:
K01disablestopscript

rc2.d:
S01disablestopscript

rc3.d:
S01disablestopscript

rc4.d:
S01disablestopscript

rc5.d:
S01disablestopscript

rc6.d:
K01disablestopscript

rcS.d:
insserv.conf

init.d:
disablestopscript

insserv:
override

rc0.d:

rc1.d:

rc2.d:
S01disablestopscript

rc3.d:
S01disablestopscript

rc4.d:
S01disablestopscript

rc5.d:
S01disablestopscript

rc6.d:
K01disablestopscript

rcS.d:

info: Verify that introducing a loop in a working system do
info: not change the order of the scripts currently on disk.

insserv.conf

init.d:
mountall
needboth
needlocal
needremote

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01needboth
K02needremote
K03needlocal

rcS.d:
S01mountall
S02needlocal
S03needremote
S04needboth
info: calling insserv after introducing a bug in script needboth
insserv: There is a loop between service mountall and needboth if started
insserv:  loop involving service needboth at depth 2
insserv:  loop involving service mountall at depth 1
insserv: exiting now without changing boot order!
insserv.conf

init.d:
mountall
needboth
needlocal
needremote

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01needboth
K02needremote
K03needlocal

rcS.d:
S01mountall
S02needlocal
S03needremote
S04needboth

info: Verify that X-start-before work as it should.

insserv.conf

init.d:
startfirst
startlast

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01startfirst
S02startlast

info: Verify that X-stop-after work as it should.

insserv.conf

init.d:
stopafter
stopfirst

insserv:
override

rc0.d:
K01stopfirst
K02stopafter

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01stopfirst
K02stopafter

rcS.d:

info: Make sure that adding start levels do not change an existing installation.

insserv: warning: current start runlevel(s) (empty) of script `addstartscript' 
overrides LSB defaults (2 3 4 5).
insserv.conf

init.d:
addstartscript

insserv:
override

rc0.d:

rc1.d:
K01addstartscript

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:

info: Make sure that removing start levels do not change an existing 
installation.

insserv: warning: current start runlevel(s) (2 3 4 5) of script 
`remstartscript' overrides LSB defaults (empty).
insserv.conf

init.d:
remstartscript

insserv:
override

rc0.d:
K01remstartscript

rc1.d:
K01remstartscript

rc2.d:
S01remstartscript

rc3.d:
S01remstartscript

rc4.d:
S01remstartscript

rc5.d:
S01remstartscript

rc6.d:
K01remstartscript

rcS.d:

info: Make sure that adding stop levels do not change an existing installation.

insserv: warning: current stop runlevel(s) (empty) of script `addstopscript' 
overrides LSB defaults (0).
insserv.conf

init.d:
addstopscript

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01addstopscript

info: Make sure that removing stop levels do not change an existing 
installation.

insserv: warning: current stop runlevel(s) (0 6) of script `remstopscript' 
overrides LSB defaults (empty).
insserv.conf

init.d:
remstopscript

insserv:
override

rc0.d:
K01remstopscript

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01remstopscript

rcS.d:
S01remstopscript

info: test two initscripts providing same facility.
info: Not sure if this should fail or not.

insserv: script two: service samefac already provided!
insserv: script two: service samefac already provided!
insserv: exiting now!
insserv.conf

init.d:
one
two

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01one

info: test insertion of script requiring a virtual facility that doesn't exist

insserv: warning: could not find all dependencies for $bogusvirtualfacility
insserv.conf

init.d:
needbogusvirtual

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01needbogusvirtual

info: test that /etc/insserv.conf.d/ is used

insserv.conf

init.d:
dummy
facone
factwo
service

insserv:
override

insserv.conf.d:
facone
factwo

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01dummy
S02facone
S02factwo
S03service

info: test insertion of script missing Required-{Start,Stop} fields

insserv: script badheader is broken: incomplete LSB comment.
insserv: missing `Required-Start:' entry: please add even if empty.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: script badheader is broken: incomplete LSB comment.
insserv: missing `Required-Start:' entry: please add even if empty.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv.conf

init.d:
badheader

insserv:
override

rc0.d:
K01badheader

rc1.d:
K01badheader

rc2.d:
S01badheader

rc3.d:
S01badheader

rc4.d:
S01badheader

rc5.d:
S01badheader

rc6.d:
K01badheader

rcS.d:

info: test insertion of script missing Provides fields

insserv: script badheader is broken: incomplete LSB comment.
insserv: missing `Provides:' entry: please add.
insserv: script badheader is broken: incomplete LSB comment.
insserv: missing `Provides:' entry: please add.
insserv.conf

init.d:
badheader

insserv:
override

rc0.d:
K01badheader

rc1.d:
K01badheader

rc2.d:
S01badheader

rc3.d:
S01badheader

rc4.d:
S01badheader

rc5.d:
S01badheader

rc6.d:
K01badheader

rcS.d:

info: test insertion of script missing Default-Start field

insserv: script nodefstart is broken: incomplete LSB comment.
insserv: missing `Default-Start:'  entry: please add even if empty.
insserv: script nodefstart is broken: incomplete LSB comment.
insserv: missing `Default-Start:'  entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script 
`nodefstart'
insserv.conf

init.d:
nodefstart

insserv:
override

rc0.d:
K01nodefstart

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:
K01nodefstart

rcS.d:

info: test insertion of script missing Default-Stop field

insserv: script nodefstop is broken: incomplete LSB comment.
insserv: missing `Default-Stop:'   entry: please add even if empty.
insserv: script nodefstop is broken: incomplete LSB comment.
insserv: missing `Default-Stop:'   entry: please add even if empty.
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script 
`nodefstop'
insserv.conf

init.d:
nodefstop

insserv:
override

rc0.d:

rc1.d:

rc2.d:
S01nodefstop

rc3.d:
S01nodefstop

rc4.d:
S01nodefstop

rc5.d:
S01nodefstop

rc6.d:

rcS.d:

info: test that a symlink in /etc/init.d/ to another script does not cause 
problems

insserv: script symlink is a symlink to another script, skipped!
insserv.conf
outsider

init.d:
outsidelink
symlink
symlinked

insserv:
override

rc0.d:

rc1.d:
K01outsidelink
K01symlinked

rc2.d:
S01outsidelink
S01symlinked

rc3.d:
S01outsidelink
S01symlinked

rc4.d:
S01outsidelink
S01symlinked

rc5.d:
S01outsidelink
S01symlinked

rc6.d:

rcS.d:

info: test two or more initscripts providing same facility, making sure
info: that the first script can be registered with insserv, but others fail.

insserv: script abc: service service already provided!
insserv: script hjk: service service already provided!
insserv: script hjk: service service already provided!
insserv: script abc: service service already provided!
insserv: exiting now!
insserv: script abc: service service already provided!
insserv: script hjk: service service already provided!
insserv: exiting now!
insserv.conf

init.d:
abc
hjk
xyz

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01xyz

info: test behaviour of a script depending on another with the $all keyword
info: #491391

insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: There is a loop at service rmnologin if started
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv: Starting bootchart depends on rmnologin and therefore on system 
facility `$all' which can not be true!
insserv.conf

init.d:
bootchart
four
one
rmnologin
three
two

insserv:
override

rc0.d:

rc1.d:

rc2.d:
S01one
S01three
S01two
S02four
S98rmnologin
S99bootchart

rc3.d:
S01one
S01three
S01two
S02four
S98rmnologin
S99bootchart

rc4.d:
S01one
S01three
S01two
S02four
S98rmnologin
S99bootchart

rc5.d:
S01one
S01three
S01two
S02four
S98rmnologin
S99bootchart

rc6.d:

rcS.d:
error: incorrect 5 sequence bootchart not before rmnologin
error: 199 test executed, 1 fatal tests failed, 0 nonfatal test failed.
make[1]: *** [Makefile:165: check] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j1 check returned exit code 2
make: *** [debian/rules:13: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-10-26T07:58:54Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build Type: full
Build-Space: 1736
Build-Time: 11
Distribution: unstable
Fail-Stage: build
Host Architecture: amd64
Install-Time: 11
Job: insserv_1.24.0-1
Machine Architecture: amd64
Package: insserv
Package-Time: 34
Source-Version: 1.24.0-1
Space: 1736
Status: attempted
Version: 1.24.0-1
--------------------------------------------------------------------------------
Finished at 2023-10-26T07:58:54Z
Build needed 00:00:34, 1736k disk space
E: Build failure (dpkg-buildpackage died)

Reply via email to