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

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



On Thu, Nov 1, 2012 at 5:40 PM, "Jérôme M. Berger" <jeberger@xxxxxxx> wrote:
>         Hi,
>
>         Is there a way to disable Private Tmp globally? I know I can
> disable it by copying all the affected unit files to /etc/systemd
> and removing it there but is there a way to disable it once and for all?
>
>         The reasons I want to disable it are:
> - I don't need it: this is a single user machine that sits behind a
> firewall and doesn't run any publicly available servers, so the
> security issues that private tmp solves are not important for this
> machine;
> - I want to know where the files are, and I especially do not want
> them in a tmpfs. According to the docs I was able to find, private
> tmp is implemented using "kernel namespace" but that tells me
> nothing about where the data is stored;
> - I want to be able to access those files for debugging purposes.
> For example, I have some custom Apache modules that dump debug
> information to files in /tmp and I need to be able to access them.
> However, I haven't found any way to access the private tmp of a
> service, even as root.
>
>         Thanks,
>                 Jerome
> --
> mailto:jeberger@xxxxxxx
> http://jeberger.free.fr
> Jabber: jeberger@xxxxxxxxx
>

The files are in subdirectories. /tmp/systemd-private-XXXXXX is bound to /tmp,
/var/tmp/systemd-private-XXXXXX is bound to /var/tmp.


[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