OpenSolaris

Printable Version Enter a New Search
Bug ID 6582734
Synopsis broken class action scripts for font packages causes X to fail to start
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:install
Keywords
Responsible Engineer Kim C Tran
Reported Against snv_83
Duplicate Of
Introduced In
Commit to Fix snv_97
Fixed In snv_97
Release Fixed solaris_nevada(snv_97)
Related Bugs
Submit Date 19-July-2007
Last Update Date 15-September-2008
Description
I'm seeing that after doing an command line install of nv_69, with several
geographic regions selected, the Xserver did not start after rebooting
after install had finished.

Looking into the (attached) Xerrors file, it's complaining that
"No valid FontPath could be found". The FontPath in the (attached)
auto-generated .xorg.conf file looks absolutely sane, so no problem there.

Digging into the (attached) install log, also attached, I see several
errors when adding font packages, all along the same lines:

---
pkgadd: ERROR: class action script did not complete successfully
ERROR: attribute verification of </a/usr/openwin/lib/X11/fonts/F3/fonts.dir>
failed pathname does not exist
----

 - lots of font packages were failing, for the same reason:

timf@haiiro[529] grep "partially failed" install_log 
Installation of <SUNWi1of> partially failed.
Installation of <SUNWxwfnt> partially failed.
Installation of <SUNWxwcft> partially failed.
Installation of <SUNW5xmft> partially failed.
Installation of <SUNWgttf> partially failed.
Installation of <SUNW5ttf> partially failed.
Installation of <SUNWjxmft> partially failed.
Installation of <SUNWolrte> partially failed.
Installation of <SUNWkxmft> partially failed.
Installation of <SUNWhttf> partially failed.
Installation of <SUNWinttf> partially failed.
Installation of <SUNWcxmft> partially failed.
Installation of <SUNWjxcft> partially failed.
Installation of <SUNWtxfnt> partially failed.
Installation of <SUNWxwoft> partially failed.
Installation of <SUNWkttf> partially failed.
Installation of <SUNWkxfnt> partially failed.
Installation of <SUNWcttf> partially failed.
Solaris 11 software installation partially failed

After install, I copied my exact UFS root over to a ZFS root, and took a
snapshot of the filesystem - feel free to login to haiiro.ireland
and browse around /.zfs/snapshot/postinstall to see the state of the system.

I found that when I pkgrm'd each package, and manually pkgadded them 
again, everything worked as expected, and X came up fine.

I haven't had time to investigate why the postinstall scripts were failing.
Work Around
For every font package that failed during install, pkgrm it, then pkgadd it again.
The postinstall scripts appear to work then: svcadm restart cde-login, and my Xserver
comes up again.
Comments
N/A