[systemd-devel] setroubleshoot integration.
Daniel J Walsh
dwalsh at redhat.com
Wed Jan 9 08:00:36 PST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One of my goals with setroubleshoot analysys is to get it integrated into the
journald system.
In Fedora I am adding
systemd.journal.send(siginfo.format_text())
Which will put the setroubleshoot info into the journal, but what I really
need is to add a key for the process id that created the journal entry.
We had talked about this a while ago with the goal of allowing something like
systemctl httpd status
....
SELinux is blocking httpd read access on /var/www/index.html
setroubleshoot
...
run restorecon /var/www/index.html
The only way for systemd to know the setroubleshoot analysys is for httpd is
to include the pid when setroubleshoot writes the journal.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlDtlCQACgkQrlYvE4MpobNLhQCg5mTHrBiM/nhPqYt62y9jUYeV
btgAoKNJs4NVhd5jqxOafH/5MtQzB+YJ
=eVMj
-----END PGP SIGNATURE-----
More information about the systemd-devel
mailing list