On 2023-02-01 23:35:09, Francesco Poli wrote:
> On Wed, 01 Feb 2023 10:25:21 -0500 Antoine Beaupre wrote:

[...]

> I must admit that I am somewhat surprised that you see all these mail
> notifications about fixed packages as something new.
> apt-listbugs has notified root by (local) mail about fixed packages for
> ages. Through the cron job mechanism and, starting from 2019, through
> the manually-implemented mailing in the systemd timer.
>
> So, I wonder what has changed in your box, when you began to see these
> mail notifications...

I am not sure. I recently deployed unattended-upgrades on all my
machines, and recently upgraded them to bookworm, which might have
triggered more of those warnings. 2019 is not that long ago though, was
this part of bullseye?

[...]

> Well, it's the first time that someone complains about these mail
> notifications.

Hi! :)

> Personally, I like to be informed, when a bug that I feared has been
> fixed, and the fixed package can finally be upgraded on my box.
>
> Anyway, that's a matter of preference, I must admit.
> Hence, it may make sense to implement an option to silence those
> notifications...

Glad you are open to the suggestion, thanks!

[...]

> I think that the best place where I can implement the option is
> probably an APT preference to be read (via 'apt-config') by aptcleanup,
> which would suppress its " Fixed packages:" output.

Yeah, that's what I had in mind too...

> But I am afraid that this is not the right time to implement that for
> bookworm.
> I won't introduce such a change during the freeze.
> I will probably do so for trixie, after bookworm is released.

Oh, okay. I'm happy to test a patch that would implement this, for what
that's worth though...

> In the meanwhile, you could try the attached patch as temporary
> workaround for your specific case (the "I do not want any mail
> notifications" case).
> Please let me know whether it works as intended.

Ah well, I thought I could write something like this on my own of
course, but I didn't want to diverge from upstream and forget I had that
patch lying around. I suspect it might just work, indeed, as the caller
checks to see if there's any output beforing firing off that email...

Thanks for the patch!
-- 
People in glass houses shouldn't throw stones.
People in glass cities shouldn't fire missiles.
                        - Banksy

Reply via email to