Merge ~utkarsh/ubuntu/+source/rabbitmq-server:lp1921425-logrotate-issue-focal into ubuntu/+source/rabbitmq-server:ubuntu/focal-devel

Proposed by Utkarsh Gupta
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: 12f2a295686dfdf1e23ff64e50da95a9dc17df15
Merge reported by: Christian Ehrhardt 
Merged at revision: 12f2a295686dfdf1e23ff64e50da95a9dc17df15
Proposed branch: ~utkarsh/ubuntu/+source/rabbitmq-server:lp1921425-logrotate-issue-focal
Merge into: ubuntu/+source/rabbitmq-server:ubuntu/focal-devel
Diff against target: 39 lines (+14/-10)
2 files modified
debian/changelog (+8/-0)
debian/rabbitmq-server.logrotate (+6/-10)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server Pending
Canonical Server packageset reviewers Pending
Review via email: mp+400636@code.launchpad.net

Description of the change

Hello,

This MP intends to fix LP: #1921425, the logrotate issue.

Whilst there are no tests in this package, but the changes are trivial so I don't suspect any problem there.

PPA at https://launchpad.net/~utkarsh/+archive/ubuntu/experimental-dump.

Requesting you to please review and sponsor this. TIA! \o/

To post a comment you must log in.
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Also, in the SRU template, I've been a bit hesitant to change the "test plan" section and let the user's tests be there, as-is. I don't expect that to be a problem but I thought it's worth mentioning it once here for the reviewer.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
review: Needs Fixing
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hi Christian,

Thanks for the review. I tend to agree with your thoughts on this. So after looking at this again, I think it's best to keep this upload just for fixing the bug in question (double log rotation) and I've fixed this MP to echo that.

Could you please re-review and sponsor if it's OK now? TIA! \o/

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Along the Focal reivew, this LGTM now.
It is the same as the Focal change + different changelog + update-maintainers

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

s/focal/groovy/, you know what I mean as these two MPs are closely tied together :-)

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/rabbitmq-server
 * [new tag] upload/3.8.2-0ubuntu1.2 -> upload/3.8.2-0ubuntu1.2

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading rabbitmq-server_3.8.2-0ubuntu1.2.dsc: done.
  Uploading rabbitmq-server_3.8.2-0ubuntu1.2.debian.tar.xz: done.
  Uploading rabbitmq-server_3.8.2-0ubuntu1.2_source.buildinfo: done.
  Uploading rabbitmq-server_3.8.2-0ubuntu1.2_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is accepted in F/G-proposed and imported in git-ubuntu

 rabbitmq-server | 3.8.2-0ubuntu1.2 | focal-proposed | source, all
 rabbitmq-server | 3.8.5-1ubuntu0.1 | groovy-proposed | source, all

Closing the MP

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index fb5debe..312e5f3 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+rabbitmq-server (3.8.2-0ubuntu1.2) focal; urgency=medium
7+
8+ [ Thomas Goirand ]
9+ * d/rabbitmq-server.logrotate: Do not use a sharedscripts, as
10+ rabbitmq-server detects the log rotation by itself. (LP: #1921425)
11+
12+ -- Utkarsh Gupta <utkarsh.gupta@canonical.com> Tue, 06 Apr 2021 15:48:23 +0530
13+
14 rabbitmq-server (3.8.2-0ubuntu1.1) focal; urgency=medium
15
16 * Fix timeout discrepancy between SysV and systemd (LP: #1874075)
17diff --git a/debian/rabbitmq-server.logrotate b/debian/rabbitmq-server.logrotate
18index c786df7..86b696a 100644
19--- a/debian/rabbitmq-server.logrotate
20+++ b/debian/rabbitmq-server.logrotate
21@@ -1,12 +1,8 @@
22 /var/log/rabbitmq/*.log {
23- weekly
24- missingok
25- rotate 20
26- compress
27- delaycompress
28- notifempty
29- sharedscripts
30- postrotate
31- /etc/init.d/rabbitmq-server rotate-logs > /dev/null
32- endscript
33+ weekly
34+ missingok
35+ rotate 20
36+ compress
37+ delaycompress
38+ notifempty
39 }

Subscribers

People subscribed via source and target branches