Skip to content

nbd-client dies when running passwd in chroot #174

@Derkades

Description

@Derkades

Hi, I encountered a bit of a strange problem. I am using nbd-client version 3.25.

My steps:

  • nbd-client -name test 10.0.1.1 /dev/nbd0
  • mount /dev/nbd0 /mnt/fedora: /dev/nbd0 contains an ext4 filesystem with a Fedora system
  • chroot /mnt/fedora
  • passwd: returns segmentation fault
  • It is no longer possible to use the mounted file system

In dmesg:

[Wed Oct 23 23:08:51 2024] block nbd0: Send control failed (result -13)
[Wed Oct 23 23:08:51 2024] block nbd0: Request send failed, requeueing
[Wed Oct 23 23:08:51 2024] block nbd0: Dead connection, failed to find a fallback
[Wed Oct 23 23:08:51 2024] block nbd0: Receive control failed (result -32)
[Wed Oct 23 23:08:51 2024] block nbd0: shutting down sockets
[Wed Oct 23 23:08:51 2024] I/O error, dev nbd0, sector 33146720 op 0x0:(READ) flags 0x80700 phys_seg 19 prio class 0
[Wed Oct 23 23:08:51 2024] I/O error, dev nbd0, sector 33146856 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[Wed Oct 23 23:08:51 2024] I/O error, dev nbd0, sector 33146856 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[Wed Oct 23 23:08:54 2024] I/O error, dev nbd0, sector 33816576 op 0x1:(WRITE) flags 0x9800 phys_seg 1 prio class 2
[Wed Oct 23 23:08:54 2024] Buffer I/O error on dev nbd0, logical block 4227072, lost sync page write
[Wed Oct 23 23:08:54 2024] JBD2: I/O error when updating journal superblock for nbd0-8.
[Wed Oct 23 23:08:54 2024] Aborting journal on device nbd0-8.
[Wed Oct 23 23:08:54 2024] I/O error, dev nbd0, sector 33816576 op 0x1:(WRITE) flags 0x9800 phys_seg 1 prio class 2
[Wed Oct 23 23:08:54 2024] Buffer I/O error on dev nbd0, logical block 4227072, lost sync page write
[Wed Oct 23 23:08:54 2024] JBD2: I/O error when updating journal superblock for nbd0-8.

I can share the block device contents if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions