| Summary: | sys-apps/shadow: pkg_preinst can't read /etc/pam.d/login | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Fabio Erculiani (RETIRED) <lxnay> |
| Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | pam-bugs+disabled |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Next time bump the ebuild revision, please! *** This bug has been marked as a duplicate of bug 458548 *** (In reply to comment #0) your diagnosis is wrong. $D is valid in pkg_preinst. |
pkg_preinst() { [...] use pam && pam_epam_expand "${D}"/etc/pam.d/login } as per PMS specification, this is illegal. You cannot use ${D} in pkg_*, it breaks binpkgs. Reproducible: Always