commit | bc5dcff17b23d254ac32f7d1d5107f051ed32001 | [log] [tgz] |
---|---|---|
author | Vaibhav Rustagi <vaibhavrustagi@google.com> | Mon Aug 10 17:39:54 2020 -0700 |
committer | Vaibhav Rustagi <vaibhavrustagi@google.com> | Mon Aug 10 19:16:39 2020 -0700 |
tree | 6e60239fd4f68159a8431e9d78fbbd2e028e5bd5 | |
parent | a378ce2458760ae9643b411db0a145f07399aa61 [diff] |
lakitu: Enable utmp in systemd. In systemd-232, wtmp and btmp files were created by default in /var/log (https://github.com/systemd/systemd/blob/v232/tmpfiles.d/var.conf). However, post this PR (https://github.com/systemd/systemd/pull/6006), creating of those files are controlled based on utmp (https://github.com/systemd/systemd/blob/v239/tmpfiles.d/var.conf.m4) Not having wtmp file results in crashing of kube-logrotate and therefore, log files rotate by kube-logrotate won't be rotated (such as kube-proxy.log). BUG=b/163125723 TEST=locally creating build and checking the file. RELEASE_NOTE=Enabled utmp in systemd to allow creation of utmp files. Change-Id: I6cc721e6e61b3863e549045e68c1a2bd363efa0a