Package: sks
Version: 1.1.5-1
Severity: normal

the sks postinst script is set -e and it has:


        LOG_FILES=$(cd ${SKS_DIR}/${DBHOME}; ls -1 | grep -E "^log\.")

which executes when the bdb recovery tool it wants to use doesn't exist.

in this scenario, if there is no logfile, then this assignment will
return a non-zero code, which causes set -e to fail.  The postinst
script shouldn't be this brittle.

       --dkg

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

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sks depends on:
ii  adduser    3.113+nmu3
ii  db-util    5.3.0
ii  libc6      2.18-7
ii  libdb5.3   5.3.28-3
ii  logrotate  3.8.7-1
ii  zlib1g     1:1.2.8.dfsg-1

sks recommends no packages.

Versions of packages sks suggests:
ii  postfix [mail-transport-agent]  2.11.0-1
pn  procmail                        <none>

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to