Bugzilla – Bug 4636
core dump seen when running distro_const build -p6 -r5 slim_cd_101checkpoint.xml
Last modified: 2008-11-07 12:53:59 UTC
You need to log in before you can comment on or make changes to this bug.
Created an attachment (id=776) [details] core file when running distro_constructor -bash-3.2# distro_const build -l slim_cd_101checkpoint.xml /usr/share/distro_const/DC-manifest.defval.xml validates /tmp/slim_cd_101checkpoint_temp_13819.xml validates Step Resumable Description -------------- --------- ------------- im-pop X Populate the image with packages im-mod X Image area modifications slim-im-mod X Slim CD Image area Modifications br-init X Boot root initialization slim-br-config X Slim CD boot root configuration br-config X Boot root configuration br-arch X Boot root archiving slim-post-mod X Slim CD post bootroot image area modification grub-setup X Grub menu setup post-mod X Post bootroot image area modification iso X ISO image creation usb X USB image creation -bash-3.2# distro_const build -p6 -r5 slim_cd_101checkpoint.xml which is the same as distro_const build -p br-arch -r br-config slim_cd_101checkpoint.xml /usr/share/distro_const/DC-manifest.defval.xml validates /tmp/slim_cd_101checkpoint_temp_13827.xml validates Simple Log: /rpool/dc/slim_cd_101checkpoint/logs/simple-log-2008-11-07-07-31-30 Detail Log: /rpool/dc/slim_cd_101checkpoint/logs/detail-log-2008-11-07-07-31-30 Build started Fri Nov 7 07:31:30 2008 Distribution name: slim_cd_101checkpoint Build Area dataset: rpool/dc/slim_cd_101checkpoint Build Area mount point: /rpool/dc/slim_cd_101checkpoint ==== br-config: Boot root configuration /usr/share/distro_const/mkrepo: line 51: 13909: Abort(coredump) Stopping at br-arch: Boot root archiving Build completed Fri Nov 7 07:35:22 2008 Build is successful. -bash-3.2# # more det* Build started Thu Nov 6 17:34:32 2008 Distribution name: slim_cd_101checkpoint Build Area dataset: rpool/dc/slim_cd_101checkpoint Build Area mount point: /rpool/dc/slim_cd_101checkpoint ==== br-config: Boot root configuration ==== br-config: Boot root configuration Configuring bootroot... Preloading SMF repository... Loading smf(5) service descriptions: 1/153 2/153 3/153 4/153 5/153 6/153 7/153 8/153 9/153 10/153 11/153 12/153 13/153 14/153 15/153 /usr/share/distro_const/mkrepo: line 51: 18650: Abort(coredump) WARNING: svccfg import /rpool/dc/slim_cd_101checkpoint/build_data/bootroot/var/s vc/manifest/application/desktop-cache/pixbuf-loaders-installer.xml failed 16/153 17/153 18/153 19/153 20/153 21/153 22/153 23/153 24/153 25/153 26/153 27/153 28/153 29/153 30/153 31/153 32/153 33/153 34/153 35/153 36/153 37/153 38/153 39/153 40/153 41/153 42/153 43/153 44/153 45/153 46/153 47/153 48/153 49/153 50/153 51/153 52/153 53/153 54/153 55/153 56/153 57/153 58/153 59/153 60/153 61/153 62/153 63/153 64/153 65/153 66/153 67/153 68/153 69/153 70/153 71/153 72/153 73/153 74/153 75/153 76/153 77/153 78/153 79/153 80/153 81/153 82/153 83/153 84/153 85/153 86/153 87/153 88/153 89/153 90/153 91/153 92/153 93/153 94/153 95/153 96/153 97/153 98/153 99/153 100/153 101/153 102/153 103/153 104/153 105/153 106/153 107/153 108/153 109/153 110/153 111/153 112/153 113/153 114/153 115/153 116/153 117/153 118/153 119/153 120/153 121/153 122/153 123/153 124/153 125/153 126/153 127/153 128/153 129/153 130/153 131/153 132/153 133/153 134/153 135/153 136/153 137/153 138/153 139/153 140/153 141/153 142/153 143/153 144/153 145/153 146/153 147/153 148/153 149/153 150/153 151/153 152/153 153/153 Loaded 153 smf(5) service descriptions svccfg warnings: svccfg_libscf.c:6824: _scf_set_annotation() failed with unexpected error 1007. Aborting. svccfg import warnings. See /rpool/dc/slim_cd_101checkpoint/build_data/bootroot/ var/svc/log/system-manifest-import:default.log . Creating additional symlinks in ramdisk ... Stopping at br-arch: Boot root archiving Stopping at br-arch: Boot root archiving Build completed Thu Nov 6 17:38:23 2008 Build is successful. # -bash-3.2# cd /rpool/dc/slim_cd_101checkpoint/build_data/bootroot/var/svc/log -bash-3.2# pwd /rpool/dc/slim_cd_101checkpoint/build_data/bootroot/var/svc/log -bash-3.2# ls -l total 0 -bash-3.2# cd /export/DC_tests/Phase6 -bash-3.2# file core core: ELF 32-bit LSB core file 80386 Version 1, from 'svccfg'
Looks like this might be occuring when you svccfg import the manifests. What is the mountpoint for your build_area?
Here are the mounts for the build area: /rpool/dc/slim_cd_101checkpoint /rpool/dc/slim_cd_101checkpoint/build_data /rpool/dc/slim_cd_101checkpoint/logs /rpool/dc/slim_cd_101checkpoint/media
I believe you're running into 721855 svccfg dumps core with "_scf_set_annotation()failed with unexpected error 1007 Which effectively means your mountpoint is long enough that we run into a 256 pathlength issue with smf. Can you change your build_area mountpoint to something much smaller? Maybe /rpool/dc/101cp ?
Changing the build area mount point to rpool/dc/101cp worked without any errors so it looks like 6721855 was the root cause of the issues. Should this be release noted for DC users to be aware of? Here is the output from the build using a shorter mount point: -bash-3.2# distro_const build -l test101cp.xml /usr/share/distro_const/DC-manifest.defval.xml validates /tmp/test101cp_temp_29621.xml validates Step Resumable Description -------------- --------- ------------- im-pop X Populate the image with packages im-mod X Image area modifications slim-im-mod X Slim CD Image area Modifications br-init X Boot root initialization slim-br-config X Slim CD boot root configuration br-config X Boot root configuration br-arch X Boot root archiving slim-post-mod Slim CD post bootroot image area modification grub-setup Grub menu setup post-mod Post bootroot image area modification iso ISO image creation usb USB image creation -bash-3.2# distro_const build -p br-arch -r br-config test101cp.xml /usr/share/distro_const/DC-manifest.defval.xml validates /tmp/test101cp_temp_29629.xml validates Simple Log: /rpool/dc/101cp/logs/simple-log-2008-11-07-12-17-32 Detail Log: /rpool/dc/101cp/logs/detail-log-2008-11-07-12-17-32 Build started Fri Nov 7 12:17:32 2008 Distribution name: test_101cp Build Area dataset: rpool/dc/101cp Build Area mount point: /rpool/dc/101cp ==== br-config: Boot root configuration Stopping at br-arch: Boot root archiving Build completed Fri Nov 7 12:21:24 2008 Build is successful. -bash-3.2# more /rpool/dc/101cp/logs/detail-log-2008-11-07-12-17-32 Build started Fri Nov 7 12:17:32 2008 Distribution name: test_101cp Build Area dataset: rpool/dc/101cp Build Area mount point: /rpool/dc/101cp ==== br-config: Boot root configuration ==== br-config: Boot root configuration Configuring bootroot... Preloading SMF repository... Loading smf(5) service descriptions: 1/153 2/153 3/153 4/153 5/153 6/153 7/153 8/153 9/153 10/153 11/153 12/153 13/153 14/153 15/153 16/153 17/153 18/153 19/153 20/153 21/153 22/153 23/153 24/153 25/153 26/153 27/153 28/153 29/153 30/153 31/153 32/153 33/153 34/153 35/153 36/153 37/153 38/153 39/153 40/153 41/153 42/153 43/153 44/153 45/153 46/153 47/153 48/153 49/153 50/153 51/153 52/153 53/153 54/153 55/153 56/153 57/153 58/153 59/153 60/153 61/153 62/153 63/153 64/153 65/153 66/153 67/153 68/153 69/153 70/153 71/153 72/153 73/153 74/153 75/153 76/153 77/153 78/153 79/153 80/153 81/153 82/153 83/153 84/153 85/153 86/153 87/153 88/153 89/153 90/153 91/153 92/153 93/153 94/153 95/153 96/153 97/153 98/153 99/153 100/153 101/153 102/153 103/153 104/153 105/153 106/153 107/153 108/153 109/153 110/153 111/153 112/153 113/153 114/153 115/153 116/153 117/153 118/153 119/153 120/153 121/153 122/153 123/153 124/153 125/153 126/153 127/153 128/153 129/153 130/153 131/153 132/153 133/153 134/153 135/153 136/153 137/153 138/153 139/153 140/153 141/153 142/153 143/153 144/153 145/153 146/153 147/153 148/153 149/153 150/153 151/153 152/153 153/153 Loaded 153 smf(5) service descriptions Creating additional symlinks in ramdisk ... Stopping at br-arch: Boot root archiving Stopping at br-arch: Boot root archiving Build completed Fri Nov 7 12:21:24 2008 Build is successful. -bash-3.2# ls
This should go in the release notes. Looks like the fix won't make it into Nev in time. I'm closing this as tracked in bugster bug id 6721855