Riny Qian wrote: > > > lianep at eng.sun.com wrote: > >> >>> For example, I sometimes want to run more than one sshd, with >>> different sets of interfaces and ports bound, and different >>> configuration files specified for each. (For example, one bound on an >>> internal RFC 1918 address and another bound on an external Internet- >>> facing address.) >>> >>> There's no "competition," because they're intentionally configured >>> differently. >>> >>> The only way I've found to do it so far is by setting up my own rc*.d >>> scripts. >> >> >> >> That seems to be because ssh doesn't offer you a way in the service to >> specify the config file. If it did, you could do: >> >> svccfg -s network/ssh add myinst >> svccfg -s ssh:myinst setprop ... (new configfile) >> svcadm enable ssh:myinst >> > > I tried a service (manifest) using the inheritance, but found that the > inherited property cannot be specified by svccfg though svcprop does > show it in the property list. The test service is attached. > > #> svcprop test-fmri:porta | grep data/port > data/port astring /dev/%i > > (here token is only effective in method! Is it possible to add the > support into property?) > > #> svccfg -s test-fmri:porta setprop data/port="/dev/porta" > svccfg: No such property group "data". > > #> svccfg -s test-fmri add portc > #> svccfg -s test-fmri:portc setprop data/port="/dev/portc" > svccfg: No such property group "data". > > What's wrong here? >
It seems that the listprop/setprop subcommands of svccfg does not support the composed property?