[systemd-devel] [PATCH] core: reuse the same /tmp, /var/tmp and inaccessible dir

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Mar 13 19:33:11 PDT 2013


Colin Walters wrote
>>  install-directories-hook:
>>       $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
>> +     $(MKDIR_P) -m 000 $(addprefix $(DESTDIR),$(INACCESSIBLE_DIR))
> Ugh.  Can you make this /run/systemd/inaccessible or something, and
> have systemd do this at runtime?

> Having systemd install a directory with mode 0 is going to screw with
> a lot of build systems.

Indeed. Even our own 'make distcheck' fails badly with this patch.
What do you think about the idea of creating /run/systemd/inaccessible
on first use?

(Note: there's an error there, and the $(addprefix) call is not needed.
 But if this line will be removed this doesn't matter.)


More information about the systemd-devel mailing list