This can also affect noble when using the hwe-7.0 kernel.

I've attached a diff for the patch (functionally same as above)

A version of the package with the fix is available in a PPA here: 
https://launchpad.net/~rossporter506/+archive/ubuntu/falcosecurity-libs-sru-lp2138348/+sourcepub/18684748/+listing-archive-extra

Below are three install logs - one with the current broken version being
installed on noble hwe-7.0. Logs two and three are installing the fixed
version on both 6.8 and 7.0 kernels.


====== Installing current version on 7.0 kernel ======
sudo apt install falcosecurity-scap-dkms 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  falcosecurity-scap-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/152 kB of archives.
After this operation, 1298 kB of additional disk space will be used.
Selecting previously unselected package falcosecurity-scap-dkms.
(Reading database ... 149513 files and directories currently installed.)
Preparing to unpack .../falcosecurity-scap-dkms_0.15.1-2ubuntu1.2_all.deb ...
Unpacking falcosecurity-scap-dkms (0.15.1-2ubuntu1.2) ...
Setting up falcosecurity-scap-dkms (0.15.1-2ubuntu1.2) ...
Loading new scap-0.15.1 DKMS files...
Building for 7.0.0-29-generic
Building initial module for 7.0.0-29-generic
Error! Bad return status for module build on kernel: 7.0.0-29-generic (s390x)
Consult /var/lib/dkms/scap/0.15.1/build/make.log for more information.
dpkg: error processing package falcosecurity-scap-dkms (--configure):
 installed falcosecurity-scap-dkms package post-installation script subprocess 
returned error exit status 10
Errors were encountered while processing:
 falcosecurity-scap-dkms
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)


====== Installing fixed version on 7.0 kernel ======
sudo apt install ./falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'falcosecurity-scap-dkms' instead of 
'./falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb'
The following packages will be upgraded:
  falcosecurity-scap-dkms
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/155 kB of archives.
After this operation, 5120 B of additional disk space will be used.
Get:1 /home/ubuntu/falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb 
falcosecurity-scap-dkms all 0.15.1-2ubuntu1.2~noble1 [155 kB]
(Reading database ... 149604 files and directories currently installed.)
Preparing to unpack 
.../falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb ...
Deleting module scap-0.15.1 completely from the DKMS tree.
Unpacking falcosecurity-scap-dkms (0.15.1-2ubuntu1.2~noble1) over 
(0.15.1-2ubuntu1.2) ...
Setting up falcosecurity-scap-dkms (0.15.1-2ubuntu1.2~noble1) ...
Loading new scap-0.15.1 DKMS files...
Building for 7.0.0-29-generic
Building initial module for 7.0.0-29-generic
Done.

scap.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/7.0.0-29-generic/updates/dkms/
depmod...
Scanning processes...                                                           
                                                                                
                                                                 
Scanning linux images...                                                        
                                                                                
                                                                 

Running kernel seems to be up-to-date (ABI upgrades are not detected).

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this
host.


====== Installing fixed version on 6.8 kernel ======
sudo apt install ./falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'falcosecurity-scap-dkms' instead of 
'./falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb'
The following NEW packages will be installed:
  falcosecurity-scap-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/155 kB of archives.
After this operation, 1304 kB of additional disk space will be used.
Get:1 /home/ubuntu/falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb 
falcosecurity-scap-dkms all 0.15.1-2ubuntu1.2~noble1 [155 kB]
Selecting previously unselected package falcosecurity-scap-dkms.
(Reading database ... 123314 files and directories currently installed.)
Preparing to unpack 
.../falcosecurity-scap-dkms_0.15.1-2ubuntu1.2~noble1_all.deb ...
Unpacking falcosecurity-scap-dkms (0.15.1-2ubuntu1.2~noble1) ...
Setting up falcosecurity-scap-dkms (0.15.1-2ubuntu1.2~noble1) ...
Loading new scap-0.15.1 DKMS files...
Building for 6.8.0-138-generic
Building initial module for 6.8.0-138-generic
Done.

scap.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.0-138-generic/updates/dkms/
depmod...
Scanning processes...                                                           
                                                                                
                                                                 
Scanning linux images...                                                        
                                                                                
                                                                 

Running kernel seems to be up-to-date (ABI upgrades are not detected).

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this
host.

** Patch added: "falcosecurity-libs_0.15.1-2ubuntu1.2~noble1.debdiff"
   
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2138348/+attachment/5998473/+files/falcosecurity-libs_0.15.1-2ubuntu1.2~noble1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138348

Title:
  falcosecurity-scap-dkms for ubuntu_sysdig_smoke_test failed to build
  on Questing s390x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2138348/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to