Bug 52743
| Summary: | %postinstall scriptlet fails if /usr is mounted ro | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Enrico Scholz <rh-bugzilla> |
| Component: | ttfonts-ko | Assignee: | David Joo <djoo> |
| Status: | CLOSED CANTFIX | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | llch, notting |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-08-08 01:28:50 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: | |||
| Bug Depends On: | 51193 | ||
| Bug Blocks: | |||
|
Description
Enrico Scholz
2001-08-28 17:14:55 UTC
ttfonts-ko has been rebuilt to 1.08 to prevent this error. It will check if fonts.dir is writable before it touches the file. again in ttfonts-ko-1.0.11-29: 37:ttfonts-ko ########################################### [ 63%] Could not open output file /usr/share/fonts/ko/TrueType/fonts.scale /usr/X11R6/bin/mkfontdir: cannot unlink /usr/share/fonts/ko/TrueType/fonts.dir /usr/X11R6/bin/mkfontdir: failed to create directory in /usr/share/fonts/ko/TrueType Can't save cache in "/usr/share/fonts/ko/TrueType" Fehler: %post(ttfonts-ko-1.0.11-29) scriptlet failed, exit status 1 David, please have a look this bug. This is reported against other font packages also. It is important IMHO that every font package handles this the exact same way, and that each font package maintainer doesn't do it differently for no good reason. The XFree86.spec file is the canonical example to follow. The font package pre/post scripts redirect stderr/stdout to /dev/null and ignore errors by using: somecommand || : For the types of errors that could potentially be displayed during a font package's installation, none of them are important to see, and should be ignored. Cross package consistency in handling things like this is very important. Please follow the XFree86 spec file's font pre/post install scripts as an example, and contact me if there's anything needing clarification, etc. and I'd be glad to make suggestions and help out, etc. 'Red Hat Raw Hide' refers to the development tree for Red Hat Linux. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues were not resolved in a more timely manner. However, the issues listed in these bugs are in packages that are no longer shipped in a current Fedora Core release. Hence, we are closing these bugs CANTFIX. |