|
Socket files needed to serve virtual media devices are created in /tmp
directory which is temporary tmpfs mount. All temporary directories are
subject of systemd's systemd-tmpfiles-clean.service which cleanes up
them basing on age.
Systemd-tmpfiles-clean uses tmpfiles.d entries to manage all temporary
directories. This change moves creation of VM socket directory to
tmpfiles.d - appropriate config has been added for Virtual Media. The
entry will create socket directory without Age limitation.
Socket location is moved from /tmp to /run. Is it more
appropriate place where all daemons should have it's working files
located.
Tested:
Manually mounting proxy and legacy cifs/https share, running
systemd-tmpfiles-clean.service does not render any problems.
Change-Id: I29ace61894587e03449e29c2459930008a2a1d99
Signed-off-by: Czarnowski, Przemyslaw <przemyslaw.hawrylewicz.czarnowski@intel.com>
|