Re: [systemd-devel] [PATCH] Do not cache use_smack() value unless /sys is mounted

2014-03-24 Thread Lennart Poettering
On Fri, 14.03.14 09:35, Łukasz Stelmach (l.stelm...@samsung.com) wrote: It was 2014-03-11 wto 05:12, when Lennart Poettering wrote: On Fri, 28.02.14 17:09, Łukasz Stelmach (l.stelm...@samsung.com) wrote: use_smack() is called very early via mkdir_p_label(). This happens before /sys is

Re: [systemd-devel] [PATCH] Do not cache use_smack() value unless /sys is mounted

2014-03-14 Thread Łukasz Stelmach
It was 2014-03-11 wto 05:12, when Lennart Poettering wrote: On Fri, 28.02.14 17:09, Łukasz Stelmach (l.stelm...@samsung.com) wrote: use_smack() is called very early via mkdir_p_label(). This happens before /sys is mounted and hence before the authoritative information about smack is even

Re: [systemd-devel] [PATCH] Do not cache use_smack() value unless /sys is mounted

2014-03-10 Thread Lennart Poettering
On Fri, 28.02.14 17:09, Łukasz Stelmach (l.stelm...@samsung.com) wrote: use_smack() is called very early via mkdir_p_label(). This happens before /sys is mounted and hence before the authoritative information about smack is even available. To prevent caching of the invalid value check whether

[systemd-devel] [PATCH] Do not cache use_smack() value unless /sys is mounted

2014-02-28 Thread Łukasz Stelmach
use_smack() is called very early via mkdir_p_label(). This happens before /sys is mounted and hence before the authoritative information about smack is even available. To prevent caching of the invalid value check whether /sys/fs exists. --- src/shared/smack-util.c |3 +++ 1 file changed, 3