group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #38280
[Bug 1866149] Re: CONFIG_BASE_SMALL=1 restricts pid space, which conflicts with systemd default sysctl
This bug was fixed in the package linux-kvm - 5.4.0-1032.33
---------------
linux-kvm (5.4.0-1032.33) focal; urgency=medium
* focal/linux-kvm: 5.4.0-1032.33 -proposed tracker (LP: #1911326)
* CONFIG_BASE_SMALL=1 restricts pid space, which conflicts with systemd
default sysctl (LP: #1866149)
- [Config]: set CONFIG_BASE_FULL
* Missing module nfsv4 in linux-kvm (LP: #1907266)
- [Config] kvm: Enable NFSv4
[ Ubuntu: 5.4.0-63.71 ]
* focal/linux: 5.4.0-63.71 -proposed tracker (LP: #1911333)
* overlay: permission regression in 5.4.0-51.56 due to patches related to
CVE-2020-16120 (LP: #1900141)
- ovl: do not fail because of O_NOATIME
* Focal update: v5.4.79 upstream stable release (LP: #1907151)
- net/mlx5: Use async EQ setup cleanup helpers for multiple EQs
- net/mlx5: poll cmd EQ in case of command timeout
- net/mlx5: Fix a race when moving command interface to events mode
- net/mlx5: Add retry mechanism to the command entry index allocation
* Kernel 5.4.0-56 Wi-Fi does not connect (LP: #1906770)
- mt76: fix fix ampdu locking
* [Ubuntu 21.04 FEAT] mpt3sas: Request to include the patch set which supports
topology where zoning is enabled in expander (LP: #1899802)
- scsi: mpt3sas: Define hba_port structure
- scsi: mpt3sas: Allocate memory for hba_port objects
- scsi: mpt3sas: Rearrange _scsih_mark_responding_sas_device()
- scsi: mpt3sas: Update hba_port's sas_address & phy_mask
- scsi: mpt3sas: Get device objects using sas_address & portID
- scsi: mpt3sas: Rename transport_del_phy_from_an_existing_port()
- scsi: mpt3sas: Get sas_device objects using device's rphy
- scsi: mpt3sas: Update hba_port objects after host reset
- scsi: mpt3sas: Set valid PhysicalPort in SMPPassThrough
- scsi: mpt3sas: Handling HBA vSES device
- scsi: mpt3sas: Add bypass_dirty_port_flag parameter
- scsi: mpt3sas: Handle vSES vphy object during HBA reset
- scsi: mpt3sas: Add module parameter multipath_on_hba
- scsi: mpt3sas: Bump driver version to 35.101.00.00
[ Ubuntu: 5.4.0-62.70 ]
* focal/linux: 5.4.0-62.70 -proposed tracker (LP: #1911144)
* CVE-2020-28374
- SAUCE: target: fix XCOPY NAA identifier lookup
* Packaging resync (LP: #1786013)
- update dkms package versions
[ Ubuntu: 5.4.0-60.67 ]
* Packaging resync (LP: #1786013)
- [Packaging] update variants
- update dkms package versions
* CVE-2021-1052 // CVE-2021-1053
- [Packaging] NVIDIA -- Add the NVIDIA 460 driver
-- Kelsey Skunberg <kelsey.skunberg@xxxxxxxxxxxxx> Thu, 14 Jan 2021
15:25:42 -0700
** Changed in: linux-kvm (Ubuntu Groovy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1866149
Title:
CONFIG_BASE_SMALL=1 restricts pid space, which conflicts with systemd
default sysctl
Status in linux package in Ubuntu:
Invalid
Status in linux-kvm package in Ubuntu:
Incomplete
Status in linux source package in Xenial:
Invalid
Status in linux-kvm source package in Xenial:
Fix Released
Status in linux source package in Bionic:
Invalid
Status in linux-kvm source package in Bionic:
Fix Released
Status in linux source package in Focal:
Invalid
Status in linux-kvm source package in Focal:
Fix Released
Status in linux source package in Groovy:
Invalid
Status in linux-kvm source package in Groovy:
Fix Released
Bug description:
[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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1866149/+subscriptions