FS#35095 - [ppp] systemd .service file should pass the nolog option to pppd
Attached to Project:
Arch Linux
Opened by John (skeov) - Saturday, 04 May 2013, 14:38 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 06 June 2013, 18:46 GMT
Opened by John (skeov) - Saturday, 04 May 2013, 14:38 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 06 June 2013, 18:46 GMT
|
Details
Description:
pppd has two ways to log its status: 1) stdout : This can be disabled with the nolog option. 2) syslog() : This is hardcoded and cannot be disabled. The systemd .service file uses the nodetach option so pppd does not fork but this causes duplicated log entries in systemd journal because everything is logged twice (both stdout and syslog()). Passing the nolog option (in addition to nodetach) to pppd fixes this. Steps to reproduce: systemctl start ppp@foo.service journalctl _SYSTEMD_UNIT=ppp@foo.service |
This task depends upon
Closed by Thomas Bächler (brain0)
Thursday, 06 June 2013, 18:46 GMT
Reason for closing: Fixed
Additional comments about closing: ppp 2.4.5-7
Thursday, 06 June 2013, 18:46 GMT
Reason for closing: Fixed
Additional comments about closing: ppp 2.4.5-7