<div dir="ltr"><div>I actually meant to say "<span style="color:rgb(80,0,80);font-size:12.800000190734863px">systemctl --user start test.<b>service</b>"</span><br></div><div class="gmail_extra">In <span style="font-size:12.800000190734863px">Ubuntu 16.04 system with systemd 229, </span><span style="font-size:12.800000190734863px">I was able to bypass the permission error by adding the user to group "adm", but now the user can see the journal of system units as  well.</span></div><div class="gmail_extra"><br></div><div class="gmail_extra">One weird thing now is that</div><div class="gmail_extra">"journalctl --user-unit test.service" will only show systemd message, not the stdout / stderr of the test process</div><div class="gmail_extra"><br></div><div class="gmail_extra">for example:</div><div class="gmail_extra"><div class="gmail_extra">Sep 30 23:09:14 hostname systemd[10551]: Stopped a test service.</div><div class="gmail_extra">Sep 30 23:09:46 hostname systemd[10551]: Started a test service.</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">This is my test.service</div><div class="gmail_extra"><div class="gmail_extra">[Unit]</div><div class="gmail_extra">Description=a test service</div><div class="gmail_extra"><br></div><div class="gmail_extra">[Service]</div><div class="gmail_extra">ExecStart=/bin/echo test something</div><div class="gmail_extra"><br></div><div class="gmail_extra">[Install]</div><div class="gmail_extra">WantedBy=default.target</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">According to #<a href="https://github.com/systemd/systemd/issues/3281" rel="noreferrer" target="_blank">3281</a>, it seems this could be solved by changing the journal store to non-volatile.  I am going to try it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 5:13 PM, Stefan Schweter <span dir="ltr"><<a href="mailto:stefan@schweter.it" target="_blank">stefan@schweter.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">On 03.10.2016 20:59, Daniel Ng wrote:<br>
<br>
</span><span class="gmail-">>     journalctl --user -u test.service<br>
>     Hint: You are currently not seeing messages from other users and the<br>
> system.<br>
>       Users in the 'systemd-journal' group can see all messages. Pass -q to<br>
>       turn off this notice.<br>
>     No journal files were opened due to insufficient permissions.<br>
><br>
<br>
</span>I could reproduce the problem on a Ubuntu 16.04 system with systemd 229.<br>
<br>
Please also have a look at this issue on GitHub [1].<br>
<br>
Regards,<br>
<br>
Stefan<br>
<br>
[1] <a href="https://github.com/systemd/systemd/issues/3281" rel="noreferrer" target="_blank">https://github.com/systemd/<wbr>systemd/issues/3281</a><br>
<div class="gmail-HOEnZb"><div class="gmail-h5">______________________________<wbr>_________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
</div></div></blockquote></div><br></div></div>