chiark / gitweb /
nspawn: allow -EEXIST on mkdir_safe /home/${uid}
authorBrandon Philips <brandon.philips@coreos.com>
Thu, 13 Mar 2014 22:19:40 +0000 (15:19 -0700)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Mar 2014 01:25:56 +0000 (02:25 +0100)
commitf418f31d5042398344740f2d8ac4dc1c2583151c
treeab99d4bdeb63cad459ed2e1ec4d107030ab80ee3
parentb64c7b3d5b06af9fafd47c0795acb003ddbe90ef
nspawn: allow -EEXIST on mkdir_safe /home/${uid}

With systemd 211 nspawn attempts to create the home directory for the
given uid. However, if the home directory already exists then it will
fail. Don't error out on -EEXIST.
src/nspawn/nspawn.c