execute bit is missing on libc.so.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned | ||
Lunar |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
[Impact]
Starting with Ubuntu 22.04 the execute bit is no longer set on /lib/x86_
[Proposed fix]
Adjust the build system to chmod the library after the fixperms stage. This has been fixed in Debian, although it's not easily cherry-pickable.
[Test plan]
Run the following script:
```
#!/bin/bash
for glibc in `ldconfig -p | grep libc.so.6 | sed 's/.*=>//'`
do
if [ -x "$glibc" ] ; then
$glibc >/dev/null 2>&1
if [ "$?" != "0" ] ; then
fi
fi
if [ "$_libcver" != "" ] ; then
echo "GLibc minor version is $_libcver"
break
fi
done
if [ "$_libcver" = "" ] ; then
echo "Cannot figure out the GLibc version."
exit 1
fi
```
On Focal, it prints out the following:
GLibc minor version is 31
On Jammy:
Cannot figure out the GLibc version.
Expected:
GLibc minor version is 35
[Regression potential]
This change is fairly minimal, but could expose bugs in codepaths that were depending on the system version of glibc and were thus far dormant in Jammy.
Changed in glibc (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in glibc (Ubuntu Jammy): | |
status: | New → Triaged |
Changed in glibc (Ubuntu Kinetic): | |
status: | New → Won't Fix |
Changed in glibc (Ubuntu Jammy): | |
importance: | Undecided → Medium |
description: | updated |
Changed in glibc (Ubuntu): | |
status: | Triaged → In Progress |
tags: |
added: verification-done verification-done-jammy removed: verification-needed verification-needed-jammy |
Changed in glibc (Ubuntu): | |
status: | In Progress → Fix Released |
This was supposed to be fixed in Lunar by merging the overall Debian changes, but that hasn't happened and been postponed to mantic. We usually don't fix such things in interim releases, so the only SRU will be for Jammy.
Since the devel fix is entangled with lots of other stuff, I'll be uploading the Jammy fix without waiting for it.