Jim Staunton writes:

# rpm -ivh courier-authlib-0.59.3-10.x86_64.rpm
courier-authlib-devel-0.59.3-10.x86_64.rpm
Preparing...                ###########################################
[100%]
   1:courier-authlib        ########################################### [
50%]
courier-authlib: unknown service
courier-authlib: unknown service
error: %post(courier-authlib-0.59.3-10.x86_64) scriptlet failed, exit status
1
   2:courier-authlib-devel  ###########################################
[100%]

Any idea what's causing the "courier-authlib: unknown service" error?

The rpm package is build for Fedora/RedHat, and installs the startup initscript in /etc/rc.d/init.d. SuSE probably stores the startup initscripts somewhere else, and the service command can't find it.

The relevant portions of the spec file are:

%{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
%{__install} -m 555 courier-authlib.sysvinit \
        $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/courier-authlib


and

%files -f configfiles.base

[ . . . ]

/etc/rc.d/init.d/*


You'll need to make appropriate adjustments for SUSE in your spec file, and rebuild.


Attachment: pgpKfgxxeKi84.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to