[SRU] fsattr fails to run

Bug #2060740 reported by Sudip Mukherjee
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fstransform (Debian)
New
Unknown
fstransform (Ubuntu)
Status tracked in Oracular
Focal
Confirmed
Undecided
Unassigned
Jammy
Confirmed
Undecided
Unassigned
Mantic
Confirmed
Undecided
Unassigned
Noble
Confirmed
Undecided
Unassigned
Oracular
Fix Released
Undecided
Unassigned

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)

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached for Noble.

Changed in fstransform (Ubuntu):
status: New → Confirmed
Changed in fstransform (Debian):
status: Unknown → New
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

Updating the debdiff to target oracular. Please correct me if I am wrong but I think this change is not suitable for SRU.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

At least at first glance, I think this is SRU-able:

  2.2. Other safe cases
  ...
  Bugs which do not fit under above categories, but (1) have an obviously safe patch and (2) affect an application rather than critical infrastructure packages (like X.org or the kernel).
  ...

From https://wiki.ubuntu.com/StableReleaseUpdates

All that's being done is adding a couple of build dependencies, the program appears to be useless without them so it can't get much worse, and this isn't critical infrastructure, so I think it can be SRU'd.

Changed in fstransform (Ubuntu Noble):
status: New → Confirmed
Changed in fstransform (Ubuntu Focal):
status: New → In Progress
Changed in fstransform (Ubuntu Jammy):
status: New → In Progress
Changed in fstransform (Ubuntu Mantic):
status: New → In Progress
Changed in fstransform (Ubuntu Noble):
status: Confirmed → In Progress
assignee: nobody → Sudip Mukherjee (sudipmuk)
Changed in fstransform (Ubuntu Mantic):
assignee: nobody → Sudip Mukherjee (sudipmuk)
Changed in fstransform (Ubuntu Jammy):
assignee: nobody → Sudip Mukherjee (sudipmuk)
Changed in fstransform (Ubuntu Focal):
assignee: nobody → Sudip Mukherjee (sudipmuk)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fstransform - 0.9.4-1ubuntu1

---------------
fstransform (0.9.4-1ubuntu1) oracular; urgency=medium

  * d/control: Update build-dependency to fix error with fsattr. (LP: #2060740)

 -- Sudip Mukherjee <email address hidden> Wed, 01 May 2024 20:59:02 +0100

Changed in fstransform (Ubuntu Oracular):
status: Confirmed → Fix Released
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Noble.

summary: - fsattr fails to run
+ [SRU] fsattr fails to run
description: updated
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Mantic

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Jammy

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Focal

Changed in fstransform (Ubuntu Focal):
status: In Progress → Confirmed
Changed in fstransform (Ubuntu Jammy):
status: In Progress → Confirmed
Changed in fstransform (Ubuntu Mantic):
status: In Progress → Confirmed
Changed in fstransform (Ubuntu Noble):
status: In Progress → Confirmed
Changed in fstransform (Ubuntu Focal):
assignee: Sudip Mukherjee (sudipmuk) → nobody
Changed in fstransform (Ubuntu Jammy):
assignee: Sudip Mukherjee (sudipmuk) → nobody
Changed in fstransform (Ubuntu Mantic):
assignee: Sudip Mukherjee (sudipmuk) → nobody
Changed in fstransform (Ubuntu Noble):
assignee: Sudip Mukherjee (sudipmuk) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.