Description of problem: After reboot host from "journalctl -x -p info" output: Aug 25 18:52:49 domek fedora-import-state[843]: mkdir: cannot create directory ‘’: No such file or directory Aug 25 18:52:49 domek fedora-import-state[843]: chmod: cannot access '': No such file or directory Aug 25 18:52:49 domek fedora-import-state[843]: chown: cannot access '': No such file or directory
Can you please add 'set -x' to /usr/lib/systemd/fedora-import-state so it looks like this: [lnykryn@notas ~]$ head -5 /usr/lib/systemd/fedora-import-state #!/bin/bash # fedora-import-state: import state files from initramfs (e.g. network config) set -x # copy state into root and then reboot and send us output of journalctl -u fedora-import-state.service
Hello, thank you very much for the report! :) I see the problem now. It is caused by missing "-mindepth 1" argument for the 'find' command (fedora-import-state:11). I will create a patch and do a new release. Best regards, Dee'Kej
I'm really sorry but I was busy in mean time. Good that it was possible in mean time identify the bug :) Thx
Created attachment 1196246 [details] do-not-try-to-create-folder-empty-name.patch So, after looking into it more, I just can't add the '-mindepth 1' option, because then the fedora-import-state script might skip files inside the /run/initramfs/state... Therefore, I just added a simple condition that will skip the folder creation in case the folder name string is empty.
initscripts-9.69-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6ccf6991b5
initscripts-9.69-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6ccf6991b5
initscripts-9.69-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.