Control: tags -1 unreproducible
Lucas,
Thanks for this. I am afraid I am unable to reproduce.
On Tue, Jul 08, 2025 at 01:58:19PM +0200, Lucas Nussbaum wrote:
I suppose that this happens if exim4-base is unpacked but not configured before utrans-rc is configured, but I'm not sure.
There might be a potential issue in that /etc/init.d/exim is in exim4-base whereas /usr/lib/systemd/system/exim4.service is in exim4-daemon-light.
Having said that, I cannot generate a failure by installing utrans-rc and exim4-base or exim4-daemon-light. It would seem that your error is caused by utrans-rc producing /etc/init.d/exim4 from /usr/lib/systemd/system/exim4.service
before exim4-base is installed. But exim4-daemon-light depends on exim4-base, so
I don't currently see how that can happen.
Do you have a reliable reproducer?
On Sat, 12 Jul 2025 15:38:41 +0100 Mark Hindley <mark@hindley.org.uk> wrote:
+ # Remove any timestamp to force regeneration of all scripts.
+ rm -f /var/tmp/${DPKG_MAINTSCRIPT_PACKAGE}.stamp
This is a very predictable path. Normally those have security concerns as anybody on the system can create this file between here and where it's used. Were those considered? (I haven't checked the code, I only read the patch here).
If the timestamp is put in the (far) future, the action you want to trigger might not happen. What is the timestamp used for?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 151:12:59 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,800 |