Bug 14618 - stores files in lockdir that should be preserved after boot
Summary: stores files in lockdir that should be preserved after boot
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 14:11 UTC by Jelmer Vernooij
Modified: 2021-01-25 14:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jelmer Vernooij 2021-01-25 14:11:31 UTC
(Based on an email conversation with Rowland)

Samba currently stores various files in $lockdir that are ideally preserved after a reboot. These should either be in $cachedir (if they can be removed and would be regenerated without causing data loss) or elsewhere (maybe /var/lib/samba?) if they need to be preserved.

lockdir should be used for application-shared lock files, and is stored in memory on most modern Linux systems - 
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s09.html