| Summary: | systemd-tmpfiles changes /dev/fuse permissions denying user access | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | William Murphy <warrendiogenese> |
| Component: | RPM Packages | Assignee: | Colin Guthrie <mageia> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | thkala |
| Version: | Cauldron | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | kmod-18-3.mga5.src.rpm | CVE: | |
| Status comment: | |||
|
Description
William Murphy
2014-11-12 20:14:34 CET
/dev/fuse is not the only file affected - pretty much every node in /run/tmpfiles.d/kmod.conf should be reviewed. For example, /dev/cuse and the nodes in /dev/snd should probably not have 0600 permissions either. At least these are all on a tmpfs - as soon as the root cause is fixed a reboot will eliminate the problem. CC:
(none) =>
thkala
Manuel Hiebel
2014-11-13 23:05:41 CET
Keywords:
(none) =>
Triaged The description isn't 100% correct. Running systemd-tmpfiles --create does not run "kmod static-nodes..". The latter is run via kmod-static-nodes.service which runs before systemd-tmpfiles-setup-dev.service. The latter runs "/usr/bin/systemd-tmpfiles --prefix=/dev --create --boot" What I think is wrong, is that the "kmod static-nodes" generates the tmpfiles file without an ! at the end of the first field. Doing this should mean that it only applies when systemd-tmpfiles is run with the --boot argument and will not trigger on subsequent calls to "systemd-tmpfiles --create" In a quick test here, the ! seems to do the job, so I'll look into patching that upstream. Thanks for the report.
Colin Guthrie
2014-11-14 10:12:31 CET
Status:
NEW =>
ASSIGNED Ahh indeed. Suspicions confirmed as this is already fixed in kmod git. http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=27eceb2e4ecbf2e31940b67cee682a6935f61e6c Should be fixed in kmod-18-4.mga5 but please confirm. Source RPM:
systemd-217-7.mga5.src.rpm =>
kmod-18-3.mga5.src.rpm No confirmation, assuming it's fixed. Status:
ASSIGNED =>
RESOLVED |