[Pkg-clamav-devel] Bug#887273: havp should depend on e2fsprogs explicitly

Andreas Henriksson andreas at fatal.se
Fri Jan 19 15:05:25 UTC 2018


Hello,

On Sun, Jan 14, 2018 at 08:05:37PM +0100, Helmut Grohne wrote:
> Package: havp
[...]
> DEBIAN/postinst contains mkfs.ext2. According to file it is a POSIX shell script, ASCII text executable
[...]

I've looked into havp packaging and *currently* havp needs a Depends on
e2fsprogs.

The mkfs.ext2 usage is conditional on the debconf variable
havp/loopback_mount being true, which is the default. The alternative to
adding a depends on e2fsprogs is to refactor the havp.config so that
it checks for mkfs.ext2 existance and gives no other option than false
on havp/loopback_mount if mkfs.ext2 doesn't exist (probably together
with a debconf prompt stating that) to allow downgrading e2fsprogs
dependency to Recommends or even Suggests. Would be great to hear from
the maintainer if complicating the config/templates part is worth
it to avoid the Depends on e2fsprogs!

Regards,
Andreas Henriksson



More information about the Pkg-clamav-devel mailing list