Summary: | systemd tmpfile cleanup should not recurse below mount points | ||
---|---|---|---|
Product: | systemd | Reporter: | Neil Rickert <rickert> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | fred, vovan |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Neil Rickert
2013-02-19 14:35:57 UTC
Hmm, that's a problem indeed, but hardly a regression, since the normal check for mount points is to compare major/minors of the backing devices, which in your case will be the same, since it's actually a bind mount of the same fs. We can do this nicer on Linux, via the mount ID that is retrievable with the newer nametohandle() syscall. We already have code for that in systemd, so, this would be a minor change only. This is supposed to fix it: http://cgit.freedesktop.org/systemd/systemd/commit/?id=99d680acf192a7193c3de73b525ffbc24c25cca8 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.