Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
debian: sync logrotate packaging with downstream #15567
both Ubuntu and Debian put the logrotate script into
to prevent duplicate logrotate scripts handling the same log
Signed-off-by: Fabian Grünbichler firstname.lastname@example.org
referenced this pull request
Jun 8, 2017
in case a user using the upstream packages has modified the old ceph.logrotate script, an (ignored) backup copy will be created as ceph.logrotate.dpkg-bak, and this information will be printed by apt(-get) during the upgrade.
in case the user switches from downstream to upstream packages, the usual prompt for a locally modified configuration file will be done during the upgrade (if there are any local modifications to the ceph-common logrotate script).
hopefully final version based on the following analysis of currently released upstream Debian Jessie packages:
I propose cleaning up both old paths, and moving the logrotate script to the downstream variant of package ceph-common, path
before merging this into the individual release branches, the next version of that release could be added as prior_version to the rm_conffile calls (or it could simply be dropped with Luminous+1 or +2, retrying the cleanup on every package upgrade? the overhead should be small enough..)