Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1295701 - Error in PRETRANS scriptlet in rpm package copy-jdk-configs
Summary: Error in PRETRANS scriptlet in rpm package copy-jdk-configs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: copy-jdk-configs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F24AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2016-01-05 10:01 UTC by Lukas Brabec
Modified: 2016-05-17 07:11 UTC (History)
15 users (show)

Fixed In Version: copy-jdk-configs-1.1-3.fc23 copy-jdk-configs-1.1-3.fc22 copy-jdk-configs-1.1-3.el6 copy-jdk-configs-1.1-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-09 21:56:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda.log (26.16 KB, text/plain)
2016-01-05 10:02 UTC, Lukas Brabec
no flags Details
packaging.log (3.95 KB, text/plain)
2016-01-05 10:02 UTC, Lukas Brabec
no flags Details
dnf.log (165.33 KB, text/plain)
2016-01-05 10:03 UTC, Lukas Brabec
no flags Details
dnf.rpm.log (178.53 KB, text/plain)
2016-01-05 10:03 UTC, Lukas Brabec
no flags Details
anaconda-tb-* (2.35 MB, text/plain)
2016-01-06 15:16 UTC, Lukas Brabec
no flags Details

Description Lukas Brabec 2016-01-05 10:01:55 UTC
Description of problem:
Using generic boot.iso from rawhide 20160103 and 20160104, I'm unable to install fedora workstation. The installer is stuck on "installing rootfiles.noarch", nothing else happens.



Version-Release number of selected component (if applicable):
anaconda 24.8-1
rootfiles-8.1-18.fc23.noarch


Steps to Reproduce:
1. boot the installer using generic boot.iso
2. select workstation in software selection
3. proceed in installation with everything else set to default
4. installer will get stuck on "installing rootfiles.noarch"

Comment 1 Lukas Brabec 2016-01-05 10:02:22 UTC
Created attachment 1111772 [details]
anaconda.log

Comment 2 Lukas Brabec 2016-01-05 10:02:53 UTC
Created attachment 1111773 [details]
packaging.log

Comment 3 Lukas Brabec 2016-01-05 10:03:25 UTC
Created attachment 1111774 [details]
dnf.log

Comment 4 Lukas Brabec 2016-01-05 10:03:51 UTC
Created attachment 1111775 [details]
dnf.rpm.log

Comment 5 Jan Sedlák 2016-01-05 12:42:03 UTC
Interesting is that installing Server from netinst works and rootfiles package is also installed there.

Comment 6 Fedora Blocker Bugs Application 2016-01-05 13:22:35 UTC
Proposed as a Blocker for 24-alpha by Fedora user lbrabec using the blocker tracking app because:

 Violation of alpha criterion:
Installer requirements - Installation interfaces:
When using a dedicated installer image, the installer must be able to complete an installation using the text, graphical and VNC installation interfaces.

Comment 7 Ondrej Vasik 2016-01-06 11:24:42 UTC
Is that really stuck in rootfiles.noarch? In dnf.rpm.log I see: 
led 05 11:05:55 INFO Installed: rootfiles-8.1-18.fc23.noarch
led 05 11:05:55 INFO Installed: rootfiles-8.1-18.fc23.noarch

Based on it, it might be the next package in the transaction.
There was no update in rootfiles package for quite a long time, so I think something else is causing this issue. This package just creates dotfiles in /root directory.

Comment 8 Lukas Brabec 2016-01-06 14:04:05 UTC
I did the installation again, but now, I was checking output of 'top' at the end of package installation phase. And truly, it seems that it is not stuck on rootfiles. 

From what I caught, the next commands eating the most of cpu are:
update-mime-database
depmod
dracut
pigz
mandb 

After that, the system gets to relatively idle state (anaconda eating around 2% of cpu). 

It looks like anaconda does the job in background but the gui doesn't refresh. However, after rebooting from another tty, the system won't boot. I guess that some installation phase was skipped, maybe the action connected to reboot/finish configuration button, which I couldn't click because it wasn't shown?

Comment 9 Lukas Brabec 2016-01-06 14:24:27 UTC
I tried text installation with same result, it gets stuck on 'Installing rootfiles.noarch', several commands (dracut etc.) then run in background and then idle.

Comment 10 David Shea 2016-01-06 14:26:44 UTC
When it gets stuck, can you run 'killall -USR2 anaconda' and attach the /tmp/anaconda-tb* file?

Comment 11 Lukas Brabec 2016-01-06 15:16:37 UTC
Created attachment 1112208 [details]
anaconda-tb-*

Comment 12 Artem Bityutskiy 2016-01-07 14:52:17 UTC
I see the same issue, and I think this is a clue:

Jan 07 13:31:37 ERR Error in PRETRANS scriptlet in rpm package copy-jdk-configs
Jan 07 13:31:37 ERR Error in PRETRANS scriptlet in rpm package copy-jdk-configs

