Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Dan McDonald
> On Jun 13, 2016, at 3:37 PM, Volker A. Brandt wrote: > > Aaaah, good clue! I have a local copy of the 151016 repo. After a > "pkgrepo refresh" on the repo server and a "pkg refresh --full" on > the 151016 client, everything is well again, and "pkg search" works > just fine. Thanks Dan! The

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Volker A. Brandt
Dan McDonald writes: > I think our IPS repos need a batch of "pkgrepo refresh" runs. Aaaah, good clue! I have a local copy of the 151016 repo. After a "pkgrepo refresh" on the repo server and a "pkg refresh --full" on the 151016 client, everything is well again, and "pkg search" works just fine.

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Dan McDonald
> On Jun 13, 2016, at 2:49 PM, Dan McDonald wrote: > > I think our IPS repos need a batch of "pkgrepo refresh" runs. I'm without > power at the moment, but I will make sure it gets done once I access OmniTI > again. I've got power: r151018(~)[0]% pkg search /etc/ftpd INDEX ACTION VALU

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Dan McDonald
I think our IPS repos need a batch of "pkgrepo refresh" runs. I'm without power at the moment, but I will make sure it gets done once I access OmniTI again. Dan Sent from my iPhone (typos, autocorrect, and all) On Jun 13, 2016, at 2:34 PM, Volker A. Brandt wrote: >>> On Mon, Jun 13, 2016 a

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Volker A. Brandt
> On Mon, Jun 13, 2016 at 1:23 PM, Volker A. Brandt wrote: > > BTW my 151016 system has the file, and SUNWcs is properly installed, > > but "pkg search /etc/ftpd" or "pkg search /etc/ftpd/ftpusers" do not > > show any output, even after a "pkg rebuild-index". Strange. > > Paths are relative becau

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Eric Sproul
On Mon, Jun 13, 2016 at 1:23 PM, Volker A. Brandt wrote: > BTW my 151016 system has the file, and SUNWcs is properly installed, > but "pkg search /etc/ftpd" or "pkg search /etc/ftpd/ftpusers" do not > show any output, even after a "pkg rebuild-index". Strange. Paths are relative because packages

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Volker A. Brandt
> But /etc/ftpd/ftpusers is provided by pkg:/SUNWcs, so if it doesn't > exist, the system is broken. There is no expected case where this > file is missing. So the OPs system is indeed broken. The question is: What broke it? Was it a pkg invocation? BTW my 151016 system has the file, and SUNWcs

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Eric Sproul
On Mon, Jun 13, 2016 at 11:46 AM, Volker A. Brandt wrote: > are hardcoded. To avoid the problem here, the attempt to write to > /etc/ftpd/ftpusers should only be made if the file actually exists. But /etc/ftpd/ftpusers is provided by pkg:/SUNWcs, so if it doesn't exist, the system is broken. Th

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Volker A. Brandt
> > "leaving this here" so that others may find and benefit, and perhaps > > the pkg rule will be cleaned up for OmniOS, now that ftpd isn't > > there... > > It's currently a documented interface in pkg(5). And I quote from the man > page: > >User Actions >The user action defines a UN

Re: [OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-13 Thread Dan McDonald
> On Jun 12, 2016, at 7:01 PM, Rick Sayre wrote: > > "leaving this here" so that others may find and benefit, and perhaps > the pkg rule will be cleaned up for OmniOS, now that ftpd isn't > there... It's currently a documented interface in pkg(5). And I quote from the man page: User Act

[OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

2016-06-12 Thread Rick Sayre
Greetings Since r151018 is more recent let's consider this a report for that version, though I encountered it first on r151014 Upon issuing the recommended command to switch: https://omnios.omniti.com/wiki.php/ReleaseNotes/r151018 /usr/bin/pkg install --no-backup-be --reject pkg:/network/s