I: pbuilder: network access will be disabled during build
I: Current time: Wed Jun 12 01:24:57 +14 2024
I: pbuilder-time-stamp: 1718105097
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz]
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
I: Copying source file
I: copying [insserv_1.24.0-1.dsc]
I: copying [./insserv_1.24.0.orig.tar.gz]
I: copying [./insserv_1.24.0-1.debian.tar.xz]
I: Extracting source
gpgv: Signature made Wed Feb 23 00:50:06 2022 +14
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 insserv-1.24.0
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
I: using fakeroot in build.
I: Installing the build-deps
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/D01_modify_environment starting
debug: Running on codethink15-arm64.
I: Changing host+domainname to test build reproducibility
I: Adding a custom variable just for the fun of it...
I: Changing /bin/sh to bash
'/bin/sh' -> '/bin/bash'
lrwxrwxrwx 1 root root 9 Jun 12 01:25 /bin/sh -> /bin/bash
I: Setting pbuilder2's login shell to /bin/bash
I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/D01_modify_environment finished
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/D02_print_environment starting
I: set
  BASH=/bin/sh
  BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath
  BASH_ALIASES=()
  BASH_ARGC=()
  BASH_ARGV=()
  BASH_CMDS=()
  BASH_LINENO=([0]="12" [1]="0")
  BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:.
  BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment")
  BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu")
  BASH_VERSION='5.2.15(1)-release'
  BUILDDIR=/build
  BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other'
  BUILDUSERNAME=pbuilder2
  BUILD_ARCH=arm64
  DEBIAN_FRONTEND=noninteractive
  DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8'
  DIRSTACK=()
  DISTRIBUTION=bookworm
  EUID=0
  FUNCNAME=([0]="Echo" [1]="main")
  GROUPS=()
  HOME=/var/lib/jenkins
  HOSTNAME=i-capture-the-hostname
  HOSTTYPE=aarch64
  HOST_ARCH=arm64
  IFS=' 	
  '
  LANG=C
  LANGUAGE=nl_BE:nl
  LC_ALL=C
  MACHTYPE=aarch64-unknown-linux-gnu
  MAIL=/var/mail/root
  OPTERR=1
  OPTIND=1
  OSTYPE=linux-gnu
  PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path
  PBCURRENTCOMMANDLINEOPERATION=build
  PBUILDER_OPERATION=build
  PBUILDER_PKGDATADIR=/usr/share/pbuilder
  PBUILDER_PKGLIBDIR=/usr/lib/pbuilder
  PBUILDER_SYSCONFDIR=/etc
  PIPESTATUS=([0]="0")
  POSIXLY_CORRECT=y
  PPID=26879
  PS4='+ '
  PWD=/
  SHELL=/bin/bash
  SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix
  SHLVL=3
  SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.sknGwE33/pbuilderrc_ak0E --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.sknGwE33/b2 --logfile b2/build.log --extrapackages usrmerge insserv_1.24.0-1.dsc'
  SUDO_GID=117
  SUDO_UID=110
  SUDO_USER=jenkins
  TERM=unknown
  TZ=/usr/share/zoneinfo/Etc/GMT-14
  UID=0
  USER=root
  USERNAME=root
  _='I: set'
  http_proxy=http://192.168.101.16:3128
I: uname -a
  Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux
I: ls -l /bin
  lrwxrwxrwx 1 root root 7 Jun  9 06:48 /bin -> usr/bin
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/D02_print_environment finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: arm64
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: bash-completion, debhelper-compat (= 12), po-debconf
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 19616 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on bash-completion; however:
  Package bash-completion is not installed.
 pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however:
  Package debhelper-compat is not installed.
 pbuilder-satisfydepends-dummy depends on po-debconf; however:
  Package po-debconf is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
The following NEW packages will be installed:
  autoconf{a} automake{a} autopoint{a} autotools-dev{a} bash-completion{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} 
The following packages are RECOMMENDED but will NOT be installed:
  curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 
