Re: systemd no longer creating /var/log/journal?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/24/2013 08:15 PM, Adam Williamson wrote:
> On Thu, 2013-10-17 at 08:55 -0500, Rex Dieter wrote:
>> Matthew Miller wrote:
>> 
>>> Back in May, the systemd package was changed to enable journal
>>> persistancy by default, by creating /var/log/journal.
>> 
>> that dir should be owned by systemd:
>> 
>> repoquery --whatprovides /var/log/journal systemd-0:208-2.fc20.x86_64
>> 
>> it is on my f20 box, systemd.spec in master/ branch has proper 
>> creation/ownership too:
>> 
>> %dir %{_localstatedir}/log/journal
>> 
>> Is that folder getting deleted for you somehow?
> 
> I've seen some interesting AVCs in images I've built / installs I've done
> recently:
> 
> [    3.494655] type=1400 audit(1382659969.717:4): avc:  denied  { setattr }
> for  pid=419 comm="systemd-tmpfile" name="journal" dev="dm-1" ino=391755
> scontext=system_u:system_r:systemd_tmpfiles_t:s0
> tcontext=system_u:object_r:var_log_t:s0 tclass=dir [    3.513159] type=1400
> audit(1382659969.737:5): avc:  denied  { setattr } for  pid=419
> comm="systemd-tmpfile" name="1a57b8c4d8764583b84c8a8faec7f995" dev="dm-1"
> ino=392555 scontext=system_u:system_r:systemd_tmpfiles_t:s0
> tcontext=system_u:object_r:var_log_t:s0 tclass=dir
> 
> /var/log/journal does still exist on that install, but still, it's 
> interesting, and may be more of a problem on cloud images than it is on a
> 'regular' install somehow.
> 
Just checked a fix in for this, should be in the next policy build.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJqYDgACgkQrlYvE4MpobP7cgCgk931Wz4cHEzQ/ZL8AIJnYCFT
G0IAnRCnZ1uLug/IaUFBqW6L+wwtGSPZ
=X8Zb
-----END PGP SIGNATURE-----
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux