Package: ferm
Version: 2.2-3
Severity: minor
Tags: patch

Hello,

the file /etc/default/ferm is autogenerated by ferm's postinst script if
it doesn't exist by piping an here-doc into it.

A line in this here-doc reads:

  # additional paramaters for ferm (like --def '$foo=bar')

Because the $ is not escaped, the $foo gets expanded to "" because it's
unset. As a result, the target file contains the line:

  # additional paramaters for ferm (like --def '=bar')

This will be solved by escaping the $ in the here-doc or disabling
here-doc variable interpolation.

Thank you,
youam

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-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
Init: systemd (via /run/systemd/system)


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