[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbit 4.1.1 - client ownership question
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbit 4.1.1 - client ownership question
- From: Peter Welter <peter.welter (at) gmail.com>
- Date: Wed, 17 Aug 2005 04:43:23 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GKxZk/OnKeWXkLCdXvAUEjBkaI06HdtjrKF20OOpqUGIO0uL1jrHj7wTTRR2LWPNIhgi2DXQ01pNKtD1j2mnEg3BUP3AZpdKhK/FEZnwtIwjyTLBL+C9OY6YbqiE4tp+zcXR7ibU2nfiIVwmpKXZ92c1jCkzaZMDRqc8khRRK3w=
- References: <af5861d6050816124178632d1f@mail.gmail.com> <20050816204506.GB3011@hswn.dk>
Great Henrik!
Thank you very much! For both a GREAT product Hobbit _and_ one of the
fastest and to the point support I've ever seen!
Thanks,
Peter
2005/8/16, Henrik Stoerner <henrik (at) hswn.dk>:
> Hi Peter,
>
> On Tue, Aug 16, 2005 at 09:41:35PM +0200, Peter Welter wrote:
> > I just installed on a Linux (sles9) testbox using the 'rpm
> > -rebuild'-option on Hobbit 4.1.1 from a src-distro. I don't know if I
> > should perform this option as root or as user hobbit? I tried both
> > and finally decided to only use the root-made-version.
>
> It shouldn't matter what userid builds the rpm-package. I cannot
> recall if the 4.1.1 source-rpm did some stuff during the build that
> requires root-privs.
>
> The general recommendation for building rpm-packages is to do the
> build as a normal userid.
>
> > Is there a better way using the already available config-file in the
> > src-distro where you can change the ownership of the apache run-user
> > from apache to wwwrun (sles9)?
>
> Yes. Install the source rpm with "rpm -i hobbit*.src.rpm", then edit
> the file /usr/src/redhat/SPECS/hobbit.spec. In that file there is a
> "%setup" section which does the Hobbit build configuration - you can
> change the HTTPDGID setting from "apache" to "wwwrun", or whatever
> other group-id is being used.
>
> Then to build the package, run "rpmbuild -ba
> /usr/src/redhat/SPECS/hobbit.spec".
>
> > Anyway, the ownership of the client-directory tmp (~hobbit/client/tmp)
> > is default root:root which makes it impossible for the client to write
> > the needed data. Changing to hobbit:hobbit makes the client run
> > smoothly.
>
> The .rpm (and .deb) package build has been overhauled these past few
> days, so it should hopefully be a lot better now.
>
> > But what is the way to install the client on several hosts?
>
> A separate client-package without all of the server stuff will
> be available from the next version. For now, you can just copy the
> full /usr/lib/hobbit/client/ directory over to the other hosts.
>
>
> Regards,
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>