Skip to content

hostconfig: Use make_path to create possible non-existing directory /node #184

Merged
merged 1 commit into from
Jan 3, 2023

Commits on Dec 7, 2022

  1. hostconfig: Use mkdir -p to create possible non-existing directory …

    …`/node`
    
        # systemctl status startup-tags.service
        ● startup-tags.service
             Loaded: loaded (/etc/systemd/system/startup-tags.service; static)
             Active: failed (Result: exit-code) since Thu 2021-05-06 20:46:29 CEST; 4min 11s ago
            Process: 1297907 ExecStart=/usr/sbin/hostconfig --populate-node (code=exited, status=2)
           Main PID: 1297907 (code=exited, status=2)
    
        May 06 20:46:29 flughafenberlinbrandenburgwillybrandt systemd[1]: Starting startup-tags.service...
        May 06 20:46:29 flughafenberlinbrandenburgwillybrandt hostconfig[1297907]: /node/tags: No such file or directory
        May 06 20:46:29 flughafenberlinbrandenburgwillybrandt systemd[1]: startup-tags.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
        May 06 20:46:29 flughafenberlinbrandenburgwillybrandt systemd[1]: startup-tags.service: Failed with result 'exit-code'.
        May 06 20:46:29 flughafenberlinbrandenburgwillybrandt systemd[1]: Failed to start startup-tags.service.
    pmenzel authored and donald committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    73a2922 View commit details
    Browse the repository at this point in the history