Bug 319231
| Summary: | /usr/bin/install doesn't set the right context on installed binaries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ray Strode [halfline] <rstrode> |
| Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | dwalsh, twaugh |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-18 16:20:15 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
Ray Strode [halfline]
2007-10-04 20:49:02 UTC
THere used to be a builtin matchpathcon/setfscreatecon before creating the destination file. This is similar to rpm, so I think it should set the correct file context. It should fail over to not setting the file context if it can't retrieve it. for reference, the relevant make install output is: /usr/bin/install -c rhgb /usr/bin/rhgb Fixed in coreutils-6.9-13.fc9 , will backport to lower fedoras, closing RAWHIDE. seems to be broken in coreutils-6.10-4.fc9.x86_64 I did a make install today for gdm and when i restarted gdm users logging in got the wrong context making it so that nm-applet couldn't talk over d-bus to NetworkManager with messages like: security: context user_u:system_r:unconfined_dbusd_t:s0 is invalid before make install: $ ls -lZ /usr/sbin/gdm-binary -rwxr-xr-x root root system_u:object_r:xdm_exec_t:s0 /usr/sbin/gdm-binary after: $ ls -lZ /usr/sbin/gdm-binary -rwxr-xr-x root root user_u:object_r:bin_t:s0 /usr/sbin/gdm-binary Thanks for report, it is possible, because upstream implemented many things in different way than RedHat and there may be some implementation conflicts. Will check it and hopefully fix that asap... Fixed again in coreutils-6.10-8.fc9 , caused by upstream changes. Closing RAWHIDE. |