[Bug 2060740] Re: [SRU] fsattr fails to run

Dan Bungert 2060740 at bugs.launchpad.net
Tue May 21 20:11:54 UTC 2024


Hi Sudip, thanks for the work here.

> [ Where problems could occur ]
> There is no change in the code, it only changes a build dependency
> which will make fsattr functional.

Mostly this looks ok, but with some diffoscope analysis I note that
some binaries are indifferent to this change (fsmount_kernel and
fsmove change only NT_GNU_BUILD_ID) but others do notice this builddep
change (fsattr as expected, but also fsremap looks different.)
Do you mind investigating a little on fsremap?  I think we want a bit
of a regression test there to try to ensure that making fsattr better
doesn't make fsremap worse.  WDYT?

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

Title:
  [SRU] fsattr fails to run

Status in fstransform package in Ubuntu:
  Fix Released
Status in fstransform source package in Focal:
  Confirmed
Status in fstransform source package in Jammy:
  Confirmed
Status in fstransform source package in Mantic:
  Confirmed
Status in fstransform source package in Noble:
  Confirmed
Status in fstransform source package in Oracular:
  Fix Released
Status in fstransform package in Debian:
  New

Bug description:
  [ Impact ]

  fsattr will crash immediately on execution with the error:

  $ fsattr
  ERROR: fsattr: this program is a NOT functional because it was compiled without -lext2fs -lcom_err

  
  [ Test Plan ]

  test with a loop device:

  dd if=/dev/zero of=./test_disk bs=1K count=1000
  sudo losetup -f test_disk

  check which loop device has been used:
  sudo losetup -l

  In my test it was /dev/loop11
  sudo mkfs.ext4 /dev/loop11

  sudo fsattr --files=prealloc --fstype=ext4 /dev/loop11

  If the package is not fixed it will result in the above error.
  With the fixed package it will not fail.

  [ Where problems could occur ]

  There is no change in the code, it only changes a build dependency
  which will make fsattr functional.

  [ Other Info ]

  Since "fsattr" has never worked before, so there can be problems and
  new bugs reported for it.

  [ Original Bug Description ]

  fsattr fails to run with the error:

  $ fsattr
  ERROR: fsattr: this program is a NOT functional because it was compiled without -lext2fs -lcom_err

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: fstransform 0.9.4-1build1
  ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
  Uname: Linux 6.8.0-22-generic x86_64
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Apr  9 22:12:33 2024
  InstallationDate: Installed on 2024-04-08 (1 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240408)
  SourcePackage: fstransform
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fstransform/+bug/2060740/+subscriptions





More information about the Ubuntu-sponsors mailing list