Jeffery Small | 1 Apr 22:57 2011

apache2 installation issue

FYI:  I just ran a CSW update.  I have apache2 installed here but it
is disabled.  The update removed CSWapache2rt and CSWapache2 and then
installed CSWapache2c and CSWapache2.  Apparently CSWWapache2rt is no
longer necessary as it contains only two text files.

(Aside: apache2 may have been previously installed due to some other
package dependency from long ago, but I just checked and currently there
does not seem to be anything depending upon it, so I should probably just
uninstall the package.)

I haven't examined things closely, but apparently there is a post-install
script for CSWapache2 that tries to do something, and displayed a message
something like:

    Examining configuration files:

and then hung.  I'm guessing an expected config file was missing or else
the problem was in some attempt to manipulate the service which was not
actually running:

	# svcs -a | grep cswapache2
	disabled       13:14:16 svc:/network/cswapache2:default

I terminated the installation, which appears to have otherwise been
successful.  I mention this only so that the post-install script can be
examined and improved so as not to hang under these conditions.

Regards,
--

-- 
Jeff
(Continue reading)

Ben Walton | 2 Apr 02:23 2011

updating buildfarm


Hi All,

I'm pushing in several updates to the buildfarm...

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
maintainers mailing list
maintainers@...
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Ben Walton | 2 Apr 16:41 2011

Re: apache2 installation issue

Excerpts from jeff's message of Fri Apr 01 16:57:17 -0400 2011:

Hi Jeff,

> FYI: I just ran a CSW update.  I have apache2 installed here but it
> is disabled.  The update removed CSWapache2rt and CSWapache2 and
> then installed CSWapache2c and CSWapache2.  Apparently CSWWapache2rt
> is no longer necessary as it contains only two text files.

But it did get installed, right?  Packages depend on it still, so it
can't go away.  If it didn't get pulled in, that's an error.

> (Aside: apache2 may have been previously installed due to some other
> package dependency from long ago, but I just checked and currently
> there does not seem to be anything depending upon it, so I should
> probably just uninstall the package.)

This was one hurdle in getting my update out the door.  There are
packages that depend on all of:

CSWapache2
CSWapache2c
CSWapache2rt
CSWap2prefork

The interdependencies among those made for lots of fun.

> I haven't examined things closely, but apparently there is a
> post-install script for CSWapache2 that tries to do something, and
> displayed a message something like:
(Continue reading)

Jeffery Small | 4 Apr 02:43 2011

Re: apache2 installation issue

Ben Walton <bwalton@...> writes:

>But it did get installed, right?  Packages depend on it still, so it
>can't go away.  If it didn't get pulled in, that's an error.

Yes, it appears to have been fully installed -- as best as I can tell without
actually running it.

>> I haven't examined things closely, but apparently there is a
>> post-install script for CSWapache2 that tries to do something, and
>> displayed a message something like:
>> 
>>     Examining configuration files:

>The postinstall script for CSWapache2 does:

>1. Install config files from .CSW templates if live version not found.
>2. Generates a dummy ssl key.
>3. Creates the var/run directory if it's not there (in the bad
>   location).

>There really isn't anything going on that should cause a hang.  The
>service manipulation is done by cswinitsmf when the init script is
>delivered.  That should happen before the postinstall script[1] runs.
>I need to move template handling to a CAS, but that's something I
>wanted to address separately since I had enough open issues to deal
>with for this update.

I think the best clue is something following the message

(Continue reading)

Ben Walton | 4 Apr 02:50 2011

Re: apache2 installation issue

Excerpts from jeff's message of Sun Apr 03 20:43:09 -0400 2011:

> >There really isn't anything going on that should cause a hang.  The
> >service manipulation is done by cswinitsmf when the init script is
> >delivered.  That should happen before the postinstall script[1] runs.
> >I need to move template handling to a CAS, but that's something I
> >wanted to address separately since I had enough open issues to deal
> >with for this update.
> 
> I think the best clue is something following the message
> 
>     "Examining configuration files:"
> 
> or something close to that.  Do you see that being printed anywhere
> during the installation?

