← Back to team overview

kernel-packages team mailing list archive

[Bug 1514203] [NEW] mkfs.btrfs and fsck.btrfs gets installed into the wrong directory

 

Public bug reported:

Watching the Ubuntu console while installing, I noticed that mkinitramfs
keeps complaining that it could not find fsck.btrfs. I looked into it
and noticed that both mkfs.btrfs and fsck.btrfs are being installed into
/bin instead of /sbin proper. A quick workaround is to copy the files
from /bin to /sbin, but this is a major issue as if the user boots from
a btrfs root filesystem and the root filesystem gets corrupted, then the
user will not be able to fsck the filesystem when dumped at the initrd.

** Affects: btrfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: linux (Ubuntu) => btrfs-tools (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1514203

Title:
  mkfs.btrfs and fsck.btrfs gets installed into the wrong directory

Status in btrfs-tools package in Ubuntu:
  New

Bug description:
  Watching the Ubuntu console while installing, I noticed that
  mkinitramfs keeps complaining that it could not find fsck.btrfs. I
  looked into it and noticed that both mkfs.btrfs and fsck.btrfs are
  being installed into /bin instead of /sbin proper. A quick workaround
  is to copy the files from /bin to /sbin, but this is a major issue as
  if the user boots from a btrfs root filesystem and the root filesystem
  gets corrupted, then the user will not be able to fsck the filesystem
  when dumped at the initrd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/1514203/+subscriptions