Antonello Cruz wrote: > I filed > > 6886356 svccfg(1M) should be defended against bad profiles > > To track the problem. The link below should be working shortly as bug > are synchronized once a day IIRC. > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6886356 > > Thanks Kyle for reporting the problem. > No problem! Finding the bugs is usually harder than fixing them. :)
As for the types, I thought I coudl leave them out since the the manifests already defined them, and I was just trying to set them. Last night I tried putting them in and it worked. Thanks so much! -Kyle > Antonello > > Kyle McDonald wrote: >> Kyle McDonald wrote: >>> Hi Tony, >>> >>> I've read through the bug, and several docs, however I can't find an >>> example of how to do this. >>> >>> I'm trying to set the terminal type (ttymon/terminal_type) and >>> serial label (ttymon/label) properties for the console login >>> (svc:/system/console-login:default) service in a site.xml file. >>> >>> Is this possible? >>> >>> Can you give (or point me to) an example? >>> >> I tried something like this: >> >>> <?xml version='1.0'?> >>> <!DOCTYPE service_bundle SYSTEM >>> '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> >>> <!-- >>> --> >>> <service_bundle type='profile' name='site' >>> xmlns:xi='http://www.w3.org/2003/XInclude' > >>> >>> <!-- >>> Site Service Profile common to all installations. >>> --> >>> >>> <!-- >>> Local Services >>> --> >>> <service name='system/console-login' version='1' type='service'> >>> <property_group name='ttymon'> >>> <propval name='terminal_type' value='xterm' /> >>> </property_group> >>> <instance name='default' enabled='true'/> >>> </service> >>> >>> </service_bundle> >> And ran 'svccfg apply site2.xml'. It dumped core. :( >> >> Anyone have any ideas? >> >> -Kyle >> >> _______________________________________________ >> smf-discuss mailing list >> smf-discuss at opensolaris.org > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org