Jan Hnatek wrote:


Shawn Walker wrote:
Jan Hnatek wrote:
So I wonder if this is seen as a bug and pkg should
somehow remember it was populated and/or be more careful
when started with an empty directory.

By design, the pkg.depotd server creates a repository where it is told to if one does not exist already.

The pkg/server SMF service is dependent on filesystem-local, and will not start until it does (assuming SMF handles the dependencies as expected).

I'm now confused as you originally asked if the depot was starting before filesystem-local.

Yes, as I believed it was a matter of one boot sequence. I suppose
the dependency works fine, as you pointed out in the first reply.

So basically pkg.depotd is not prepared to be run on filesystems
that are not connected on every boot?

Not designed to; no.

The alternative here is to require the user to manually create the repository first using "pkgsend create-repository" and never have the depot process automatically create one.

But I don't know if that is desirable.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to