meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sw:yocto:overlayfs:machine-id [2026/04/10 18:42] – niziak | sw:yocto:overlayfs:machine-id [2026/04/10 19:10] (current) – niziak | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| systemd[1]: Failed to start Commit a transient machine-id on disk. | systemd[1]: Failed to start Commit a transient machine-id on disk. | ||
| </ | </ | ||
| + | |||
| + | [[https:// | ||
| It runs because of conditions defined in unit file: | It runs because of conditions defined in unit file: | ||
| Line 37: | Line 39: | ||
| so '' | so '' | ||
| + | As workarund '' | ||
| <file ini / | <file ini / | ||
| [Unit] | [Unit] | ||
| ConditionPathIsReadWrite=|/ | ConditionPathIsReadWrite=|/ | ||
| ConditionPathIsReadWrite=|/ | ConditionPathIsReadWrite=|/ | ||
| - | ConditionFirstBott=yes | + | ConditionFirstBoot=yes |
| ConditionPathIsMountPoint=/ | ConditionPathIsMountPoint=/ | ||
| </ | </ | ||
| + | |||
| + | Second approach is [[https:// | ||
| + | |||
| + | <file ini / | ||
| + | [Unit] | ||
| + | ConditionPathIsReadWrite= | ||
| + | ConditionPathIsReadWrite=/ | ||
| + | ConditionPathIsMountPoint= | ||
| + | ConditionPathIsMountPoint=/ | ||
| + | |||
| + | [Service] | ||
| + | ExecStart= | ||
| + | ExecStart=systemd-machine-id-setup --commit --root=/ | ||
| + | </ | ||
| + | |||
| + | More about problem: | ||
| + | [[https:// | ||