Bug 53980
Summary: | rpm install fails on fifo | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | franz.sirl-kernel |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-09-24 21:39:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
franz.sirl-kernel
2001-09-24 21:39:22 UTC
Take the fifo out of the package, there's little reason to include a fifo -- particularly for init -- in a package. Well, this wasn't my idea, this is how Red Hat is packaging SysVinit probably forever (I guess for rpm -V reasons). As I suspected probably a recent kernel or glibc strictness change is triggering this and I find it disturbing rpm creates something without proper mode (the stored mode in the package is 010600 as can be seen with --dump) and then tries to rename it before fixing up the modes. Franz. Again, I suggest that depending on rpm's ability to unpack a fifo correctly for a package as important as init is crazy and useless (fifo's are always recreated at daemon startup, which also controls perms). YMMV. Furthermore, I'm not sure that rpm ever did the right thing with FIFO's. Because of the recreation, you'ld hardly notice if the file were unpacked incorrectly. What's new is stricter checks on syscall return codes. Yes, rpm-4.0.3 unpacks into a temp file with appended install transaction id (i.e. ';' followed by time in hex) and then renames into place. This avoids a (minor IMHO, YMMV) race wrto shared libraries that may be opened by name while an install write is in progress. There will be other uses when I get around to finishing a full blown --apply/--commit/--undo scheme for unpacking files. |