[OpenAFS] Re: OpenAFS services startup
Thu, 01 Mar 2012 17:58:48 -0500
RPM installs occasionally fail because of kernel versions, incompatible
architecture and what not. In such cases, source build is usually
considered the preferred fallback.
OpenAFS documentation already branches out to different Unix flavors in
one or two places, so there is precedent for documenting OS-specific
things. A startup service typically consists of placing the right script
in init.d, a config file in /etc/sysconfig, and placing whatever modules
the script invokes in the proper places. The latter are presumably built
already, if the system is to work at all. It would not seem too onerous
to me to have these few steps spelled out in the docs, as part of the
configuration process. Thanks.
Andrew Deason wrote:
> On Wed, 29 Feb 2012 18:28:03 -0500
> "Danko Antolovic" <firstname.lastname@example.org> wrote:
>> Could someone spell out which files are involved? What startup
>> script(s) go into /etc/rc.d/init.d ? What is the right config file?
>> The documentation seems to cover the rpm installations, but is a bit
>> obscure about the source build. Thanks.
> Documenting init scripts for a "source build" doesn't make a lot of
> sense to me, since an init script is part of the integration with the
> general system; it will be different for different OSes and for
> different distributions of the same OS.
> If you want the init scripts that come with the RPMs distributed by
> openafs.org, they're in src/packaging/RedHat/; openafs-client.init for
> the client, and openafs-server.init for the server.
> However, it seems like it would be easier for you if you just used the
> RPMs themselves, as they would put the init scripts etc in the right
> place for you. Is there any reason you don't want to do that? If you are
> modifying the source or something in some way, you can still build RPMs
> yourself. src/packaging/RedHat/makesrpm.pl can be used to make an SRPM,
> and building RPMs from that can be done via rpmbuild, similarly as with
> any SRPM.