Bug 13119 - rootfs log full of RPM debug spew
Summary: rootfs log full of RPM debug spew
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.7 M3
Assignee: Alexander Kanavin
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-01-03 20:08 UTC by Ross Burton
Modified: 2019-01-14 14:21 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2019-01-03 20:08:23 UTC
...
Total size: 70 M
Installed size: 433 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
fdio:       8 reads,     8132 total bytes in 0.000016 secs
fdio:      41 reads,  1117368 total bytes in 0.000245 secs
fdio:      36 reads,   953208 total bytes in 0.000190 secs
fdio:       9 reads,    49392 total bytes in 0.000042 secs
fdio:       8 reads,     8704 total bytes in 0.000026 secs
fdio:      10 reads,    95884 total bytes in 0.000046 secs
fdio:       8 reads,     8468 total bytes in 0.000011 secs
fdio:       8 reads,    35792 total bytes in 0.000016 secs
fdio:       8 reads,     8824 total bytes in 0.000015 secs
fdio:       9 reads,    61312 total bytes in 0.000023 secs
fdio:      10 reads,    79128 total bytes in 0.000041 secs
fdio:       8 reads,    16708 total bytes in 0.000021 secs
fdio:       9 reads,    71108 total bytes in 0.000051 secs
fdio:       8 reads,    12828 total bytes in 0.000019 secs
fdio:       8 reads,     7296 total bytes in 0.000015 secs
fdio:      22 reads,   470820 total bytes in 0.000099 secs
fdio:       8 reads,     8216 total bytes in 0.000014 secs
...
[ continues for many lines ]

Whilst I understand that we want slightly more verbose logging in the log files, I don't think we need read/write stats.
Comment 1 Ross Burton 2019-01-03 20:09:21 UTC
Also:

  Installing       : perl-doc-5.24.4-r0.mips64                          315/422
D: ========== +++ perl-doc-5.24.4-r0 mips64-linux 0x0
D: perl-doc-5.24.4-r0.mips64: Header SHA256 digest: OK
D: perl-doc-5.24.4-r0.mips64: Header SHA1 digest: OK
D:   install: perl-doc-5.24.4-r0.mips64 has 12 files
D: ========== Directories not explicitly included in package:
D:          0 /
D: ==========
D: create     040755  1 (   0,   0)     0 /usr
D: create     040755  1 (   0,   0)     0 /usr/lib
D: skip       040755  1 (   0,   0)     0 /usr/lib/perl
D: skip       040755  1 (   0,   0)     0 /usr/lib/perl/5.24.4
D: create     040755  1 (   0,   0)     0 /usr/lib/perl/5.24.4/Encode
D: create     100444  1 (   0,   0)  3967 /usr/lib/perl/5.24.4/Encode/encode.h;5c2e694b
D: skip       040755  1 (   0,   0)     0 /usr/lib/perl/5.24.4/ExtUtils
D: create     100444  1 (   0,   0)   971 /usr/lib/perl/5.24.4/ExtUtils/MANIFEST.SKIP;5c2e694b
D: create     100444  1 (   0,   0) 11047 /usr/lib/perl/5.24.4/ExtUtils/typemap;5c2e694b
D: create     100444  1 (   0,   0)  5071 /usr/lib/perl/5.24.4/ExtUtils/xsubpp;5c2e694b
D: skip       040755  1 (   0,   0)     0 /usr/lib/perl/5.24.4/unicore
D: create     100444  1 (   0,   0)     6 /usr/lib/perl/5.24.4/unicore/version;5c2e694b
D: adding "perl-doc" to Name index.
D: adding 12 entries to Basenames index.
D: adding "doc" to Group index.
D: adding 4 entries to Requirename index.
D: adding 2 entries to Providename index.
D: adding 8 entries to Dirnames index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
D: adding "a73dd55fb9ad0516d5300a18e298d69675a7ef32" to Sha1header index.

fdio:       6 reads,     7260 total bytes in 0.000019 secs
ufdio:       1 writes,      214 total bytes in 0.000006 secs
fdio:      25 reads,      976 total bytes in 0.000105 secs
Comment 2 Mark Hatle 2019-01-07 17:43:47 UTC
These messages come from enabling verbose modes during installation.  The more '-v' options, the more verbose the system gets.

Likely this is due to -vv or -vvv.

Lower the number of -v options passed to RPM, and the verbose output will decrease.
Comment 3 Ross Burton 2019-01-10 15:41:57 UTC
From memory we added more debugging to get the postinst failure output.  Can we patch rpm to change that output from debug to something like a warning, and then reduce the debug level?
Comment 4 Mark Hatle 2019-01-10 16:13:43 UTC
RPM has different debug levels specified.  I'd suggest either lowering the debug level for the post-installs, or raising the debug level of the items you don't care about.. (former is likely much easier.)