Skip to content

systemd-remount-fs.service fail with composefs enabled #3193

@karuboniru

Description

@karuboniru
  • Enable composefs by adding following lines to ostree-prepare-root.conf:
[composefs]
enabled=yes
  • Apply image and reboot
  • Check systemctl status systemd-remount-fs.service

Result:

2月 22 13:28:48 karubook systemd-remount-fs[19855]: mount: /: mount point not mounted or bad option.
2月 22 13:28:48 karubook systemd-remount-fs[19855]:        dmesg(1) may have more information after failed mount system call.
2月 22 13:28:48 karubook systemd-remount-fs[19854]: /usr/bin/mount for / exited with exit status 32.
2月 22 13:28:48 karubook systemd[1]: systemd-remount-fs.service: Main process exited, code=exited, status=1/FAILURE

This might be a systemd bug that tried to re-mount the overlay on / type overlay (ro,relatime,seclabel,lowerdir=/run/ostree/.private/cfsroot-lower::/sysroot/ostree/repo/objects,redirect_dir=on,metacopy=on). If you can comfirm this I can file an another issue on systemd repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/composefsIssues related to composefsdifficulty/mediummedium complexity/difficutly issuereward/smallThis is a minor fix or cleanuptriagedThis issue has been evaluated and is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions