I can't speak to whether a "foo&" construct is legitimate for an SMF 
start method - it does seem iffy - but from an XML perspective you can't 
use a bare & here.  & is used to introduce special character references. 
  If you want a real &, you have to say "&".  That's probably why 
you can't even import the file.

Louwtjie Burger wrote:
> Hi
> 
> (Solaris 10 11/06)
> 
> I cannot validate or import a xml that contains '&' in the start field.
> 
> <exec_method
>       type='method'
>       name='start'
>       exec='/opt/mysql/mysql/bin/mysqld_safe --user=mysql &'
>       timeout_seconds='60'>
>       <method_context>
>         <method_credential user='root' />
>       </method_context>
>     </exec_method>
> 
> If I remove the '&' it works, however the startup method doesn't work
> and svcs -x reports it as errored.
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org
> 


Reply via email to