2012/11/15 Zbigniew Jędrzejewski-Szmek <span dir="ltr"><<a href="mailto:zbyszek@in.waw.pl" target="_blank">zbyszek@in.waw.pl</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Nov 06, 2012 at 01:07:26AM +0100, Mirco Tischler wrote:<br>
> This allows the journal code to set the _SYSTEMD_UNIT tag for messages generated<br>
> by systemd --user session units.<br>
</div>Hi,<br>
this would open the door to spoofed messages. Previously Lennart<br>
suggested [1] using _SYSTEMD_USER_UNIT=.<br>
<br>
Zbyszek<br>
<br>
[1] <a href="http://lists.freedesktop.org/archives/systemd-devel/2012-August/006103.html" target="_blank">http://lists.freedesktop.org/archives/systemd-devel/2012-August/006103.html</a></blockquote><div>Hi,</div><div><br>
</div><div>thanks for your comment. </div></div>My idea was to add filtering after the _SYSTEMD_SESSION field to systemctl status. The reason why I didn't implement this yet is because I wasn't sure about the best way to make known wether we are in session or system mode where we'd need it. But if _SYSTEMD_USER_UNIT is preferred, I'll try to implement a patch.<div>
<br></div><div>Mirco</div>