Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-117133

systemd-tmpfiles can't deal with /home and /srv links in image mode

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-10.1
    • systemd
    • None
    • No
    • None
    • rhel-systemd
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      In image mode, failed to start `systemd-tmpfiles-setup.service`. systemd-tmpfiles should accept these being symlinks, like `/home -> /var/home` and `/srv -> /var/srv`
      Error log:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      # systemctl status systemd-tmpfiles-setup
      ● systemd-tmpfiles-setup.service - Create System Files and Directories
           Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
           Active: active (exited) since Mon 2025-03-24 09:48:03 UTC; 8min ago
       Invocation: ba6a03920abc4fbf8ade488db182ed7a
             Docs: man:tmpfiles.d(5)
                   man:systemd-tmpfiles(8)
          Process: 838 ExecStart=systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=73)
         Main PID: 838 (code=exited, status=73)
         Mem peak: 9.2M
              CPU: 116ms
      
      Mar 24 09:48:03 localhost systemd[1]: Starting systemd-tmpfiles-setup.service - Create System Files and Directories...
      Mar 24 09:48:03 localhost systemd-tmpfiles[838]: "/home" already exists and is not a directory.
      Mar 24 09:48:03 localhost systemd-tmpfiles[838]: "/srv" already exists and is not a directory.
      Mar 24 09:48:03 localhost systemd-tmpfiles[838]: Failed to create directory or subvolume "/usr/local/man": Read-only file system
      Mar 24 09:48:03 localhost systemd[1]: Finished systemd-tmpfiles-setup.service - Create System Files and Directories.
      

              systemd-maint systemd maint mailing list
              xiaofwan@redhat.com Xiaofeng Wang
              systemd maint mailing list systemd maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: