Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1358335 - NetworkManager log messages are missing in /tmp/syslog
NetworkManager log messages are missing in /tmp/syslog
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager (Show other bugs)
7.2
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Lubomir Rintel
Desktop QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-20 10:31 EDT by Radek Vykydal
Modified: 2016-11-03 15:27 EDT (History)
8 users (show)

See Also:
Fixed In Version: NetworkManager-1.4.0-0.6.beta1.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1369439 (view as bug list)
Environment:
Last Closed: 2016-11-03 15:27:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
output of journalctl -u NetworkManager from anaconda (76.76 KB, text/plain)
2016-08-19 04:37 EDT, Radek Vykydal
no flags Details
/tmp/syslog missing NM messages (73.92 KB, text/plain)
2016-08-19 04:38 EDT, Radek Vykydal
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2581 normal SHIPPED_LIVE Low: NetworkManager security, bug fix, and enhancement update 2016-11-03 08:08:07 EDT

  None (edit)
Description Radek Vykydal 2016-07-20 10:31:49 EDT
During the development phase of RHEL 7.3 NetworkManager messages disappeared from /tmp/syslog.
Comment 1 Radek Vykydal 2016-07-20 10:37:17 EDT
Dan, any hint what might be the cause? Or what we need to configure to bring it back?
Comment 3 Lubomir Rintel 2016-07-28 05:34:00 EDT
Our fault.
Stealing this.
Comment 4 Lubomir Rintel 2016-07-28 05:39:27 EDT
For QA: We used to log to syslog in 7.2, but added an option to log to journal in 7.3 and unintentionally switched the default.

Not a big deal in the installed system since journald listens on syslog socket there and rsyslogd sucks in the logs from journal; but makes difference in the installer environment.
Comment 5 Radek Vykydal 2016-08-17 04:19:05 EDT
Any update?
Requesting additional logs from reporters due to this BZ makes working on 7.3 bugs harder to Anaconda team.
Comment 7 Radek Vykydal 2016-08-18 07:27:46 EDT
The 1:1.4.0-0.4.git20160727.9446481f build does not fix the problem for me.

I've tested with http://download.eng.brq.redhat.com/pub/rhel/rel-eng/RHEL-7.3-20160811.0/compose/Server/x86_64/os/ having newer build NetworkManager-1.4.0-0.5.beta1.el7 but it doesn't not work with the 1:1.4.0-0.4.git20160727.9446481f either.
Comment 8 Thomas Haller 2016-08-18 08:33:53 EDT
(In reply to Radek Vykydal from comment #7)
> The 1:1.4.0-0.4.git20160727.9446481f build does not fix the problem for me.
> 
> I've tested with
> http://download.eng.brq.redhat.com/pub/rhel/rel-eng/RHEL-7.3-20160811.0/
> compose/Server/x86_64/os/ having newer build
> NetworkManager-1.4.0-0.5.beta1.el7 but it doesn't not work with the
> 1:1.4.0-0.4.git20160727.9446481f either.

oh right... there was a bug in the fix :(

1.4.0-0.6 will be it.
Comment 10 Radek Vykydal 2016-08-19 04:37 EDT
Created attachment 1192071 [details]
output of journalctl -u NetworkManager from anaconda

Current nigthly http://download.eng.brq.redhat.com/pub/rhel/nightly/RHEL-7.3-20160818.n.0/compose/Server/x86_64/os/ with NetworkManager 1.4.0-0.6.beta1.el7 still does not seem to log into syslog in installer. I am attaching output of journalctl -u NetworkManager.

Is there any way we can help to debug the issue?
Perhaps there may be some problem also on Anaconda side?
Comment 11 Radek Vykydal 2016-08-19 04:38 EDT
Created attachment 1192072 [details]
/tmp/syslog missing NM messages
Comment 12 Thomas Haller 2016-08-19 06:28:37 EDT
(In reply to Radek Vykydal from comment #11)
> Created attachment 1192072 [details]
> /tmp/syslog missing NM messages

no idea, why it still fails. It really shouldn't.
Back to Lubomir :(
Comment 13 Radek Vykydal 2016-08-23 04:33:39 EDT
We probably need to update our rsyslog configuration in installer. It seems that we are hitting a journald, NM, syslogd services start race condition in 7.3 in installer. Looking into it.
Comment 14 Thomas Haller 2016-08-23 04:40:27 EDT
The bug seems to be fixed on NetworkManager's side with NetworkManager-1.4.0-0.6.beta1.el7 release.

Waiting for anaconda to sort out the rsyslog configuration...
Comment 15 Radek Vykydal 2016-08-23 08:39:36 EDT
(In reply to Thomas Haller from comment #14)
> The bug seems to be fixed on NetworkManager's side with
> NetworkManager-1.4.0-0.6.beta1.el7 release.
> 
> Waiting for anaconda to sort out the rsyslog configuration...

This will be fixed in lorax: bug 1369439
Comment 17 Vladimir Benes 2016-09-15 09:34:25 EDT
NM now correctly logs into syslog. It can be read afterwards in /var/log/anaconda/syslog.
Comment 19 errata-xmlrpc 2016-11-03 15:27:38 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2581.html

Note You need to log in before you can comment on or make changes to this bug.