watchman 4.9.0-r2 does not create a states directory for watchman on installation
I tried using the watchman package from the Alpine Repository with Docker https://pkgs.alpinelinux.org/package/edge/testing/x86/watchman
And I get error when I am running watchman.
$ watchman --foreground --logfile=/dev/stdout
2019-03-23T05:47:33,674: [] while computing sockname: failed to create /var/run/watchman/root-state: No such file or directory
ERROR: Job failed: exit code 1
Similar to this issue https://github.com/facebook/watchman/issues/640.
Which I fixed by creating the missing directory manually. Is it supposed to be like that? Or the Alpine Installation should be generating that Package? Since the build log of the alpine package did log the state directory https://build.alpinelinux.org/buildlogs/build-edge-x86/testing/watchman/watchman-4.9.0-r2.log . Shouldn’t it be creating directory post installing the package.
(from redmine: issue id 10154, created on 2019-03-25)