Skip to content

Instantly share code, notes, and snippets.

@castrojo
Created April 20, 2025 14:30
Show Gist options
  • Save castrojo/413da8597e1e352566d06f7fede4e270 to your computer and use it in GitHub Desktop.
Save castrojo/413da8597e1e352566d06f7fede4e270 to your computer and use it in GitHub Desktop.
0: Readymade subprocess failed
Location:
src/backend/install.rs:190
Note: exit status: 1
Note: Stdout:
Setting env var NO_COLOR to 1
Setting env var READYMADE_LOG to info
2025-04-20T14:29:14.763078Z INFO readymade: Readymade Installer 0.12.1
at src/main.rs:390
2025-04-20T14:29:14.763125Z INFO readymade: Logging to journald
at src/main.rs:394
2025-04-20T14:29:14.763139Z INFO readymade: Logging to /tmp/readymade-logs1OHS5f/readymade.log
at src/main.rs:395
2025-04-20T14:29:14.763222Z INFO readymade: Running in non-interactive mode
at src/main.rs:289
2025-04-20T14:29:14.763322Z INFO readymade::backend::install: Layering repart templates
at src/backend/install.rs:234
in readymade::backend::install::install with self: InstallationState { langlocale: Some("en_US.UTF-8"), destination_disk: Some(DiskInit { disk_name: "vda", os_name: "Unknown OS", devpath: "/dev/vda", size: 21.5 GB }), installation_type: Some(WholeDisk), mounttags: None, postinstall: [Script(Script)], encrypt: true, tpm: false, encryption_key: Some("Jitcgitw123"), distro_name: "Bluefin", bootc_imgref: Some("containers-storage:ghcr.io/ublue-os/bluefin:gts") }
2025-04-20T14:29:14.763364Z INFO readymade::util::fs: Copying directory using internal implementation, from: "/usr/share/readymade/repart-cfgs/bootcwholedisk", to: "/run/readymade-install"
at src/util/fs.rs:150
in readymade::backend::install::install with self: InstallationState { langlocale: Some("en_US.UTF-8"), destination_disk: Some(DiskInit { disk_name: "vda", os_name: "Unknown OS", devpath: "/dev/vda", size: 21.5 GB }), installation_type: Some(WholeDisk), mounttags: None, postinstall: [Script(Script)], encrypt: true, tpm: false, encryption_key: Some("Jitcgitw123"), distro_name: "Bluefin", bootc_imgref: Some("containers-storage:ghcr.io/ublue-os/bluefin:gts") }
2025-04-20T14:29:14.764908Z INFO readymade::backend::install: Using /run/rootfsbase as copy source, as it exists presumably due to raw rootfs in dracut
at src/backend/install.rs:628
in readymade::backend::install::systemd_repart with blockdev: "/dev/vda", cfgdir: "/run/readymade-install", use_keyfile: true, is_bootc: true
in readymade::backend::install::stage-mkpart
in readymade::backend::install::install with self: InstallationState { langlocale: Some("en_US.UTF-8"), destination_disk: Some(DiskInit { disk_name: "vda", os_name: "Unknown OS", devpath: "/dev/vda", size: 21.5 GB }), installation_type: Some(WholeDisk), mounttags: None, postinstall: [Script(Script)], encrypt: true, tpm: false, encryption_key: Some("Jitcgitw123"), distro_name: "Bluefin", bootc_imgref: Some("containers-storage:ghcr.io/ublue-os/bluefin:gts") }
Note: Stderr:
/run/readymade-luks.key has 0644 mode that is too permissive, please adjust the ownership and access mode.
/run/readymade-install/50-root.conf:3: Unknown key 'Compression' in section [Partition], ignoring.
/run/readymade-install/50-root.conf:4: Too many arguments in MountPoint=, ignoring: /:subvol=/,compress=zstd:1
/run/readymade-install/50-root.conf:5: Too many arguments in MountPoint=, ignoring: /home:subvol=/home,compress=zstd:1
/run/readymade-install/50-root.conf:10: Unknown key 'CompressionLevel' in section [Partition], ignoring.
Applying changes to /dev/vda.
Wiped block device.
Discarded entire block device.
Successfully wiped file system signatures from future partition 0.
Successfully wiped file system signatures from future partition 1.
Successfully wiped file system signatures from future partition 2.
Formatting future partition 0.
mkfs.fat 4.2 (2021-01-31)
/dev/loop1 successfully formatted as vfat (label "EFI-SYSTEM", uuid c4e7215a)
Successfully formatted future partition 0.
Syncing future partition 0 contents to disk.
Formatting future partition 1.
mke2fs 1.47.1 (20-May-2024)
Discarding device blocks: 0/262144 done
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: 39494b93-35b6-4ef5-896c-2f85f6a3d84d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: 0/8 done
Writing inode tables: 0/8 done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: 0/8 done
/dev/loop1 successfully formatted as ext4 (label "xbootldr", uuid 39494b93-35b6-4ef5-896c-2f85f6a3d84d)
Successfully formatted future partition 1.
Syncing future partition 1 contents to disk.
Encrypting future partition 2...
Successfully encrypted future partition 2.
Formatting future partition 2.
btrfs-progs v6.12
See https://btrfs.readthedocs.io for more information.
Performing full device TRIM /dev/mapper/luks-repart-d5cea9caf75b77f4 (18.48GiB) ...
NOTE: several default settings have changed in version 5.15, please make sure
this does not affect your deployments:
- DUP for metadata (-m dup)
- enabled no-holes (-O no-holes)
- enabled free-space-tree (-R free-space-tree)
Label: root-x86-64
UUID: 34e0ff2e-99d6-4321-af2f-18c10e36209c
Node size: 16384
Sector size: 4096(CPU page size: 4096)
Filesystem size: 18.48GiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 256.00MiB
System: DUP 8.00MiB
SSD detected: no
Zoned device: no
Features: extref, skinny-metadata, no-holes, free-space-tree
Checksum: crc32c
Number of devices: 1
Devices:
ID SIZE PATH
1 18.48GiB /dev/mapper/luks-repart-d5cea9caf75b77f4
/dev/mapper/luks-repart-d5cea9caf75b77f4 successfully formatted as btrfs (label "root-x86-64", uuid 34e0ff2e-99d6-4321-af2f-18c10e36209c)
Successfully formatted future partition 2.
Syncing future partition 2 contents to disk.
Adding new partition 0 to partition table.
Adding new partition 1 to partition table.
Adding new partition 2 to partition table.
Writing new partition table.
Telling kernel to reread partition table.
Failed to reread partition table: Device or resource busy
Error:
0: systemd-repart errored with status code Some(1)
Location:
src/backend/install.rs:744
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Warning: SpanTrace capture is Unsupported.
Ensure that you've setup a tracing-error ErrorLayer and the semver versions are compatible
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment