Bug 1291928
Summary: | Consider enabling persistence or blessing a location for persistence data | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jason Tibbitts <j> | ||||||
Component: | smartmontools | Assignee: | Michal Hlavinka <mhlavink> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 23 | CC: | christian.franke, mhlavink, stormi | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-11-11 17:55:18 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Jason Tibbitts
2015-12-15 22:18:16 UTC
Created attachment 1165337 [details]
Trivial patch
I guess I forgot to get back to this, but here's a trivial patch which adds /var/lib/smartmontools to the package. The selinux policy appears to account for this already:
/var/lib/smartmontools(/.*)? all files system_u:object_r:fsdaemon_var_lib_t:s0
so I don't see any reason not to at least have smartmontools create it and mention it in the sysconfig file.
Created attachment 1165406 [details]
Proper patch
Would be good if I actually sent the right patch. Sorry for the spam.
BTW, I will be happy to commit this for you.
build for rawhide for other fedora versions, updates were build, but won't be pushed as updates until there is something bigger Cool, thanks! Hi! I may be mistaken, but it seems to me that creating /var/lib/smartmontools automatically makes smartd write in it. At least if I believe this report https://github.com/xcp-ng/xcp/issues/137. I can't test myself easily but figured I'd tell you just in case, because I think that was not on purpose (at least, again, if I'm right). |