ignore_eacces and ignore_erofs patches don't work properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procps (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Brian Murray | ||
Groovy |
Fix Released
|
Medium
|
Brian Murray | ||
Hirsute |
Fix Released
|
Undecided
|
Brian Murray |
Bug Description
The patches used to ignore errors in containers no longer work as of 3.3.16 due to upstream commit https:/
The ignore_eacces patch was fuzzed and gets applied to ReadSetting, not WriteSetting
Both patches ignore the change that rc is no longer propagated up and instead everything is trapped by:
if (!ignore_failure && errno != ENOENT)
Versions affected: focal+
root@bfee890587
NAME="Ubuntu"
VERSION="20.10 (Groovy Gorilla)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.10"
VERSION_ID="20.10"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
root@bfee890587
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii procps 2:3.3.16-5ubuntu2 amd64 /proc file system utilities
root@bfee890587
root@bfee890587
sysctl: setting key "kernel.shmmax": Read-only file system
255
root@bfee890587
root@bfee890587
sysctl: setting key "kernel.shmmax": Read-only file system
0
tags: | added: rls-gg-incoming |
tags: | added: fr-924 |
tags: | removed: rls-gg-incoming |
Changed in procps (Ubuntu): | |
importance: | Undecided → Medium |
Changed in procps (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in procps (Ubuntu Groovy): | |
importance: | Undecided → Medium |
tags: |
added: verification-done verification-done-focal verification-done-groovy verification-done-hirsute removed: verification-needed verification-needed-focal verification-needed-groovy verification-needed-hirsute |
Attaching debdiff for groovy. Same changes should work for focal
built via pbuilder-dist and tested
root@659bc6500a 59:/# dpkg -i /home/vfazio/ pbuilder/ groovy_ result/ procps_ 3.3.16- 5ubuntu3_ amd64.deb 3.3.16- 5ubuntu3_ amd64.deb ... 59:/# dpkg -l procps Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ======= =-===== ======= -====== ======= ======= ======= ======
(Reading database ... 4259 files and directories currently installed.)
Preparing to unpack .../procps_
Unpacking procps (2:3.3.16-5ubuntu3) over (2:3.3.16-5ubuntu2) ...
Setting up procps (2:3.3.16-5ubuntu3) ...
root@659bc6500a
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii procps 2:3.3.16-5ubuntu3 amd64 /proc file system utilities
root@bfee890587 13:/# echo "kernel.shmmax = 17179869184" > shmmax.conf 13:/# sysctl -e -p shmmax.conf; echo $? 13:/tmp# echo "-kernel.shmmax = 17179869184" > shmmax.conf 13:/tmp# sysctl -e -p shmmax.conf; echo $?
root@bfee890587
sysctl: setting key "kernel.shmmax", ignoring: Read-only file system
0
root@bfee890587
root@bfee890587
sysctl: setting key "kernel.shmmax", ignoring: Read-only file system
0