Bug#1110320: insserv: ignores --path when writing dependency files

Andrew Bower andrew at bower.uk
Sun Aug 3 09:48:43 BST 2025


Package: insserv
Version: 1.26.0-1
Severity: minor

Dear Maintainer,

When specifying --path to an alternative /etc/init.d location insserv ignores
this path for writing the Makefile-style dependency files.

For example:

  /usr/sbin/insserv --path /home/a/zz/etc/init.d \
                    --override /home/a/zz/etc/insserv/overrides/ \
                    --config /home/a/zz/etc/insserv.conf \
                    --verbose

Gives:

  insserv: warning: could not find all dependencies for $portmap
  insserv: fopen(/etc/init.d/.depend.boot): Permission denied

I have given this severity 'minor' because I imagine chroot is normally used
for this sort of requirement. That said, I expect this is reasonable and not
too hard to fix.

(BTW: the bootchart2 package mentioned in Suggests below is not in the
archive.)

Thanks,

Andrew


-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.37+deb13-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages insserv depends on:
ii  libc6  2.41-11

insserv recommends no packages.

Versions of packages insserv suggests:
pn  bootchart2  <none>

-- no debconf information



More information about the Debian-init-diversity mailing list