logrotate and rsyslog were added as a side effect of us syncing our distro to be much closer to Debian to reduce maintenance. (they were not present in eos3.9 and earlier)
Even though they are present now we don’t actually want them running by default, so I have now adjusted our systemd vendor preset to disable them accordingly - we instead let systemd/journald handle logging for the system.
If you have specific needs for logrotate then you should file this bug upstream and/or with Debian, most services are learning to work with an empty /var these days, that’s how ostree works.
Hello Daniel, thanks for the fix - personally i don’t need logrotate, i am more than happy with journald’s rotation mechanism - just saw the logrotate unit when running systemctl list-units --failed
Those packages are “Priority: important” in Debian. As far as I understand it, apt installs them in our image build (& on all normal Debian systems) whether you like it or not , along with other Prio important packages that we probably do want.
We used to fork those two packages to change the priority. We are aggressively pruning our collection of forked packages though, in order to cut down the maintenance overhead, and moving in the direction of Endless being a Debian derivative (or something like that) rather than being its own separate distro. The thinking is that the upside of reducing the maintenance here is larger than the downside of having a couple of redundant packages kicking around but not causing any trouble.
Let me know if you can see a better way of handling this!
In Ubuntu we used https://wiki.ubuntu.com/Germinate which has an option to exclude packages. This generates your list of specific packages to include in the image, etc.
If still using debootstrap directly I’d expect –exclude=rsyslog,logrotate to do the trick.
In both cases, it will let you break things badly if the package is actually needed…