Here is the tail end of the script.  I guess there is potential to
stall if there isn't enough entropy on the system to generate the ssl
cert...?  I plan to drop the cert generation in a future update, but
left it in to reduce the changes in this update as I was focused only
on fixing update related bugs with the 2.2.16 release.

HTH.
-Ben

--snip--
echo Copying CSW templates:
for file in $template_list
do
    filepath=$AP2_PREFIX/$file
(Continue reading)

Ben Walton | 4 Apr 16:13 2011

Re: apache2 installation issue

Excerpts from jeff's message of Sun Apr 03 20:43:09 -0400 2011:

Hi Jeff,

This wasn't by any chance a VM where entropy could be a real issue,
was it?

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
maintainers mailing list
maintainers@...
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Jeffery Small | 4 Apr 18:55 2011

Re: apache2 installation issue

Ben Walton <bwalton@...> writes:

>This wasn't by any chance a VM where entropy could be a real issue,
>was it?

No.  This is a straight Solaris 10 installation with no zones.  I am running
a full set of mirrored disks, but that shouldn't be causing any problem.

Regards,
--

-- 
Jeff

C. Jeffery Small           CJSA LLC                       206-232-3338
jeff@...              7000 E Mercer Way, Mercer Island, WA  98040

_______________________________________________
maintainers mailing list
maintainers@...
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Ben Walton | 4 Apr 19:51 2011

Re: apache2 installation issue

Excerpts from jeff's message of Mon Apr 04 12:55:10 -0400 2011:

> No.  This is a straight Solaris 10 installation with no zones.  I am
> running a full set of mirrored disks, but that shouldn't be causing
> any problem.

Ok.  Would have been a nice (easy) explanation, but oh well.  Once I
get a few other things squared away I'll come back to apache and
tackle the directory moves.  Some of the changes that will be added
then should make the postinstall script smaller, so this might just
disappear.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
maintainers mailing list
maintainers@...
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Ben Walton | 7 Apr 21:23 2011

Re: [csw-pkgsubmissions] newpkgs rb18_libxml_1_1_4

Excerpts from Philip Brown's message of Thu Apr 07 14:20:33 -0400 2011:

> This is a new naming scheme.

Yes, it's borne out of the ruby dublin discussions.

> seems like we should have documentation for, and agreement on, this
> new standard, before releasing stuff like that.

http://wiki.opencsw.org/ruby-dublin

> Or, if you want to just release something without need for discussion,
> seems like
> ruby18_libxml_

The rb_ standard was good and this is the logical extension of the
prefix for a world where a gem will be for 1.8 or 1.9.

The new naming scheme also allows for multiple gem versions to live on
the system at once (the same capability that gem offers if you install
manually).  This eases the update burden over time as we don't need to
provide a transition path from one set of gems (think rails) to
another, where the upstream community has made incompatible changes.
It's basically the same idea that drives our library splitting.

Discuss. :)

Thanks
-Ben

(Continue reading)

Philip Brown | 7 Apr 23:08 2011

Re: newpkgs rb18_libxml_1_1_4

On Thu, Apr 7, 2011 at 12:23 PM, Ben Walton <bwalton@...> wrote:
> Excerpts from Philip Brown's message of Thu Apr 07 14:20:33 -0400 2011:
>...
>
>> seems like we should have documentation for, and agreement on, this
>> new standard, before releasing stuff like that.
>
> http://wiki.opencsw.org/ruby-dublin

Thanks for the ref...

That page is very short. I would suggest that in a complex topic such
as this, it is best for such writeups to have as much "why" details,
as "what".

Did you guys compare to what debian is doing in this space?

There are some interesting comments on that, at

http://stackoverflow.com/questions/2846804/whats-the-deal-with-rubygems-on-debian-its-different-and-strange

> The rb_ standard was good and this is the logical extension of the
> prefix for a world where a gem will be for 1.8 or 1.9.
>
> The new naming scheme also allows for multiple gem versions to live on
> the system at once (the same capability that gem offers if you install
> manually).  This eases the update burden over time as we don't need to
> provide a transition path from one set of gems (think rails) to
> another, where the upstream community has made incompatible changes.
> It's basically the same idea that drives our library splitting.
(Continue reading)


Gmane