[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package rabbitmq-server - 3.8.2-0ubuntu1.2 --- rabbitmq-server (3.8.2-0ubuntu1.2) focal; urgency=medium [ Thomas Goirand ] * d/rabbitmq-server.logrotate: Do not use a sharedscripts, as rabbitmq-server detects the log rotation by itself. (LP: #1921425)

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package rabbitmq-server - 3.8.5-1ubuntu0.1 --- rabbitmq-server (3.8.5-1ubuntu0.1) groovy; urgency=medium [ Thomas Goirand ] * d/rabbitmq-server.logrotate: Do not use a sharedscripts, as rabbitmq-server detects the log rotation by itself. (LP: #1921425

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-25 Thread Mathew Hodson
** Tags removed: verification-done ** Tags added: verification-done-focal verification-done-groovy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1921425 Title: rabbitmq-server logrotate issue To ma

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-21 Thread Utkarsh Gupta
Hello Brian, Tested 3.8.5-1ubuntu0.1 (for groovy) and I have similar outcome as of Jean. Therefore, confirm that the fix works for groovy w/o changing the stuff that was already working. So yay! \o/ ** Tags removed: verification-needed verification-needed-focal verification-needed-groovy ** Tags

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-21 Thread Jean-Luc D.
Hello Brian, I tested rabbitmq-server 3.8.2-0ubuntu1.2 I've forced a log rotation to happen and ended up with the expected result: vagrant@ubuntu-focal:~$ ls -l /var/log/rabbitmq/ total 32 drwxr-x--- 2 rabbitmq rabbitmq 4096 Apr 21 12:56 log -rw-r- 1 rabbitmq rabbitmq 0 May 7 23:58 rab

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-20 Thread Brian Murray
Hello Jean-Luc, or anyone else affected, Accepted rabbitmq-server into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/rabbitmq- server/3.8.5-1ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new pa

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-15 Thread Utkarsh Gupta
** Changed in: rabbitmq-server (Ubuntu Focal) Status: In Progress => Fix Committed ** Changed in: rabbitmq-server (Ubuntu Groovy) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-07 Thread Utkarsh Gupta
** Description changed: [Problem] = The postrotate script (`/etc/init.d/rabbitmq-server rotate-logs`) also invokes a log rotation, which conflicts with logrotate itself. It was working as expected on Xenial, but it became a problem on Focal and RabbitMQ 3.8 (see the tests belo

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-06 Thread Utkarsh Gupta
** Also affects: rabbitmq-server (Ubuntu Groovy) Importance: Undecided Status: New ** Changed in: rabbitmq-server (Ubuntu Groovy) Importance: Undecided => Low ** Changed in: rabbitmq-server (Ubuntu Groovy) Status: New => In Progress ** Changed in: rabbitmq-server (Ubuntu Groo

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-06 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~utkarsh/ubuntu/+source/rabbitmq-server/+git/rabbitmq-server/+merge/400639 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1921425 Title: rabbi

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-06 Thread Utkarsh Gupta
** Description changed: - Tested with rabbitmq-server 3.8.2-0ubuntu1.1 (focal) + [Problem] + = The postrotate script (`/etc/init.d/rabbitmq-server rotate-logs`) also invokes a log rotation, which conflicts with logrotate itself. It was working as expected on Xenial, but it became a

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-04-01 Thread Launchpad Bug Tracker
This bug was fixed in the package rabbitmq-server - 3.8.9-2 --- rabbitmq-server (3.8.9-2) unstable; urgency=medium * Do not use the /usr/sbin/rabbitmq-server wrapper in systemd service file (Closes: #947873). * Use logrotate daily instead of weekly, and do not override the num

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-03-31 Thread Utkarsh Gupta
Yeap, I asked Thomas to include this fix in the next release so that I could sync in with Hirsute (the release happening next month), which happened already. So likely Hirsute will have the fix already. I'll backport this to Focal and Groovy by today or tomorrow. -- You received this bug notifi

[Bug 1921425] Re: rabbitmq-server logrotate issue

2021-03-30 Thread Jean-Luc D.
Hi Utkarsh, Great, thank you. Currently I'm not sure if this issue also affects Bionic. That's something I can test today or tomorrow if it can help. It has been fixed in Debian per https://salsa.debian.org/openstack-team /third-party/rabbitmq- server/-/commit/20641fde278ad4d8bf7451e3c396f8ae976

[Bug 1921425] Re: rabbitmq-server logrotate issue (focal)

2021-03-30 Thread Utkarsh Gupta
** Also affects: rabbitmq-server (Debian) Importance: Undecided Status: New ** Changed in: rabbitmq-server (Debian) Status: New => Fix Released ** Summary changed: - rabbitmq-server logrotate issue (focal) + rabbitmq-server logrotate issue -- You received this bug notification

[Bug 1921425] Re: rabbitmq-server logrotate issue (focal)

2021-03-30 Thread Utkarsh Gupta
Hi Jean, > Depending on the disk space available, it can became an issue and > it might be critical in production environments. > > Since Focal is a LTS version, I'd expect to get it fixed. Fair enough, I've assigned this to myself. I hope to get this fixed within this week. ** Changed in: rabb

[Bug 1921425] Re: rabbitmq-server logrotate issue (focal)

2021-03-29 Thread Paride Legovini
Given that Utkarsh confirmed this is a bug and even found where it originates from I think this can be considered Triaged. I also subscribed the ubuntu-server team. ** Changed in: rabbitmq-server (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are

[Bug 1921425] Re: rabbitmq-server logrotate issue (focal)

2021-03-26 Thread Jean-Luc D.
Hi Utkarsh, >From what I've seen, after a few weeks running, it becomes a mess (some logs are not compressed, duplicate filenames like .log.2 and .log.2.gz). Depending on the disk space available, it can became an issue and it might be critical in production environments. Since Focal is a LTS ve

[Bug 1921425] Re: rabbitmq-server logrotate issue (focal)

2021-03-26 Thread Utkarsh Gupta
Hi Jean, Thanks for taking the time to file a bug and help in making the Ubuntu server better. This looks like a valid bug and I am glad that you've already found the cause and the workaround for this. That said, I can trace its origin in Debian (see: https://salsa.debian.org/openstack-team/third