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

"Jérôme M. Berger" jeberger at free.fr
Fri Nov 2 09:27:41 EDT 2012


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

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20121102/c7a66f0f/attachment.asc>


More information about the arch-general mailing list