Activity log for bug #1866149

Date Who What changed Old value New value Message
2020-03-05 05:42:04 David Monro bug added bug
2020-05-20 05:14:58 Launchpad Janitor linux-kvm (Ubuntu): status New Confirmed
2020-05-20 05:16:17 Bernd Wolber bug added subscriber Bernd Wolber
2020-06-19 08:12:20 Christoph Böhmwalder bug added subscriber Christoph Böhmwalder
2020-11-30 12:04:29 Tasqa bug added subscriber Tasqa
2021-01-04 21:49:21 Pedro Principeza bug added subscriber Pedro Principeza
2021-01-06 14:07:48 Éric St-Jean bug added subscriber Éric St-Jean
2021-01-07 08:45:03 Christian Ehrhardt  bug added subscriber Terry Rudd
2021-01-07 08:45:08 Christian Ehrhardt  bug added subscriber Francis Ginther
2021-01-07 08:48:57 Christian Ehrhardt  bug task added linux (Ubuntu)
2021-01-07 09:00:10 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2021-01-07 14:55:28 Dan Streetman bug added subscriber Dan Streetman
2021-01-08 17:23:35 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu): assignee Thadeu Lima de Souza Cascardo (cascardo)
2021-01-08 17:23:37 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu): importance Undecided High
2021-01-08 17:23:41 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu): status Confirmed In Progress
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo nominated for series Ubuntu Bionic
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux (Ubuntu Bionic)
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux-kvm (Ubuntu Bionic)
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo nominated for series Ubuntu Focal
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux (Ubuntu Focal)
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux-kvm (Ubuntu Focal)
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo nominated for series Ubuntu Xenial
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux (Ubuntu Xenial)
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux-kvm (Ubuntu Xenial)
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo nominated for series Ubuntu Groovy
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux (Ubuntu Groovy)
2021-01-08 17:31:18 Thadeu Lima de Souza Cascardo bug task added linux-kvm (Ubuntu Groovy)
2021-01-08 17:44:16 Thadeu Lima de Souza Cascardo description I'm not completely sure which package to log this against. I'm running the kvm focal minimal cloud image from 20200302. I noticed on boot that there was an error complaining that systemd-systemctl couldn't update pid_max to the value it wanted: systemd-sysctl[117]: Couldn't write '4194304' to 'kernel/pid_max': Invalid argument Digging into it a bit more, this comes from /usr/lib/sysctl.d/50-pid-max.conf: # Bump the numeric PID range to its maximum of 2^22 (from the in-kernel default # of 2^16), to make PID collisions less likely. kernel.pid_max = 4194304 However, the linux-image-kvm kernel is compiled with CONFIG_BASE_SMALL=1 and this triggers the following code in include/linux/threads.h #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \ (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT)) which means that if CONFIG_BASE_SMALL is set we get a maximum limit of PAGE_SIZE * 8, which on x86 would be 32768. As a workaround I can override it with a file in /etc/sysctl.d/ but this shouldn't be needed. I really don't know if CONFIG_BASE_SMALL makes any sense on x86 cloud images, they really aren't small machines in the scheme of things! Cheers David [Impact] systemd-systemctl will fail to set kernel.pid_max, leading to a degraded boot. [Fix] Set CONFIG_BASE_FULL=y, CONFIG_BASE_SMALL=0. [Test case] Write 419304 to /proc/sys/kernel/pid_max. [Potential regression] Boot time may be affected. ==================================================================== I'm not completely sure which package to log this against. I'm running the kvm focal minimal cloud image from 20200302. I noticed on boot that there was an error complaining that systemd-systemctl couldn't update pid_max to the value it wanted: systemd-sysctl[117]: Couldn't write '4194304' to 'kernel/pid_max': Invalid argument Digging into it a bit more, this comes from /usr/lib/sysctl.d/50-pid-max.conf: # Bump the numeric PID range to its maximum of 2^22 (from the in-kernel default # of 2^16), to make PID collisions less likely. kernel.pid_max = 4194304 However, the linux-image-kvm kernel is compiled with CONFIG_BASE_SMALL=1 and this triggers the following code in include/linux/threads.h #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \  (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT)) which means that if CONFIG_BASE_SMALL is set we get a maximum limit of PAGE_SIZE * 8, which on x86 would be 32768. As a workaround I can override it with a file in /etc/sysctl.d/ but this shouldn't be needed. I really don't know if CONFIG_BASE_SMALL makes any sense on x86 cloud images, they really aren't small machines in the scheme of things! Cheers David
2021-01-08 17:54:05 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Xenial): importance Undecided High
2021-01-08 17:54:05 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Xenial): status New In Progress
2021-01-08 17:54:05 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Xenial): assignee Thadeu Lima de Souza Cascardo (cascardo)
2021-01-08 17:54:17 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Bionic): status New In Progress
2021-01-08 17:54:17 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Bionic): assignee Thadeu Lima de Souza Cascardo (cascardo)
2021-01-08 17:54:30 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Bionic): importance Undecided High
2021-01-08 17:54:44 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Focal): importance Undecided High
2021-01-08 17:54:44 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Focal): status New In Progress
2021-01-08 17:54:44 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Focal): assignee Thadeu Lima de Souza Cascardo (cascardo)
2021-01-08 17:55:06 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Groovy): importance Undecided High
2021-01-08 17:55:06 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Groovy): status New Fix Committed
2021-01-08 17:55:06 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Groovy): assignee Thadeu Lima de Souza Cascardo (cascardo)
2021-01-08 17:55:16 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu Groovy): status Fix Committed In Progress
2021-01-08 17:55:43 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu): importance High Medium
2021-01-08 17:55:43 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu): status In Progress Incomplete
2021-01-08 17:55:43 Thadeu Lima de Souza Cascardo linux-kvm (Ubuntu): assignee Thadeu Lima de Souza Cascardo (cascardo)
2021-01-08 19:47:03 Thadeu Lima de Souza Cascardo linux (Ubuntu): status Incomplete Invalid
2021-01-08 19:47:34 Thadeu Lima de Souza Cascardo linux (Ubuntu Xenial): status New Invalid
2021-01-08 19:47:46 Thadeu Lima de Souza Cascardo linux (Ubuntu Bionic): status New Invalid
2021-01-08 19:47:58 Thadeu Lima de Souza Cascardo linux (Ubuntu Focal): status New Invalid
2021-01-08 19:48:07 Thadeu Lima de Souza Cascardo linux (Ubuntu Groovy): status New Invalid
2021-01-15 00:06:11 Kelsey Steele linux-kvm (Ubuntu Xenial): status In Progress Fix Committed
2021-01-15 00:06:22 Kelsey Steele linux-kvm (Ubuntu Bionic): status In Progress Fix Committed
2021-01-15 00:06:34 Kelsey Steele linux-kvm (Ubuntu Focal): status In Progress Fix Committed
2021-01-15 00:06:48 Kelsey Steele linux-kvm (Ubuntu Groovy): status In Progress Fix Committed
2021-01-26 21:46:06 Launchpad Janitor linux-kvm (Ubuntu Bionic): status Fix Committed Fix Released
2021-01-26 21:46:06 Launchpad Janitor cve linked 2020-27777
2021-01-26 21:46:06 Launchpad Janitor cve linked 2020-28374
2021-01-26 21:46:06 Launchpad Janitor cve linked 2021-1052
2021-01-26 21:46:06 Launchpad Janitor cve linked 2021-1053
2021-01-26 21:50:29 Launchpad Janitor linux-kvm (Ubuntu Focal): status Fix Committed Fix Released
2021-01-26 21:50:29 Launchpad Janitor cve linked 2020-16120
2021-01-26 21:53:22 Launchpad Janitor linux-kvm (Ubuntu Groovy): status Fix Committed Fix Released
2021-01-26 21:56:47 Launchpad Janitor linux-kvm (Ubuntu Xenial): status Fix Committed Fix Released
2021-02-19 23:04:15 Launchpad Janitor linux-kvm (Ubuntu): status Incomplete Fix Released