Description of problem: When running systemd-nspawn with -u <user>, it fails with "mkdir_safe_label() failed: File exists". Version-Release number of selected component (if applicable): systemd-208-21.fc20.x86_64 Steps to Reproduce: 1. Set up a fedora rawhide container in /srv/rawhide. 2. In the container, create a user $ useradd jsynacek 3. Run systemd-nspawn $ sudo systemd-nspawn -D /srv/rawhide -u jsynacek Actual results: $ sudo systemd-nspawn -D /srv/rawhide-scratch -u jsynacek Spawning namespace container on /srv/rawhide-scratch (console is /dev/pts/2). Init process in the container running as PID 15375. mkdir_safe_label() failed: File exists Container failed with error code 1. Expected results: /bin/bash is loaded and everything proceeds as expected. Additional info: http://cgit.freedesktop.org/systemd/systemd/commit/?id=f418f31d5042398344740f2d8ac4dc1c2583151c seems to be fixing this problem in the newer code.
Created attachment 940294 [details] patch
systemd-208-22.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/systemd-208-22.fc20
Package systemd-208-22.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-208-22.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11478/systemd-208-22.fc20 then log in and leave karma (feedback).
systemd-208-22.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.