# Should uninstall scripts clean up ignored diagnosis warnings for removed apps?

**URL:** <https://forum.yunohost.org/t/should-uninstall-scripts-clean-up-ignored-diagnosis-warnings-for-removed-apps/41113>\
**Category:** Discuss\
**Tags:** diagnosis, english\
**Created:** [December 18, 2025, 8:23am UTC](https://forum.yunohost.org/t/should-uninstall-scripts-clean-up-ignored-diagnosis-warnings-for-removed-apps/41113 "2025-12-18T08:23:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![partutokko](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@partutokko](https://forum.yunohost.org/u/partutokko)\
**Post date:** [December 18, 2025, 8:23am UTC](https://forum.yunohost.org/t/should-uninstall-scripts-clean-up-ignored-diagnosis-warnings-for-removed-apps/41113/1 "2025-12-18T08:23:43Z")

</div>

### Discuss

When running `yunohost diagnosis ignore --list`, I get a list of ignored warnings. Some of these (especially in the _services_ category) originate from software I uninstalled a long time ago and don’t even remember. I can imagine a scenario where, after reinstalling an app, I won’t be notified about relevant warnings because of these long-forgotten filters.

Shouldn’t the uninstall script check if any ignored warning filters are associated with the app being removed and clean them up accordingly?

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [December 18, 2025, 11:52am UTC](https://forum.yunohost.org/t/should-uninstall-scripts-clean-up-ignored-diagnosis-warnings-for-removed-apps/41113/2 "2025-12-18T11:52:52Z")

</div>

Unless the remove script has the remove line for that service.

What service is still there after removing the app?

---

<div class="post-metadata">

**Author:** ![partutokko](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@partutokko](https://forum.yunohost.org/u/partutokko)\
**Post date:** [December 18, 2025, 12:55pm UTC](https://forum.yunohost.org/t/should-uninstall-scripts-clean-up-ignored-diagnosis-warnings-for-removed-apps/41113/3 "2025-12-18T12:55:09Z")

</div>

This time it was Cockpit. There was another one for sure but I can’t recall its name unfortunately.
