Skip to content

systemd-remount-fs.service: Failed with result 'exit-code' when F2FS is used as root partitition #26763

@ms178

Description

@ms178

systemd version the issue has been seen with

systemd-git 253.r62916.df40b7ef5a

Used distribution

CachyOS

Linux kernel version used

6.2.5

CPU architectures issue was seen on

x86_64

Component

systemd

Expected behaviour you didn't see

Seeing the service up and running by default without using any of the mentioned workarounds from the Arch Wiki. I've verified that the mentioned workarounds indeed work though.

Unexpected behaviour you saw

❯ sudo systemctl status systemd-remount-fs.service
× systemd-remount-fs.service - Remount Root and Kernel File Systems
     Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; enabled-runtime; preset: disabled)
     Active: failed (Result: exit-code) since Sat 2023-03-11 21:46:51 CET; 6min ago
       Docs: man:systemd-remount-fs.service(8)
             https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
    Process: 984 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=1/FAILURE)
   Main PID: 984 (code=exited, status=1/FAILURE)
        CPU: 10ms

Mär 11 21:46:51 klx99 systemd[1]: Starting Remount Root and Kernel File Systems...
Mär 11 21:46:51 klx99 systemd-remount-fs[1031]: mount: /: Einhängepunkt ist noch nicht eingehängt oder es wurden ungültige Optionen angegeben.
Mär 11 21:46:51 klx99 systemd-remount-fs[984]: /usr/bin/mount for / exited with exit status 32.
Mär 11 21:46:51 klx99 systemd[1]: systemd-remount-fs.service: Main process exited, code=exited, status=1/FAILURE
Mär 11 21:46:51 klx99 systemd[1]: systemd-remount-fs.service: Failed with result 'exit-code'.
Mär 11 21:46:51 klx99 systemd[1]: Failed to start Remount Root and Kernel File Systems.

Steps to reproduce the problem

The issue is not present when using the ext4 file system with the same device, I've only come across it by using F2FS. Booting up the system should reproduce it.

For context, this is my /etc/fstab:

UUID=588A-4B41 /boot/efi      vfat    defaults,noatime 0 2
UUID=99dfb41a-c18e-4872-a1f5-d9531643c2da / f2fs defaults,compress_algorithm=lz4,compress_chksum,atgc,gc_merge,lazytime 0 1
tmpfs /tmp tmpfs   defaults,noatime,mode=1777 0 0

Additional program output to the terminal or log subsystem illustrating the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions