← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2116183] [NEW] lsinitrd fails on zstd compressed initrd: /boot/initrd.img is a symbolic link, ignoring

 

Public bug reported:

lsinitrd /boot/initrd.img fails in case the initrd is zstd compressed:

```
$ lsinitrd /boot/initrd.img
Image: /boot/initrd.img: 0
========================================================================
Warning : /boot/initrd.img is a symbolic link, ignoring 
Version: 

Arguments: 
dracut modules:
Warning : /boot/initrd.img is a symbolic link, ignoring 
Warning : /boot/initrd.img is a symbolic link, ignoring 
========================================================================
========================================================================
cpio: premature end of archive

dracut cmdline:
Warning : /boot/initrd.img is a symbolic link, ignoring
```

```
$ 3cpio --examine /boot/initrd.img
0	zstd
```

The CAT variable is 'zstd -d -c'. The zstd man page says about the
--force parameter: "disable input and output checks. Allows [...]
operating on links"

** Affects: dracut (Ubuntu)
     Importance: High
     Assignee: Benjamin Drung (bdrung)
         Status: In Progress

** Changed in: dracut (Ubuntu)
   Importance: Undecided => High

** Changed in: dracut (Ubuntu)
       Status: New => In Progress

** Changed in: dracut (Ubuntu)
     Assignee: (unassigned) => Benjamin Drung (bdrung)

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to dracut in Ubuntu.
https://bugs.launchpad.net/bugs/2116183

Title:
  lsinitrd fails on zstd compressed initrd: /boot/initrd.img is a
  symbolic link, ignoring

Status in dracut package in Ubuntu:
  In Progress

Bug description:
  lsinitrd /boot/initrd.img fails in case the initrd is zstd compressed:

  ```
  $ lsinitrd /boot/initrd.img
  Image: /boot/initrd.img: 0
  ========================================================================
  Warning : /boot/initrd.img is a symbolic link, ignoring 
  Version: 

  Arguments: 
  dracut modules:
  Warning : /boot/initrd.img is a symbolic link, ignoring 
  Warning : /boot/initrd.img is a symbolic link, ignoring 
  ========================================================================
  ========================================================================
  cpio: premature end of archive

  dracut cmdline:
  Warning : /boot/initrd.img is a symbolic link, ignoring
  ```

  ```
  $ 3cpio --examine /boot/initrd.img
  0	zstd
  ```

  The CAT variable is 'zstd -d -c'. The zstd man page says about the
  --force parameter: "disable input and output checks. Allows [...]
  operating on links"

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



Follow ups