Bug 125700
Summary: | no detailed error messages in the install log | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fergal Daly <fergal> | ||||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2 | CC: | drepper | ||||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 2.3.3-65 | Doc Type: | Enhancement | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-10-06 05:19:11 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: | |||||||||
Attachments: |
|
Description
Fergal Daly
2004-06-10 10:04:53 UTC
It's impossible for anaconda to record non-existent information -- why the glibc scriptlet failed with that error is dependent on what glibc_post_upgrade returns in various cases 115 means /usr/sbin/iconvconfig failed. glibc_post_upgrade is not very verbose on purpose, it is statically linked, but doesn't want to bloat too much, so avoids most of the libc functions to keep the binary small. Try running /usr/sbin/iconvconfig by hand to see why it failed. *** Bug 125697 has been marked as a duplicate of this bug. *** I think it would not be possible to run iconvconfig by hand because it's part of glibc and glibc failed to install so the files got deleted (I think). The system was completely unusable, no glibc, no grub, no kernel. chroot /mnt/sysimage gave a segfault. (#125697 has more details) The point of my suggestion is that the failure output from iconvconfig should have been captured in the log, rather than me having to try and get it manually. Would you be interested in a patch to make glibc_post_upgrade redirect stdout and stderr to a temp file every time it runs a command and then to output the contents of these files if the command fails? It looks like a fairly simple change. Created attachment 101622 [details]
factor out exec code from glibc_post_upgrade
This patch adds a function and a macro which allows the removal of lots of
repeated code for doing execv, waitpid etc. It removes 50 lines of code and 400
bytes on the executable.
Created attachment 101623 [details]
make glibc_post_upgrade more verbose
this patch follow the previous and adds some very basic printing functions so
that we can see what glibc_post_upgrade is doing and what went wrong. This adds
60 lines of code and 700 bytes to the exe but it should help tracking down
problems.
The current rawhide builds have a patch based on yours. |