Bug 71923
| Summary: | Zebra config files should not be readable by everyone | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Public Beta | Reporter: | Jos Vos <jos> | ||||
| Component: | zebra | Assignee: | Elliot Lee <sopwith> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | null | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2002-08-20 09:40:18 UTC | Type: | --- | ||||
| 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
Jos Vos
2002-08-20 08:43:35 UTC
Well, I shouldn't conclude too quickly ;-), I now see the config files are only ghost files. But, still, %attr(640,root,root) should be added for the *.conf files, as now "rpm -V" reports a mode problem (the %post script *does* use mode 640 for the config files it creates) and it won't do that when a file is readable for the world, which is a potential risk. Furthermore, why not just add empty config files to the package i.s.o. including them as %ghost files? Maybe the init scripts can be adapted so the -f test is replaced by a -s test, to force the service to be configured first. Created attachment 71567 [details]
Patch for spec file to change mode of %ghost config files.
0.93a-2 |