Bug 5338

Summary: shadow-native / util-linux-native both writing /bin/login
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, Martin.Jansa, meta.mr.watcher, meta.watcher
Version: 1.5   
Target Milestone: 1.5.1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2013-10-11 11:10:04 UTC
If you bitbake util-linux-native and then bitbake shadow-native you'll find you get the following warning:

WARNING: The recipe shadow-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /path/to/tmp/sysroots/i686-linux/bin/login
   Matched in manifest-i686-util-linux-native
Please verify which package should provide the above files.
Comment 1 Saul Wold 2013-11-15 02:33:52 UTC
I tried to reproduce this in master and dora, but could not, was a fix put in 
for this already?
Comment 2 Paul Eggleton 2013-11-15 10:31:13 UTC
Unfortunately not. I dug a little further, and it seems that this issue only occurs if PAM headers are installed on the development host (util-linux's configure will check for them and disable building its version of login if they aren't present).
Comment 3 Saul Wold 2013-11-15 18:31:09 UTC
There is a patch on the list from Lu Chong that address this issue.