Description of problem: If the locale is different from "en_US" pki-cad/pkicreate/pkisilent raise an exception because of not finding resources and crash. From the logs: java.util.MissingResourceException: Can't find bundle for base name LogMessages, locale de_DE Version-Release number of selected component (if applicable): Current releases in F12/updates How reproducible: Always, if locale is different from "en_US" Additional info: I had time to investigate all the pki-* and dogtag-pki-* packages. The problem is just because some sourcefiles are not proper named, so the java-resource mechanism can not find the english-fallbacks. Easy to fix. I made some changes to spec-files as a quick hack, so I can rebuild them for my local repository, 'till the bug is fixed. Changes attached. Maybe someone will incorporate the intention of my %prep-sections in the sources. I tested the changes with a fresh and clean F-12 installation with machine locale set to de_DE.UTF-8, free-ipa v2 setup (1.91-0.2010032620gitc7a35f9.fc12), dogtag browser console and pkiconsole. Everything works fine now, no exceptions because of missing resource-files with other machine-locale than en anymore. The CA was set up flawlessly and works. I than changed the machine-locale to en, and tested again. If someone needs other tests, please let me know. Related Bugs: Bug 441974 Bug 442310 Beste regards, Oli --- pki-common.spec 2010-02-11 01:03:00.000000000 +0100 +++ pki-common_burtchen.spec 2010-03-30 13:15:22.122138895 +0200 @@ -1,11 +1,11 @@ Name: pki-common Version: 1.3.2 -Release: 1%{?dist} +Release: 1.1_burtchen%{?dist} Summary: Dogtag Certificate System - PKI Common Framework URL: http://pki.fedoraproject.org/ License: GPLv2 Group: System Environment/Base BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -58,18 +58,26 @@ %description javadoc Dogtag Certificate System - PKI Common Framework Javadocs This documentation pertains exclusively to version %{version} of the Dogtag PKI Common Framework. %prep - %setup -q +cd %{_builddir}/%{name}-%{version}/src +mv LogMessages_en.properties LogMessages.properties +mv UserMessages_en.properties UserMessages.properties +cd .. +mv build.xml build.xml.orig +sed 's/LogMessages_en.properties/LogMessages.properties/g' < build.xml.orig > build.xml.orig2 +sed 's/UserMessages_en.properties/UserMessages.properties/g' < build.xml.orig2 > build.xml +rm -f build.xml.orig2 + %build ant \ -Dproduct.ui.flavor.prefix="" \ -Dproduct.prefix="pki" \ -Dproduct="common" \ -Dversion="%{version}" --- pki-console.spec 2010-02-10 00:08:54.000000000 +0100 +++ pki-console_burtchen.spec 2010-03-31 20:32:20.606591010 +0200 @@ -1,11 +1,11 @@ Name: pki-console Version: 1.3.1 -Release: 1%{?dist} +Release: 1.1_burtchen%{?dist} Summary: Dogtag Certificate System - PKI Console URL: http://pki.fedoraproject.org/ License: GPLv2 Group: System Environment/Base BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -32,16 +32,23 @@ The PKI Console is a java application used to administer Dogtag Certificate System. %prep %setup -q +cd %{_builddir}/%{name}-%{version}/templates +mv pki_console_wrapper pki_console_wrapper.orig +sed 's/pki-console-theme_en.jar/pki-console-theme.jar/g' < pki_console_wrapper.orig > pki_console_wrapper.orig2 +sed 's/cms-theme_en.jar/cms-theme.jar/g' < pki_console_wrapper.orig2 > pki_console_wrapper +rm -f pki_console_wrapper.orig2 + + %build ant \ -Dproduct.ui.flavor.prefix="" \ -Dproduct.prefix="pki" \ -Dproduct="console" \ -Dversion="%{version}" %install --- dogtag-pki-console-ui.spec 2010-02-10 00:08:21.000000000 +0100 +++ dogtag-pki-console-ui_burtchen.spec 2010-03-30 14:09:20.915139260 +0200 @@ -1,11 +1,11 @@ Name: dogtag-pki-console-ui Version: 1.3.1 -Release: 1%{?dist} +Release: 1.1_burtchen%{?dist} Summary: Dogtag Certificate System - PKI Console User Interface URL: http://pki.fedoraproject.org/ License: GPLv2 Group: System Environment/Base BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -29,37 +29,40 @@ %description Dogtag Certificate System is an enterprise software system designed to manage enterprise Public Key Infrastructure (PKI) deployments. The Dogtag PKI Console User Interface contains the graphical user interface for the Dogtag PKI Console. %prep - %setup -q +cd %{_builddir}/%{name}-%{version} +mv build.xml build.xml.orig +sed 's!<jar jarfile="${build.jars}/pki-console-theme-${version}_en.jar">!<jar jarfile="${build.jars}/pki-console-theme-${version}.jar">!g' < build.xml.orig > build.xml + %build ant \ -Dproduct.ui.flavor.prefix="dogtag" \ -Dproduct.prefix="pki" \ -Dproduct="console-ui" \ -Dversion="%{version}" %install rm -rf %{buildroot} cd dist/binary unzip %{name}-%{version}.zip -d %{buildroot} cd %{buildroot}%{_javadir} -ln -s pki-console-theme-%{version}_en.jar pki-console-theme_en.jar +ln -s pki-console-theme-%{version}.jar pki-console-theme.jar # supply convenience symlink(s) for backwards compatibility mkdir -p %{buildroot}%{_javadir}/pki cd %{buildroot}%{_javadir}/pki -ln -s ../pki-console-theme_en.jar cms-theme_en.jar +ln -s ../pki-console-theme.jar cms-theme.jar %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE %{_javadir}/*
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. 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 prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 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 please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This has been fixed. Not sure which release the fix appears in, so rather than closing it, I'm moving it to f14 until I can check CVS and the release tags.
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached 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 to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping