[arch-general] SystemD: Is there a way to disable PrivateTmp globally?

Dave Reisner d at falconindy.com
Fri Nov 2 08:38:37 EDT 2012


On Fri, Nov 02, 2012 at 10:48:53AM +0100, Rodrigo Rivas wrote:
> On Thu, Nov 1, 2012 at 7:11 PM, Jan Steffens <jan.steffens at gmail.com> wrote:
> 
> > The files are in subdirectories. /tmp/systemd-private-XXXXXX is bound to
> > /tmp,
> > /var/tmp/systemd-private-XXXXXX is bound to /var/tmp.
> >
> 
> Also you can get which directories are used by which process with the
> following command:
> 
> $ sudo grep systemd-private /proc/*/mountinfo
> 
> I don't know if there is a proper tool to do that, though.
> 
> --
> Rodrigo

Find the pid of the process, and findmnt can show you a pretty layout of
the mount namespace:

  findmnt -N <pid>


More information about the arch-general mailing list