I did work around this with update trigger that re-enables the service, but WHY?
The template is debian-13-minimal based.
Apparently line 60 has something to do with it, but I have no clue how to fix.
I tried running preinst, postinst and postrm scripts manually with different arguments but was not able to reproduce the effect, yet, with each package upgrade I see this.
Looks like a qubes script is trying to set shopt settings when it has been invoked with #!/bin/sh rather than #!/bin/bash. That works ok on Fedora but doesn’t work on Debian.
Played a bit more with that, but could not find why it is not reactivated.
Even more: if I reset status of qubes-core-agent to “unpacked” and manually run dpkg --configure, qubes-bind-dirs gets properly re-enabled.