Re: SystemD: Is there a way to disable PrivateTmp globally?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dave Reisner wrote:
> 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@xxxxxxxxx> 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>
> 
	Thanks a lot Jan, Rodrigo and Dave. That takes care of the main
reasons why I didn't want private tmp.

		Jerome
-- 
mailto:jeberger@xxxxxxx
http://jeberger.free.fr
Jabber: jeberger@xxxxxxxxx

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux