Thank you hideou aoi for the report and to Athos for the excellent analysis!
Summary: 1. On a fresh Noble installation, /etc/default/sysstat says ENABLED="false" but contrary to that the service is active, and further if/when the sysstat package is upgraded due to a bugfix, it will become inactive. 2. On a system upgraded from a previous Ubuntu release, given the root cause analysis I assume that the service will actually be inactive, meaning that behaviour is different between systems that have been upgraded from prior releases and systems that have been freshly installed. We now have a question of how to re-converge this divergence. Should all systems have the service active by default, or inactive? Do we add a third category by not touching existing services, and if we do that, should systems installed or upgraded after our fix have the service active or inactive? In 24.04 we started to ship sysstat by default as part of a more general performance engineering effort, to make Ubuntu systems ready for performance engineering by default. For sysstat to be useful for that purpose though, the data it collects needs to be available. I've done some analysis that suggests that the impact of having sysstat services enabled by default would be negligible. I'll post details of that analysis separately. Therefore I think the path forward is to ensure that sysstat is correctly enabled on 24.04 by default. This would mean fixing the packaging issue that causes the service to run in certain circumstances even when ENABLED="false" is set in /etc/default/sysstat, but also defaulting to ENABLED="true" and making a one-off change to /etc/default/sysstat on users' systems when they upgrade to the fixed packaging. For users who have installed 24.04 directly, sysstat services are already enabled, and /etc/default/sysstat would be changed to match this reality. For those who have already upgraded to 24.04 would have sysstat services get enabled when they receive the fix, but that impact is negligible and upgrades aren't officially supported yet, so this seems acceptable. Users who don't want this should be able to adjust ENABLED="false" This bug was entitled "sysstat.service is enabled by default on 24.04 lts" and I don’t want to take that over, so I’ve created separate bugs to track the other issues: Bug 2073284 “sysstat service enablement state mismatches debconf and /etc/default/sysstat setting” Bug 2073285 “sysstat service is not enabled by default” This bug, then, should be “Won’t Fix” since the outcome is that the service _should_ be enabled by default. Thank you for filing it though - the inconsistency you identified is indeed a bug and I’ll track the fix for that in the other bugs. ** Changed in: sysstat (Ubuntu) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066117 Title: sysstat.service is enabled by default on 24.04 lts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/2066117/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs