Mailinglist Archive: opensuse-buildservice (116 mails)

< Previous Next >
[opensuse-buildservice] Re: openSUSE Packages & post-build checks
  • From: Matthew Drobnak <mdrobnak@xxxxxxxxxxxx>
  • Date: Tue, 12 Aug 2014 19:26:42 +0000
  • Message-id: <1407871603.4482.8.camel@mdrobnak-MacBookAir>
It's calling the init script to start it on package install.

Basically the program is a one-shot that ensures the host has a kerberos
keytab. We run it after installing it, and then on each boot to make
sure the host is right if it is renamed and rebooted.

ie:
%post
/etc/init.d/kerberize-client start
chkconfig --add kerberize-client
chkconfig kerberize-client on

-Matt

On Tue, 2014-08-12 at 21:22 +0200, Andreas Schwab wrote:
Matthew Drobnak <mdrobnak@xxxxxxxxxxxx> writes:

I have a few packages which will attempt to start themselves in a
post-install script. However, they require network access and syslog
(/dev/log) to be available. At the moment, I'm unable to figure out how
to allow this to pass checks in OBS.

Don't do that then. Daemons should be started by init scripts, or on
demand.

Andreas.


N�����r��y隊Z)z{.����Wlz��qﮞ˛���m�)z{.��+�:�{Zr�az�'z��j)h����Ǜ�)]����Ǿ�
ޮ�^�ˬz��
< Previous Next >
Follow Ups