See dnf.rpm.log

Comment 13 Joachim Frieben 2016-01-07 16:25:23 UTC
This error also occurs these days when doing a network install of Fedora 23 using the official boot image! I suppose it is related to a recent bug in copy-jdk-configs which has slipped into the Fedora 23 updates and the developement tree. From the change log:

"* Wed Dec 16 2015 Jiri Vanek <jvanek redhat com> - 1.1-2 - package now "installs" also during pretrans, so pretrasn scripts can use it - pretrasn "install" is removed in postrans"

I therefore suggest setting the component to copy-jdk-configs.

Comment 14 Artem Bityutskiy 2016-01-07 16:35:20 UTC
(In reply to Joachim Frieben from comment #13)
> This error also occurs these days when doing a network install of Fedora 23
> using the official boot image! I suppose it is related to a recent bug in

Yes, I am using PXE boot and install of FC23, I am observer exactly what the reporter observes - the installation fails and it looks like the reason is 'copy-jdk-configs'

Comment 15 jiri vanek 2016-01-08 09:51:11 UTC
Hello.

Have anybdy idea how can I test it with local (theoretically fixed) packages?

Comment 16 jiri vanek 2016-01-08 09:55:38 UTC
Lukas, is there stacktace of copy-jdk-configs please?

I have suspicions to:
http://pkgs.fedoraproject.org/cgit/rpms/copy-jdk-configs.git/tree/copy-jdk-configs.spec#n37
or 
http://pkgs.fedoraproject.org/cgit/rpms/copy-jdk-configs.git/tree/copy-jdk-configs.spec#n40

As those two are the only harmfull commands in that pretrans.

Comment 17 jiri vanek 2016-01-08 11:05:48 UTC
Currently I was abel to reproduce by various cheating on  /var/lib /var/lib/rpm-state dirs (it is not solid reproducer)

From that experience I fixed the packages:
http://pkgs.fedoraproject.org/cgit/rpms/copy-jdk-configs.git/commit/?id=5ab2a1f2e5bfb1802ef99a24b60139ef5f09435d

Now I'm building it for fedoras:
f24 http://koji.fedoraproject.org/koji/taskinfo?taskID=12464996
f23 http://koji.fedoraproject.org/koji/taskinfo?taskID=12464999
and same for f22 and epels (but there it do not harm for now)

If anybody is able to confirm that this is fixed, I will be really happy.

Comment 18 Artem Bityutskiy 2016-01-08 11:23:29 UTC
(In reply to jiri vanek from comment #17)
> If anybody is able to confirm that this is fixed, I will be really happy.

Jiri, I am confirming that "copy-jdk-configs-1.1-3.fc23.noarch.rpm" has the problem fixed, hopefully you can have it published soon.

Thanks!

Comment 19 jiri vanek 2016-01-08 12:13:17 UTC
Thank you, I'm creating fedora udpates then

Comment 20 Fedora Update System 2016-01-08 12:17:04 UTC
copy-jdk-configs-1.1-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e1c3ef16e

Comment 21 Fedora Update System 2016-01-08 12:17:58 UTC
copy-jdk-configs-1.1-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-86c3668bde

Comment 22 Fedora Update System 2016-01-08 12:18:24 UTC
copy-jdk-configs-1.1-3.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-aa6237387c

Comment 23 Fedora Update System 2016-01-08 12:18:50 UTC
copy-jdk-configs-1.1-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4ee40e04b9

Comment 24 Kamil Páral 2016-01-08 12:22:51 UTC
(In reply to Artem Bityutskiy from comment #18)
> Jiri, I am confirming that "copy-jdk-configs-1.1-3.fc23.noarch.rpm" has the
> problem fixed, hopefully you can have it published soon.
> 
> Thanks!

Confirmed.

Comment 25 Fedora Update System 2016-01-08 21:19:05 UTC
copy-jdk-configs-1.1-3.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-aa6237387c

Comment 26 Fedora Update System 2016-01-08 21:23:28 UTC
copy-jdk-configs-1.1-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4ee40e04b9

Comment 27 Fedora Update System 2016-01-09 04:24:49 UTC
copy-jdk-configs-1.1-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-86c3668bde

Comment 28 Fedora Update System 2016-01-09 04:26:46 UTC
copy-jdk-configs-1.1-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e1c3ef16e

Comment 29 Fedora Update System 2016-01-09 21:56:33 UTC
copy-jdk-configs-1.1-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 30 Fedora Update System 2016-01-13 06:23:24 UTC
copy-jdk-configs-1.1-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 31 Fedora Update System 2016-02-27 02:01:15 UTC
copy-jdk-configs-1.1-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 32 Fedora Update System 2016-02-27 02:08:21 UTC
copy-jdk-configs-1.1-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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