Bugzilla – Bug 5110
tl-xinit doesn't cleanup sessions directory the correct way
Last modified: 2015-09-25 14:01:49
You need to
before you can comment on or make changes to this bug.
If a directory with a file is created in the session directory, the cleanup
implementation of tl-xinit will fail to wipe the session directory.
Current implementation is kind of shorthanded and a recursive delete of session
directory would be more proper.
See support issue 15162 for more info.
Fixed in r30656.
Tester should make sure that there is no way to fool it into deleting things
outside the session directory (except for bind mounts, which are undetectable
Tester should also verify that it doesn't halt on errors and only skips those
> Tester should make sure that there is no way to fool it into deleting things
> outside the session directory (except for bind mounts, which are undetectable
> per design).
Verified code which check that files to be removed is on same filesystem as
base directory. There is also a check that prevents recurse to work on symbolic
> Tester should also verify that it doesn't halt on errors and only skips those
Verified that a cleaned out session directory only contains the files which the
process failed to cleanup.