Bug 922565 - pungi fails to build install media
Summary: pungi fails to build install media
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 19
Hardware: ppc64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-17 23:22 UTC by Mark Hamzy
Modified: 2015-02-18 11:09 UTC (History)
5 users (show)

Fixed In Version: dracut-026-55.git20130318
Clone Of:
Environment:
Last Closed: 2015-02-18 11:09:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dracut debug log (4.21 MB, text/plain)
2013-03-17 23:22 UTC, Mark Hamzy
no flags Details

Description Mark Hamzy 2013-03-17 23:22:20 UTC
Created attachment 711634 [details]
dracut debug log

Version-Release number of selected component (if applicable):
026-54.git20130316.fc19

Description of problem:
The kernel rpm has a posttrans script which does the following:

[root@sharpie ~]# rpm -qp --scripts /srv/pungi/test/19/Fedora/ppc64/os/Packages/k/kernel-3.9.0-0.rc2.git0.3.fc19.ppc64.rpm
...
posttrans scriptlet (using /bin/sh):
/sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --update 3.9.0-0.rc2.git0.3.fc19.ppc64 || exit $?
/sbin/new-kernel-pkg --package kernel --rpmposttrans 3.9.0-0.rc2.git0.3.fc19.ppc64 || exit $?

This calls dracut to build initramfs-3.9.0-0.rc2.git0.3.fc19.ppc64.img. Which fails.  See attached error log

Comment 1 Harald Hoyer 2013-03-18 08:00:46 UTC
dracut-026-55.git20130318

Comment 2 Harald Hoyer 2013-03-18 08:05:39 UTC
btw, is the resulting initramfs in /boot used for anything?

Comment 3 Mark Hamzy 2013-03-18 12:03:11 UTC
Yes. Lorax will associate a kernel with an initrd and if it can't, then it will throw an exception.

Traceback (most recent call last):
  File "/usr/bin/pungi", line 256, in <module>
    main()
  File "/usr/bin/pungi", line 146, in main
    mypungi.doBuildinstall()
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 937, in doBuildinstall
    workdir=workdir, outputdir=outputdir)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 288, in run
    treebuilder.rebuild_initrds(add_args=anaconda_args)
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 200, in rebuild_initrds
    raise Exception("No initrds found, cannot rebuild_initrds")
Exception: No initrds found, cannot rebuild_initrds

Comment 4 Mark Hamzy 2013-03-18 12:43:01 UTC
It got a lot further with 026-56.

However, there are still some worrisome messages:

...
rebuilding initramfs images
rebuilding boot/initramfs-3.9.0-0.rc2.git0.3.fc19.ppc64.img
/usr/lib/dracut/dracut-functions.sh: line 321: /proc/self/mountinfo: No such file or directory
/usr/bin/dracut: line 845: /proc/swaps: No such file or directory
/usr/bin/dracut: line 864: /dev/fd/62: No such file or directory
/usr/lib/dracut/dracut-functions.sh: line 372: /proc/self/mountinfo: No such file or directory
/usr/lib/dracut/dracut-functions.sh: line 372: /proc/self/mountinfo: No such file or directory
E: dracut module 'anaconda' cannot be found or installed.
E: dracut module 'anaconda' cannot be found or installed.
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
/usr/lib/dracut/modules.d/99base/dracut-lib.sh: line 77: /proc/cmdline: No such file or directory
rebuilding boot/upgrade-3.9.0-0.rc2.git0.3.fc19.ppc64.img
/usr/lib/dracut/dracut-functions.sh: line 321: /proc/self/mountinfo: No such file or directory
/usr/bin/dracut: line 845: /proc/swaps: No such file or directory
/usr/bin/dracut: line 864: /dev/fd/62: No such file or directory
/usr/lib/dracut/dracut-functions.sh: line 372: /proc/self/mountinfo: No such file or directory
/usr/lib/dracut/dracut-functions.sh: line 372: /proc/self/mountinfo: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
grep: /sys/bus/pci/devices/*/modalias: No such file or directory
/usr/lib/dracut/modules.d/99base/dracut-lib.sh: line 77: /proc/cmdline: No such file or directory
populating output tree and building boot images
...

Comment 5 Fedora End Of Life 2015-01-09 22:32:21 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2015-02-18 11:09:55 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.