chiark / gitweb /
logind: explicitly create state directories during early initialization
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Mar 2013 15:46:35 +0000 (16:46 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Mar 2013 15:49:08 +0000 (16:49 +0100)
commitbb27ff6672573727488b5b4826e27ac9cb8a2c94
treeebdbd4990dbb146cc5ef86364b564e40484911dd
parent66e411811b8090d1bfd6620fc84472d83f723fa1
logind: explicitly create state directories during early initialization

Strictly speaking this isn't necessary for the /run/systemd/seats/
directory, since that is created anyway as the first seat is found, and
seat0 is always found. But let's be explicit here, and also create the
sessions/ and users/ directories, so that people can always install
inotify watches from very early on, even when nobody logged in yet.
src/login/logind.c