-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for startup on HPUX #2275
Comments
CUPS.org User: mike OK, we can't accept the patch as-is, mainly because it is a maintenance nightmare. I'll look into abstracting the run level stuff in the configure script so that the makefile and packaging files can share it. |
CUPS.org User: krumboeck Thanks for you efforts! ;) |
CUPS.org User: mike Fixed in Subversion repository. I've attached the changes I've made to support HP-UX (and other OS) run levels and start/stop numbers. |
"cups-1.2.8-hpuxstart.patch": *** config-scripts/cups-common.m4.old Fri Mar 2 09:15:22 2007 *** 63,68 ****
|
"cups-1.2.8-runlevel.patch": *** Makefile.old Fri Mar 2 08:40:33 2007 ** 103,116 **** |
"str2275.patch": Index: packaging/cups.list.in--- packaging/cups.list.in (revision 6330) %system !darwin Index: Makedefs.in--- Makedefs.in (revision 6330) Index: config-scripts/cups-directories.m4--- config-scripts/cups-directories.m4 (revision 6330) dnl Setup init.d locations... +INITDIR=""
- ;;
AC_SUBST(INITDIR) dnl Xinetd support... Index: Makefile--- Makefile (revision 6330)
+export PATH See if the CUPS server (cupsd) is running...@@ -201,6 +215,16 @@
|
Version: 1.2-current
CUPS.org User: krumboeck
Hello!
The boot concept of HPUX is a bit different from the linux (and other *nix) one:
*) boot numbers have 3 digits instead of 2
*) if you start into runlevel 3 all scripts in /sbin/rc1.d, /sbin/rc2.d and /sbin/rc3.d will be started
*) if you start script is in /sbin/rc2.d then your stop script should be in /sbin/rc1.d
*) start scripts should contain the sections start_msg and stop_msg
*) /usr/bin is not in the search path during startup
*) some services use dynamic port reservation beyond 1024, so it is a good idea to start cups before this services (still waiting for an answer from HP)
The patch cups-1.2.8-hpuxstart is not fully tested, because I have no
installed autoconf. (used hard coded value for @ps@ during tests)
best regards!
Bernd
The text was updated successfully, but these errors were encountered: