-
AedilHi. Does anyone knows, how to enable the avahi-daemon service on OI illumos? The service is not registered with svcs, but installed.
-
Aedilroot@openindiana /usr/share/avahi # svcs -a | grep -i "avahi-daemon"
-
Aedil(blank)
-
AedilI see avahi ssh.service and sftp.service already in /etc/avahi/services/.
-
AedilThere is:
-
Aedil# svcadm enable avahi-bridge-dsd, but is not the generic avahi-daemon, I would like to start.
-
AedilThank you, for letting me know if I can enable avahi-daemon on OI illumos through the % man smf.
-
ptribbleOn illumos, Bonjour is provided by the OS using mdnsd - you need to have the svc:/network/dns/multicast:default service running
-
ptribbleAnd then the avahi-bridge-dsd service provides a shim interface for clients that expect the avahi interfaces
-
AedilThank you! That works!
-
Aedil# svcadm enable svc:/network/dns/multicast:default
-
Aedil# svcadm enable avahi-bridge-dsd
-
AedilI have working functionality. Thank you a lot!
-
danmcd@jclulow I've forwarded your initial note on to smartos-discuss; USB-key installation and USB-key booters occasionally tickle this.
-
jbkmaybe because it's monday, but if i have a userland function that takes 'const char **' as a parameter, and I want to trace it w/ dtrace, i'd want to stash the argN value in pid$target::func:entry, then in pid$target::func:return, i'd first want to 's = copyin(self->saved_from_entry, sizeof (char **)); printf("%s\n", copyinstr(s)) }' right?
-
jbksince I need to copyin to read *var, then copyinstr the result (since that should be the userland address of the string)
-
jbkhrm...
-
jbkpossibly a cursed question (since it deals with terminals)...
-
jbkbut this utility to read a password/passphrase is saving teh current terminal attrs (tcgetattr()), then clearing ICANON and ECHO before calling getline
-
jbkI notice that our getpassphrase also clears ECHOE ECHOK ECHONL
-
jbkthe latter might explain why you have to press enter twice for getline() to return
-
jbkwhat I'm wondering is if those other terminal attributes are sysv/solaris specific or something that should also be happening on other platforms (as I prepare a PR)