Package: opencryptoki
Version: 3.8.1+dfsg-2
Severity: serious

Hi,

Somehow the postinst and prerm scripts are trying to start and stop the
tmpfiles.conf "service":

# Automatically added by dh_systemd_start/10.10.5
if [ -d /run/systemd/system ]; then
        systemctl --system daemon-reload >/dev/null || true
        if [ -n "$2" ]; then
                _dh_action=try-restart
        else
                _dh_action=start
        fi
        deb-systemd-invoke $_dh_action 'tmpfiles.conf' >/dev/null || true
fi
# End automatically added section

# Automatically added by dh_systemd_start/10.10.5
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
        deb-systemd-invoke stop 'tmpfiles.conf' >/dev/null
fi
# End automatically added section

This is completely boggus and makes the uninstallation of the package
fails.

That tmpfiles.conf file should probably be called opencryptoki.conf and
be installed in /usr/lib/tmpfiles.d/ instead.

Kind regards,

Laurent Bigonville

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

Kernel: Linux 4.9.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to