[Bug 570681] Re: kickstart can't save file cause user can not select keyboard layout

2010-04-29 Thread Jean-Luc D.
Ok, it works for me.

Thanks for fixing it.

-- 
kickstart can't save file cause user can not select keyboard layout
https://bugs.launchpad.net/bugs/570681
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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...@ubuntu-focal.log
-rw-r- 1 rabbitmq rabbitmq 16216 Apr 21 12:56 rab...@ubuntu-focal.log.1
-rw-r- 1 rabbitmq rabbitmq 0 May  7 23:58 
rabbit@ubuntu-focal_upgrade.log
-rw-r- 1 rabbitmq rabbitmq66 Apr 21 12:56 
rabbit@ubuntu-focal_upgrade.log.1
-rw-r- 1 rabbitmq rabbitmq61 Apr 21 12:56 startup_err
-rw-r- 1 rabbitmq rabbitmq   573 Apr 21 12:56 startup_log


Thank you.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1921425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-25 Thread Jean-Luc D.
Public bug reported:

Tested with rabbitmq-server 3.8.2-0ubuntu1.1 (focal)

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 below).

Hence, these lines should be removed from the logrotate config:

sharedscripts
postrotate
/etc/init.d/rabbitmq-server rotate-logs > /dev/null
endscript

It seems the daemon detects itself the log rotation, no postrotate
command needed.

Tested with Vagrant (VirtualBox) and a fresh install on each run.

Clock syncing needs to be disabled with:

v.customize ["setextradata", :id,
"VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled", "1"]


Test #1, current config (not expected, double log rotation)

vagrant@ubuntu-focal:~$ cat /etc/logrotate.d/rabbitmq-server
/var/log/rabbitmq/*.log {
weekly
missingok
rotate 20
compress
delaycompress
notifempty
sharedscripts
postrotate
/etc/init.d/rabbitmq-server rotate-logs > /dev/null
endscript
}
vagrant@ubuntu-focal:~$ date ; ls -l /var/log/rabbitmq/
Thu Mar 25 18:25:49 UTC 2021
total 32
drwxr-x--- 2 rabbitmq rabbitmq  4096 Mar 25 18:25 log
-rw-r- 1 rabbitmq rabbitmq 16216 Mar 25 18:25 rab...@ubuntu-focal.log
-rw-r- 1 rabbitmq rabbitmq66 Mar 25 18:25 
rabbit@ubuntu-focal_upgrade.log
-rw-r- 1 rabbitmq rabbitmq61 Mar 25 18:25 startup_err
-rw-r- 1 rabbitmq rabbitmq   573 Mar 25 18:25 startup_log
vagrant@ubuntu-focal:~$ sudo date --utc 04032358
Sat Apr  3 23:58:00 UTC 2021
vagrant@ubuntu-focal:~$ sleep 180 ; date ; ls -l /var/log/rabbitmq/
Sun Apr  4 00:01:18 UTC 2021
total 48
drwxr-x--- 2 rabbitmq rabbitmq  4096 Mar 25 18:25 log
-rw-r- 1 rabbitmq rabbitmq82 Apr  4 00:00 rab...@ubuntu-focal.log
-rw-r- 1 rabbitmq rabbitmq66 Apr  4 00:00 rab...@ubuntu-focal.log.0
-rw-r- 1 rabbitmq rabbitmq 16216 Mar 25 18:25 rab...@ubuntu-focal.log.2
-rw-r- 1 rabbitmq rabbitmq82 Apr  4 00:00 
rabbit@ubuntu-focal_upgrade.log
-rw-r- 1 rabbitmq rabbitmq66 Apr  4 00:00 
rabbit@ubuntu-focal_upgrade.log.0
-rw-r- 1 rabbitmq rabbitmq66 Mar 25 18:25 
rabbit@ubuntu-focal_upgrade.log.2
-rw-r- 1 rabbitmq rabbitmq61 Mar 25 18:25 startup_err
-rw-r- 1 rabbitmq rabbitmq   573 Mar 25 18:25 startup_log

vagrant@ubuntu-focal:~$ sudo tail 
/var/log/rabbitmq/rab...@ubuntu-focal.log.2
2021-03-25 18:25:37.453 [info] <0.267.0> Setting up a table for per-vhost 
connection counting on this node: 
'tracked_connection_per_vhost_on_node_rabbit@ubuntu-focal'
2021-03-25 18:25:37.454 [info] <0.267.0> Running boot step routing_ready 
defined by app rabbit
2021-03-25 18:25:37.454 [info] <0.267.0> Running boot step pre_flight 
defined by app rabbit
2021-03-25 18:25:37.454 [info] <0.267.0> Running boot step notify_cluster 
defined by app rabbit
2021-03-25 18:25:37.454 [info] <0.267.0> Running boot step networking 
defined by app rabbit
2021-03-25 18:25:37.457 [info] <0.597.0> started TCP listener on [::]:5672
2021-03-25 18:25:37.460 [info] <0.267.0> Running boot step cluster_name 
defined by app rabbit
2021-03-25 18:25:37.460 [info] <0.267.0> Running boot step direct_client 
defined by app rabbit
2021-03-25 18:25:37.554 [notice] <0.104.0> Changed loghwm of 
/var/log/rabbitmq/rab...@ubuntu-focal.log to 50
2021-03-25 18:25:38.045 [info] <0.8.0> Server startup complete; 0 plugins 
started.

vagrant@ubuntu-focal:~$ sudo cat /var/log/rabbitmq/rab...@ubuntu-focal.log.0
2021-04-04 00:00:03.036 [info] <0.748.0> Log file rotation forced

vagrant@ubuntu-focal:~$ sudo cat /var/log/rabbitmq/rab...@ubuntu-focal.log
2021-04-04 00:00:03.036 [info] <0.748.0> Log file re-opened after forced 
rotation


Test #2, no postrotate script (expected, single log rotation)

vagrant@ubuntu-focal:~$ cat /etc/logrotate.d/rabbitmq-server
/var/log/rabbitmq/*.log {
weekly
missingok
rotate 20
compress
delaycompress
notifempty
}
vagrant@ubuntu-focal:~$ date ; ls -l /var/log/rabbitmq/
Thu Mar 25 18:37:39 UTC 2021
total 32
drwxr-x--- 2 rabbitmq rabbitmq  4096 Mar 25 18:37 log
-rw-r- 1 rabbitmq rabbitmq 16216 Mar 25 18:37 rab...@ubuntu-focal.log
-rw-r- 1 rabbitmq rabbitmq66 Mar 25 18:37 
rabbit@ubuntu-focal_upgrade.log
-rw-r- 1 rabbitmq rabbitmq61 Mar 25 18:37 startup_err
-rw-r- 1 rabbitmq rabbitmq   573 Mar 25 18:37 startup_log
vagrant@ubuntu-focal:~$ sudo date --utc 04032358
Sat Apr  3 23:58:00 UTC 2021
vagrant@ubuntu-focal:~$ sleep 180 ; date ; ls -l /var/log/rabbitmq/
Sun Apr  4 00:01:05 UTC

[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 version, I'd expect to get it fixed.

That's said I can still report it to Debian.

Thank you

-- 
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 (focal)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1921425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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/20641fde278ad4d8bf7451e3c396f8ae976ff2f0 -- Thank you,
Thomas.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1921425/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs