I took following result.

PID=$(systemctl show systemd-journald -p MainPID --value)
strace -ff -e trace=recvmsg,pwrite64,write,fdatasync,openat -p $PID
systemd-run   --unit=test-journal   --property=StandardOutput=journal   /bin/sh 
-c 'echo stdout; echo stderr >&2'

Is it useful?
Ofcource, systemd-run's result was not received by journal.


** Attachment added: "strace.txt"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2160529/+attachment/5981781/+files/strace.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160529

Title:
  systemd services with StandardOutput=journal produce no journal
  entries while syslog logging still works

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2160529/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to