[cups.bugs] [MOD] STR #3389: Init script kills cupsd processes in all Solaris zones

Maciej BliziƄski maciej.blizinski at gmail.com
Fri Oct 23 04:34:25 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Solaris 10 features virtualization technology, called Solaris Zones. The
init script is unaware of this technology; in effect, when the start/stop
script is invoked to stop cupsd, it stops the cupsd processes in all
zones, not just the global zone. For example:

Before:

solarisbox.example.com - cupsd is running
solarisbox-zone1.example.com - cupsd is running
solarisbox-zone2.example.com - cupsd is running
solarisbox-zone3.example.com - cupsd is running

solarisbox # svcadm disable cswcupsd

solarisbox.example.com - cupsd is disabled
solarisbox-zone1.example.com - cupsd is in maintenance state
solarisbox-zone2.example.com - cupsd is in maintenance state
solarisbox-zone3.example.com - cupsd is in maintenance state

solarisbox # svcadm enable cswcupsd

solarisbox.example.com - cupsd is running
solarisbox-zone1.example.com - cupsd is in maintenance state
solarisbox-zone2.example.com - cupsd is in maintenance state
solarisbox-zone3.example.com - cupsd is in maintenance state

The maintenance state means that the service is offline and can't be
started.

The patch linked below implements a bugfix. If /usr/bin/zonename binary is
present, indicating that the system has zones technology installed, it will
only look for cupsd processes in the current zone.

http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/cups/branches/cups-1.4.0/files/0007-Solaris-zone-support-in-init-script.patch

Link: http://www.cups.org/str.php?L3389
Version: 1.4.0





More information about the cups mailing list