Re: [PATCH 2/2] tracefs: Only clobber mode/uid/gid on remount if asked

From: Steven Rostedt
Date: Wed Sep 07 2022 - 17:47:51 EST


On Wed, 7 Sep 2022 17:46:04 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > # Don't change /sys/kernel/tracing/ permissions on automount.
> > umount /sys/kernel/debug/tracing/
>
> BTW, I noticed that the above doesn't do anything. That is,
> you cannot unmount tracefs from /sys/kernel/debug/tracing.

I just saw your new email. I guess that's just how you were triggering the
automount, by unmounting it. Right?

A lot of assumptions about what people may know ;-)

I never tried it, so I really didn't know what the result of that would be.

-- Steve