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

    From Andrew Bower@21:1/5 to All on Sun Aug 3 11:00:01 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Hindley@21:1/5 to Andrew Bower on Sun Aug 3 11:30:01 2025
    Andrew,

    On Sun, Aug 03, 2025 at 09:48:43AM +0100, Andrew Bower wrote:
    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.

    If I have understood what you are trying to do, I think you need to specify --insserv-dir as well.

    Mark

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)