| Summary: | "rpm -e libnss-mdns" gets error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Dexuan Cui <dexuan.cui> | ||||
| Component: | meta-yocto | Assignee: | Qing He <qing.he> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | jessica.zhang, jiajun.xu, ke.yu, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw | ||||
| Version: | 0.9 | ||||||
| Target Milestone: | 1.0 M1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Program Management | Documentation change: | --- | ||||
| Attachments: |
|
||||||
the line in /etc/nsswith.conf in question looks like:
hosts: files dns mdns4
but pkg_prerm says:
grep "hosts:\s*files dns mdns$"
This can be easily fixed by changing that to mdns4
However, this is prone to future problems. I'll see if a more sophisticated, position-independent "insert/remove" can be added, so it's workable for more than one libnss extensions.
fixed as commit 7f4740fdec9a5ecc707da98d1412a7d0907346c3 marked as fixed I can VERIFY "rpm -e libnss-mdns" can succeed on recent builds. |
Created attachment 64 [details] rpm_e_libnss.JPG With recent milestone builds, by running poky-image-sato, "rpm -e libnss-mdns" gets such an error: error:%preun(libnss-mdns-0.10-r0.i586) scriptlet failed, exit status 1 The screenshot is attached.