Skip to content

Broke warn_on_host_root #907

Closed
Closed
@omertuc

Description

@omertuc

With #137 warn_on_host_root is broken

Running command

sudo podman run -it --rm --privileged -v /dev:/dev -v /var/lib/containers:/var/lib/containers -v /:/target --pid=host --security-opt label=type:unconfined_t -e RUST_LOG=trace quay.io/otuchfel/bootc:latest bash -c 'diff <(stat -f -c %i /target/sysroot) <(stat -f -c %i /proc/1/root/) --side-by-side`

On a bootc booted system

fc0400000000						      |	70000000000

On a normal system

(slightly modified to look at /target rather than /target/sysroot which is what bootc will do)

4a902cc3058b9cd6						4a902cc3058b9cd6

On FCOS

fc0400000000						      |	0

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/installIssues related to `bootc install`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions