-
Notifications
You must be signed in to change notification settings - Fork 49
Ignition: Can't specify the OEM partition path for use in the initrd #979
Copy link
Copy link
Closed
flatcar-archive/coreos-overlay
#2542Labels
kind/bugSomething isn't workingSomething isn't working
Description
Description
The following Butane config was converted from CLC where it worked because ign-converter uses a temporary path: for the initrd mount point but here we directly use /usr/share/oem which already exists as mount point in the initrd:
variant: flatcar
version: 1.0.0
storage:
files:
- path: /usr/share/oem/script
mode: 0755
contents:
inline: |
#!/bin/bash
set -euo pipefail
filesystems:
- device: /dev/disk/by-label/OEM
path: /usr/share/oem
format: btrfs
label: OEM
Impact
Boot failure, depending on whether the OEM part is mounted in the initrd or not
Environment and steps to reproduce
- Set-up: run
butaneto convert to ignition - Task: boot Flatcar with the qemu script and this ignition file
- Action(s):
sudo touch /boot/flatcar/first_boot && sudo reboot - Error:
vda6 already mounted on /sysroot/usr/share/oem
Expected behavior
Ignition reuses the mount point (and doesn't unmount it later either), or Ignition uses a temporary mount point instead.
Additional information
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working