Bug 7149 - rpm: print which pkgname for warning
Summary: rpm: print which pkgname for warning
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 6.1
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard: Backport to 2.6.1
Depends on:
Blocks:
 
Reported: 2015-01-16 02:20 UTC by Robert Yang
Modified: 2026-05-28 13:18 UTC (History)
5 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 Robert Yang 2015-01-16 02:20:07 UTC
We got such warnings when do_rootfs, we can't know which pkg has this problem,
it would make the debug easier if print:

pkgname: warning: user postgres does not exist - using root.

=== WARGINGS

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user postgres does not exist - using root

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: group postgres does not exist - using root

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user postgres does not exist - using root

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: group postgres does not exist - using root

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user postgres does not exist - using root

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: group postgres does not exist - using root

WARNING: log_check: There is a warn message in the logfile
WARNING: log_check: Matched keyword: [warn]
WARNING: log_check: warning: user postgres does not exist - using root
Comment 1 Randy MacLeod 2023-04-13 19:51:55 UTC
The last email I've seen about his is from 2021:
https://lists.openembedded.org/g/openembedded-core/message/156296

I guess that people have just gotten used to the error and most packages have fixed their recipe. Keep the enhancement open until ~2024 and close it if we are still short of people.
Comment 2 Randy MacLeod 2024-04-25 01:10:12 UTC
It would be good clean-up to look for an fix this.
Comment 3 Randy MacLeod 2025-02-20 16:18:52 UTC
Not a newcomer issue.
Does this still happen @Robert?
Comment 4 Randy MacLeod 2025-05-01 14:07:04 UTC
Bulk move of all unassigned 5.2 medium importance bugs to 5.3.
Comment 5 Randy MacLeod 2026-02-26 19:52:41 UTC
Robert,
Is this still a problem with rpm6 ?