[Bug 582646] Re: update-initramfs hook copy_exec won't overwrite

Benjamin Drung 582646 at bugs.launchpad.net
Fri Oct 4 11:00:30 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better. The Ubuntu version this bug was reported against reached
end-of-life. We appreciate that this bug may be old and you might not be
interested in discussing it anymore. But if you are then please upgrade
to the latest Ubuntu version and re-test. If you then find the bug is
still present in the newer Ubuntu version, please add a comment here
telling us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Incomplete

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

Title:
  update-initramfs hook copy_exec won't overwrite

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  /usr/share/initramfs-tools/hook-functions bails out if copy_exec is
  called twice with the same target path.

  What I want to do is:

  copy_exec /usr/bin/btrfsctl /sbin
  copy_exec /usr/local/bin/btrfsctl /sbin

  And have the second one win.  This way I can eventually use btrfs-
  tools once it's up to date (and no longer a moving target upstream),
  while still using the current version compiled from git on a very
  frequent basis.

  The current behavior will silently break the boot when one or the
  other ceases to exist at best, and end up including a potentially
  broken utility in the worst case.

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




More information about the foundations-bugs mailing list