0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.6 MB of archives. After unpacking 75.9 MB will be used.
Writing extended state information...
Get: 1 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB]
Get: 2 http://deb.debian.org/debian bookworm/main arm64 bash-completion all 1:2.11-6 [234 kB]
Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB]
Get: 4 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB]
Get: 5 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB]
Get: 6 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB]
Get: 7 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB]
Get: 8 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB]
Get: 9 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB]
Get: 10 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB]
Get: 11 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB]
Get: 12 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB]
Get: 13 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB]
Get: 14 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB]
Get: 15 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB]
Get: 16 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB]
Get: 17 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB]
Get: 18 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB]
Get: 19 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB]
Get: 20 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB]
Get: 21 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B]
Get: 22 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB]
Get: 23 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B]
Get: 24 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB]
Get: 25 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB]
Get: 26 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB]
Get: 27 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.2 [620 kB]
Get: 28 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB]
Get: 29 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get: 30 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB]
Get: 31 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB]
Fetched 18.6 MB in 0s (49.4 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package sensible-utils.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19616 files and directories currently installed.)
Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ...
Unpacking sensible-utils (0.0.17+nmu1) ...
Selecting previously unselected package bash-completion.
Preparing to unpack .../01-bash-completion_1%3a2.11-6_all.deb ...
Unpacking bash-completion (1:2.11-6) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../02-libmagic-mgc_1%3a5.44-3_arm64.deb ...
Unpacking libmagic-mgc (1:5.44-3) ...
Selecting previously unselected package libmagic1:arm64.
Preparing to unpack .../03-libmagic1_1%3a5.44-3_arm64.deb ...
Unpacking libmagic1:arm64 (1:5.44-3) ...
Selecting previously unselected package file.
Preparing to unpack .../04-file_1%3a5.44-3_arm64.deb ...
Unpacking file (1:5.44-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../05-gettext-base_0.21-12_arm64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package libuchardet0:arm64.
Preparing to unpack .../06-libuchardet0_0.0.7-1_arm64.deb ...
Unpacking libuchardet0:arm64 (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../07-groff-base_1.22.4-10_arm64.deb ...
Unpacking groff-base (1.22.4-10) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../08-bsdextrautils_2.38.1-5+b1_arm64.deb ...
Unpacking bsdextrautils (2.38.1-5+b1) ...
Selecting previously unselected package libpipeline1:arm64.
Preparing to unpack .../09-libpipeline1_1.5.7-1_arm64.deb ...
Unpacking libpipeline1:arm64 (1.5.7-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../10-man-db_2.11.2-2_arm64.deb ...
Unpacking man-db (2.11.2-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../11-m4_1.4.19-3_arm64.deb ...
Unpacking m4 (1.4.19-3) ...
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-12_all.deb ...
Unpacking autopoint (0.21-12) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../16-libdebhelper-perl_13.11.4_all.deb ...
Unpacking libdebhelper-perl (13.11.4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.7-5_all.deb ...
Unpacking libtool (2.4.7-5) ...
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:arm64.
Preparing to unpack .../23-libelf1_0.188-2.1_arm64.deb ...
Unpacking libelf1:arm64 (0.188-2.1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../24-dwz_0.15-1_arm64.deb ...
Unpacking dwz (0.15-1) ...
Selecting previously unselected package libicu72:arm64.
Preparing to unpack .../25-libicu72_72.1-3_arm64.deb ...
Unpacking libicu72:arm64 (72.1-3) ...
Selecting previously unselected package libxml2:arm64.
Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.2_arm64.deb ...
Unpacking libxml2:arm64 (2.9.14+dfsg-1.2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.21-12_arm64.deb ...
Unpacking gettext (0.21-12) ...
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.4_all.deb ...
Unpacking debhelper (13.11.4) ...
Setting up libpipeline1:arm64 (1.5.7-1) ...
Setting up libicu72:arm64 (72.1-3) ...
Setting up bsdextrautils (2.38.1-5+b1) ...
Setting up libmagic-mgc (1:5.44-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.11.4) ...
Setting up libmagic1:arm64 (1:5.44-3) ...
Setting up gettext-base (0.21-12) ...
Setting up m4 (1.4.19-3) ...
Setting up file (1:5.44-3) ...
Setting up autotools-dev (20220109.1) ...
Setting up bash-completion (1:2.11-6) ...
Setting up autopoint (0.21-12) ...
Setting up autoconf (2.71-3) ...
Setting up sensible-utils (0.0.17+nmu1) ...
Setting up libuchardet0:arm64 (0.0.7-1) ...
Setting up libsub-override-perl (0.09-4) ...
Setting up libelf1:arm64 (0.188-2.1) ...
Setting up libxml2:arm64 (2.9.14+dfsg-1.2) ...
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-12) ...
Setting up libtool (2.4.7-5) ...
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.22.4-10) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.11.2-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up debhelper (13.11.4) ...
Processing triggers for libc-bin (2.36-9) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
usrmerge is already the newest version (35).
fakeroot is already the newest version (1.31-1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Building the package
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/A99_set_merged_usr starting
Re-configuring usrmerge...
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/A99_set_merged_usr finished
hostname: Temporary failure in name resolution
I: Running cd /build/insserv-1.24.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S  > ../insserv_1.24.0-1_source.changes
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 <leepen@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 fakeroot debian/rules clean
echo -g -O2 -ffile-prefix-map=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security 
-g -O2 -ffile-prefix-map=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security
dh clean --with=bash-completion
   dh_auto_clean
	make -j8 distclean
make[1]: Entering directory '/build/insserv-1.24.0'
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 '/build/insserv-1.24.0'
   dh_clean
 debian/rules build
echo -g -O2 -ffile-prefix-map=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security 
-g -O2 -ffile-prefix-map=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security
dh build --with=bash-completion
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/insserv-1.24.0'
sed -r '\!@@BEGIN_SUSE@@!,\!@@(ELSE|END)_SUSE@@!d;\!@@(NOT|END)_SUSE@@!d' < insserv.8.in > insserv.8
cc -W -Wall -Wunreachable-code -g -O2 -ffile-prefix-map=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security  -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=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security  -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=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security  -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=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security  -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 
make[1]: Leaving directory '/build/insserv-1.24.0'
   dh_auto_test
	make -j8 check
make[1]: Entering directory '/build/insserv-1.24.0'
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 loop2 and loop1 if started
insserv:  loop involving service loop1 at depth 3
insserv:  loop involving service loop3 at depth 2
insserv: There is a loop between service loop2 and loop1 if started
insserv:  loop involving service loop2 at depth 1
insserv: There is a loop between service loop1 and loop3 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 needboth and mountall if started
insserv:  loop involving service mountall at depth 2
insserv:  loop involving service needboth at depth 1
insserv: There is a loop at service mountall if started
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 hjk: service service already provided!
insserv: script abc: 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: There is a loop at service bootchart if started
insserv.conf

init.d:
bootchart
four
one
rmnologin
three
two

insserv:
override

rc0.d:

rc1.d:

rc2.d:
S01one
S01three
S01two
S02four
S98bootchart
S99rmnologin

rc3.d:
S01one
S01three
S01two
S02four
S98bootchart
S99rmnologin

rc4.d:
S01one
S01three
S01two
S02four
S98bootchart
S99rmnologin

rc5.d:
S01one
S01three
S01two
S02four
S98bootchart
S99rmnologin

rc6.d:

rcS.d:

info: now add $all keyword to bootchart script and reinsert

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
S03rmnologin
S04bootchart

rc3.d:
S01one
S01three
S01two
S02four
S03rmnologin
S04bootchart

rc4.d:
S01one
S01three
S01two
S02four
S03rmnologin
S04bootchart

rc5.d:
S01one
S01three
S01two
S02four
S03rmnologin
S04bootchart

rc6.d:

rcS.d:

info: add yet another script depending on $all

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.conf

init.d:
all
bootchart
four
one
rmnologin
three
two

insserv:
override

rc0.d:

rc1.d:

rc2.d:
S01one
S01three
S01two
S02four
S03all
S03rmnologin
S04bootchart

rc3.d:
S01one
S01three
S01two
S02four
S03all
S03rmnologin
S04bootchart

rc4.d:
S01one
S01three
S01two
S02four
S03all
S03rmnologin
S04bootchart

rc5.d:
S01one
S01three
S01two
S02four
S03all
S03rmnologin
S04bootchart

rc6.d:

rcS.d:

info: Check that start dependency on $all only affect the start
sequence. BTS #485307

insserv.conf

init.d:
center
early
late
zcomplex

insserv:
override

rc0.d:
K01zcomplex
K02late
K03center
K04early

rc1.d:

rc2.d:
S01early
S02zcomplex
S03center
S04late

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:

info: add a regular file where only symlinks are expected (#493202)

insserv: Could not read script S06badboy: No such file or directory
insserv: warning: script is corrupt or invalid: /build/insserv-1.24.0/tests/root/etc/init.d/../rcS.d/S06badboy
insserv.conf

init.d:
goodboy

insserv:
override

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01goodboy
S06badboy

info: Check if X-Interactive header work
BTS #458224, #580564

insserv.conf

init.d:
after
alone1
alone2
first

insserv:
override

rc0.d:
K01after
K01alone1
K01alone2
K02first

rc1.d:

rc2.d:
S01first
S02alone1
S03alone2
S04after

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:

info: test how recursive /etc/insserv.conf settings show up
info: in .depend.boot.  BTS #534526.

insserv.conf

init.d:

insserv:
override
insserv.conf

init.d:
dbus
hal
mountall

insserv:
override

rc0.d:

rc1.d:
S01dbus
S01mountall
S02hal

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:

info: test insserv handle virtual facilities depending on itself.

insserv.conf

init.d:

insserv:
override
insserv: Loop detected during expanding system facilities in the insserv.conf file(s): $local_fs +mountall
insserv.conf

init.d:
testscript

insserv:
override

info: Test if home made virtual facilities work as they should.

insserv: warning: could not find all dependencies for $mail-transport-agent
insserv: warning: could not find all dependencies for $mail-transport-agent
insserv: warning: could not find all dependencies for $mail-transport-agent
insserv.conf

init.d:
test1
test2

insserv:
override

insserv.conf.d:

rc0.d:

rc1.d:
S01test1
S01test2

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
insserv.conf

init.d:
test1
test2
test3
test4

insserv:
override

insserv.conf.d:
test3
test4

rc0.d:

rc1.d:
S01test3
S02test4
S03test1
S03test2

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:

info: test if insserv handle upstart jobs properly.

insserv.conf

init.d:

insserv:
override

insserv.conf.d:
insserv.conf

init:
upstart-test

init.d:
test
upstart-test

insserv:
override

insserv.conf.d:

rc0.d:

rc1.d:
S01upstart-test
S02test

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:

info: test if insserv detect loop involving virtual facility,
info: x-start-before and should-start.  Issue detected in BTS
info: report #554905.

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: FATAL: service mdadm has to be enabled to use service test
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:  loop involving service mountall at depth 4
insserv: exiting now without changing boot order!
insserv.conf

init.d:
hibernate
mdadm
mountall.sh
test

insserv:
override

insserv.conf.d:

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01hibernate
S02mountall.sh

info: test if insserv accepts 'corekeeper' but rejects core dumps
info: named '*.core' or 'core'
info: See bug report #554905.

insserv: script name somescript.core is not valid, skipped!
insserv: script name core is not valid, skipped!
insserv.conf

init.d:
core
corekeeper
somescript.core

insserv:
override

insserv.conf.d:

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01corekeeper

info: test if -s|--show-all option works as it should

01	0,1,6	-		/etc/init.d/localscript
01	0,6	-		/etc/init.d/shutdownscript
01	-	2,3,4,5		/etc/init.d/localscript
01	-	S		/etc/init.d/bootscript

info: mountall-bootclean.sh must start before bootmisc.sh

insserv.conf

init.d:
bootmisc.sh
mountall-bootclean.sh
mountall.sh

insserv:
override

insserv.conf.d:

rc0.d:

rc1.d:

rc2.d:

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01mountall.sh
S02mountall-bootclean.sh
S03bootmisc.sh
insserv.conf

init.d:
nfs-common
nfs-server
rpcbind

insserv:
override

insserv.conf.d:

rc0.d:

rc1.d:

rc2.d:
S01nfs-common
S02nfs-server

rc3.d:

rc4.d:

rc5.d:

rc6.d:

rcS.d:
S01rpcbind
success: 240 test executed, 0 nonfatal tests failed.
make[1]: Leaving directory '/build/insserv-1.24.0'
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
echo -g -O2 -ffile-prefix-map=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security 
-g -O2 -ffile-prefix-map=/build/insserv-1.24.0=. -fstack-protector-strong -Wformat -Werror=format-security
dh binary --with=bash-completion
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install --destdir=debian/insserv/
	make -j8 install DESTDIR=/build/insserv-1.24.0/debian/insserv AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/insserv-1.24.0'
mkdir -p   /build/insserv-1.24.0/debian/insserv/sbin
mkdir -p   /build/insserv-1.24.0/debian/insserv/usr/share/man/man8
mkdir -p   /build/insserv-1.24.0/debian/insserv/etc
install -m 0755 insserv        /build/insserv-1.24.0/debian/insserv/sbin/
install -c -m 0644 insserv.8      /build/insserv-1.24.0/debian/insserv/usr/share/man/man8/
# Only install configuration file if it does not exist. Do not overwrite distro config.
if [ -f /build/insserv-1.24.0/debian/insserv/etc/insserv.conf ]; then install -c -m 0644 insserv.conf /build/insserv-1.24.0/debian/insserv/etc/insserv.conf.sample ; fi
if [ ! -f /build/insserv-1.24.0/debian/insserv/etc/insserv.conf ] ; then install -c -m 0644 insserv.conf /build/insserv-1.24.0/debian/insserv/etc/ ; fi
make[1]: Leaving directory '/build/insserv-1.24.0'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installman
   dh_bash-completion
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: package insserv: substitution variable ${perl:Depends} unused, but is defined
dpkg-gencontrol: warning: package insserv: substitution variable ${perl:Depends} unused, but is defined
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'insserv-dbgsym' in '../insserv-dbgsym_1.24.0-1_arm64.deb'.
dpkg-deb: building package 'insserv' in '../insserv_1.24.0-1_arm64.deb'.
 dpkg-genbuildinfo --build=binary -O../insserv_1.24.0-1_arm64.buildinfo
 dpkg-genchanges --build=binary -O../insserv_1.24.0-1_arm64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
dpkg-genchanges: info: including full source code in upload
I: copying local configuration
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/B01_cleanup starting
I: user script /srv/workspace/pbuilder/26879/tmp/hooks/B01_cleanup finished
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env 
I: removing directory /srv/workspace/pbuilder/26879 and its subdirectories
I: Current time: Wed Jun 12 01:25:44 +14 2024
I: pbuilder-time-stamp: 1718105144