9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] CPURC and starting SSH
@ 2013-04-28 11:57 lucio
  2013-04-28 13:37 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: lucio @ 2013-04-28 11:57 UTC (permalink / raw)
  To: 9fans

Unless my copy of /rc/bin/cpurc is out of date, it contains a
self-confessed "dicey check" to ensure that TCP services are not
started twice.  In the list of possible candidates to be checked is
"22" (ssh, of course) which, at least in my case, is started in
/cfg/$sysname/cpurc as it may not be appropriate on all CPU servers.

I believe that "22" ought to be dropped from that list, in my
situation it caused the services not to be started, I assume my
situation is not unique.

A few additional points from my experience:

.	I'm not convinced that the "dicey check" is even necessary: what
	is the worst-case scenario?  That a slew of error messages may
	arise from a second invocation of aux/listen?  I suspect even that
	isn't likely.  If it is, redirecting

		>[2]/dev/null

	would not be a novel idea.

.	Eventually, the documentation starts to make sense, but there are
	a few issues that can be cleared up here: netssh is essential, but
	I'm not sure it belongs in /rc/bin/cpurc, it goes better in
	/cfg/$sysname/cpurc, in my opinion, where it can directly precede

		aux/listen -t /rc/bin/service.auth ssh

	Note the "ssh" that links to "ssh22" as the name of the service
	recommended in the man page.  I have a feeling that this idea is
	not yet cast in stone, but it is interesting.

++L




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-28 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-28 11:57 [9fans] CPURC and starting SSH lucio
2013-04-28 13:37 ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).