DEP8 failure in lunar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crash (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I don't know what's wrong with this package, or with the kernel package:
ubuntu@l-crash:~$ sudo crash -st /usr/lib/
WARNING: /usr/lib/
and /proc/version do not match!
WARNING: /proc/version indicates kernel version: 6.1.0-16-generic
crash: please use the vmlinux file for that kernel version, or try using
the System.map for that kernel version as an additional argument.
It is the same version:
ubuntu@l-crash:~$ uname -a
Linux l-crash 6.1.0-16-generic #16-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 24 14:37:30 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l|grep linux-
ii binutils-
ii linux-base 4.5ubuntu9
ii linux-firmware 20230302.
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-image-
ii linux-image-
ii linux-image-generic 6.1.0.16.16
ii linux-image-
ii linux-libc-
ii linux-modules-
ii linux-modules-
ii util-linux-extra 2.38.1-4ubuntu1
$ apt-cache policy linux-image-
linux-image-
Installed: 6.1.0-16.16
Candidate: 6.1.0-16.16
Version table:
*** 6.1.0-16.16 500
500 http://
100 /var/lib/
This is apparently a regression due to (ubuntu-only) kernel commit [1]
commit e9ec6b526c6a ("UBUNTU: SAUCE: (no-up) version: Implement version_signature proc file.")
It modifies the contents of `/proc/version` by appending a version signature version_ signature` , a new file in `/proc`),
(available individually in `/proc/
which comes from the `linux_proc_banner` variable/format string.
However, it doesn't modify a related string in the `vmlinux` object file,
which comes from `linux_banner` (no `proc`); i.e., it's without signature.
(This might be on purpose.)
The crash utility, in live system form (without a core dump/memory image), filesys. c:match_ proc_version( ) -> match_file_ string( )`).
searches for the contents of `/proc/version` _within_ the output of the
`strings vmlinux` command, to check that `vmlinux` and running system match.
(See source in `crash/
The issue then happens because the appended version signature cannot be proc_banner` no longer matches `linux_banner`).
found within `vmlinux` (`linux_
[1] https:/ /git.launchpad. net/~ubuntu- kernel/ ubuntu/ +source/ linux/+ git/lunar/ commit/ ?id=e9ec6b526c6 ac1f4392430e008 d9ff6c3c9eeee1