#1140124 davfs2: please do "rm -rf /var/cache/davfs2" on purge

Package:
davfs2
Source:
davfs2
Description:
mount a WebDAV resource as a regular file system
Submitter:
Alexandre Detiste
Date:
2026-06-16 05:59:02 UTC
Severity:
normal
#1140124#5
Date:
2026-06-16 05:57:14 UTC
From:
To:
Dear Maintainer,

I noticed while browsing Debian Code Search that
this package creates /var/cache/davfs2"  with debian/dirs.

This makes it piuparts compliant;
because piuparts does not actualy run the packages;
but I guess that after some real world usage of
this package there would be some files in this directory.

Please ensure that this directory is cleansed on purge.

This can be handled by a full blow  .postrm script
that match the existing .postinst script
or with a one-line debian/purge file
& a dependecy on dh-sequence-cruft.

Greetings

Alexandre