Bug 922030
| Summary: | Turn on symlink protections in sysctl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Walsh <dwalsh> | ||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | fweimer, iarlyy, jonathan, lnykryn, notting, plautrba, rvokal, vpavlin | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | initscripts-9.45-1.fc19 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-03-15 14:41:19 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
Daniel Walsh
2013-03-15 12:35:21 UTC
Could you add these lines fs.protected_hardlinks = 1 fs.protected_symlinks = 1 to /usr/lib/sysctl.d/00-system.conf http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=800179c9b8a1e796e441674776d11cd4c05d61d7 Explains these restrictions. Created attachment 710662 [details]
Do what dan says.
Now with patch
Applied in upstream repository. Thanks. Let's move that setting and the entire file to upstream systemd, we should make that general Linux default and not only put it into a fedora-only package. Hm. Some of those settings I could see being the general Linux default, but at least in downstream distributions we do things like changing the defaults of shmmax/shmall. |