Skip to content

No longer able to enable state overlay #1925

Open

Description

@woprandi

I'm no longer able to set /opt writable on my image. It worked several weeks ago

FROM quay.io/bootc-devel/fedora-bootc-43-standard

RUN echo "password" | passwd --stdin
RUN rm -rf /opt && mkdir /opt
RUN systemctl enable [email protected]
systemctl status [email protected] 
� [email protected] - OSTree State Overlay On /opt
     Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             \u2514\u250010-timeout-abort.conf
             /etc/systemd/system/[email protected]
             \u2514\u2500override.conf
     Active: failed (Result: exit-code) since Fri 2026-01-16 16:34:36 CET; 59min left
 Invocation: 3583bbc39a514d5cba9efdd3e0b6dd24
       Docs: man:ostree(1)
    Process: 798 ExecStart=/usr/bin/ostree admin state-overlay opt /opt (code=exited, status=1/FAILURE)
   Main PID: 798 (code=exited, status=1/FAILURE)
   Mem peak: 2.3M
        CPU: 14ms

janv. 16 16:34:36 fedora ostree[798]: error: mount(/opt): Argument invalide
janv. 16 16:34:36 fedora systemd[1]: Starting [email protected] - OSTree State Overlay On /opt...
janv. 16 16:34:36 fedora systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
janv. 16 16:34:36 fedora systemd[1]: [email protected]: Failed with result 'exit-code'.
janv. 16 16:34:36 fedora systemd[1]: Failed to start [email protected] - OSTree State Overlay On /opt.

Activity

  1. changed the title [-]No longer able to enabling state overlay[/-] [+]No longer able to enable state overlay[/+] on Jan 16, 2026
  2. self-assigned this
    on Jan 16, 2026
  3. jeckersb commented on Jan 16, 2026

    @jeckersb
    Collaborator

    Thanks for the report! I am able to reproduce this and I'll take a look to see where this stopped working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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