[csw-users] cswexim and zones
Roman Klesel
roman.klesel at googlemail.com
Thu Dec 7 08:25:22 CET 2006
Hello Markus,
On 12/6/06, Markus Mayer <mmayer at blastwave.org> wrote:
> Could you send the output of the pkgadd command(s) you are using
> (either via pkg-get or called directly)?
>
Shure, it's at the end of this post. I cut out the GPL so it will not
be that long ...
> Are you sharing /opt/csw across zones?
Yes.
>How are your zones set up
> generally?
They are all setup like that:
root at www1q # cat /etc/zones/mail1q.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN"
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
DO NOT EDIT THIS FILE. Use zonecfg(1M) instead.
-->
<zone name="mail1q" zonepath="/zpool/zones/mail1q" autoboot="true">
<inherited-pkg-dir directory="/lib"/>
<inherited-pkg-dir directory="/platform"/>
<inherited-pkg-dir directory="/sbin"/>
<inherited-pkg-dir directory="/usr"/>
<inherited-pkg-dir directory="/opt/csw"/>
<network address="213.95.47.84" physical="e1000g1"/>
<network address="10.11.13.84" physical="e1000g0"/>
<rctl name="zone.cpu-shares">
<rctl-value priv="privileged" limit="25" action="none"/>
</rctl>
</zone>
> Is it x86 or SPARC (unlikely to make a difference, but it's
> always good to know)?
>
It's an x4100 so x86.
Really strange, pkgadd makes no attempt to install this package in the
non global zones. Just for testing and to make shure the system isn't
broken I tried installing gawk. Works as expected.
When others have no similar problems I guess I'll reinstall the zones
and all the csw packages. Not such a big deal.
Thanks
Roman
root at www1q # pkgadd -d exim-4.63\,REV\=2006.09.30-SunOS5.8-i386-CSW.pkg
The following packages are available:
1 CSWexim exim - The Exim Mail Transfer Agent
(i386) 4.63,REV=2006.09.30
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance <CSWexim> from
</root/exim-4.63,REV=2006.09.30-SunOS5.8-i386-CSW.pkg>
## Installing package <CSWexim> in global zone
exim - The Exim Mail Transfer Agent(i386) 4.63,REV=2006.09.30
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
...
Found an existing sendmail installation.
You have following choices with for installing postfix:
1. Send mail only, without changing existing sendmail
installation.
2. Rename existing sendmail binaries to *.OFF and replace
them with binaries provided by postfix.
Enter your choice [1,2] (default 1): 2
## Executing checkinstall script.
## Processing package information.
## Processing system information.
9 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
The following files are being installed with setuid and/or setgid
permissions:
/opt/csw/sbin/exim <setuid root>
Do you want to install these as setuid/setgid files [y,n,?,q] y
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <CSWexim> [y,n,?] y
Installing exim - The Exim Mail Transfer Agent as <CSWexim>
## Executing preinstall script.
group exim detected
user exim detected
## Installing part 1 of 1.
/opt/csw/etc/exim/aliases.CSW
/opt/csw/etc/exim/exim-env.sh.CSW
/opt/csw/etc/exim/exim.conf.CSW
/opt/csw/sbin/exicyclog
/opt/csw/sbin/exigrep
/opt/csw/sbin/exim
/opt/csw/sbin/exim_checkaccess
/opt/csw/sbin/exim_dbmbuild
/opt/csw/sbin/exim_dumpdb
/opt/csw/sbin/exim_fixdb
/opt/csw/sbin/exim_lock
/opt/csw/sbin/exim_tidydb
/opt/csw/sbin/eximon
/opt/csw/sbin/eximon.bin
/opt/csw/sbin/eximstats
/opt/csw/sbin/exinext
/opt/csw/sbin/exipick
/opt/csw/sbin/exiqgrep
/opt/csw/sbin/exiqsumm
/opt/csw/sbin/exiwhat
/opt/csw/share/doc/exim/ChangeLog.gz
/opt/csw/share/doc/exim/Exim3.upgrade
/opt/csw/share/doc/exim/Exim4.upgrade
/opt/csw/share/doc/exim/NewStuff
/opt/csw/share/doc/exim/OptionLists.txt
/opt/csw/share/doc/exim/README
/opt/csw/share/doc/exim/README.CSW
/opt/csw/share/doc/exim/README.SIEVE
/opt/csw/share/doc/exim/dbm.discuss.txt
/opt/csw/share/doc/exim/filter.txt
/opt/csw/share/doc/exim/pcrepattern.txt
/opt/csw/share/doc/exim/pcretest.txt
/opt/csw/share/doc/exim/spec.txt.gz
[ verifying class <none> ]
Installing class <smfyes>.
/opt/csw/lib/svc/method/svc-exim
/opt/csw/var/svc/manifest/network/exim.xml
[ verifying class <smfyes> ]
## Executing postinstall script.
Setting up config-files...
Copying /opt/csw/etc/exim/aliases.CSW to /opt/csw/etc/exim/aliases
Not touching existing /opt/csw/etc/exim/exim.conf
Copying /opt/csw/etc/exim/exim-env.sh.CSW to /opt/csw/etc/exim/exim-env.sh
Checking for newaliases... /usr/sbin/newaliases
Moving /usr/sbin/newaliases to newaliases.OFF
Moving /usr/lib/sendmail to sendmail.OFF
Moving /usr/bin/mailq to mailq.OFF
Registering Exim with SMF...
---------------------------------------------------------------
Please take the time to read /opt/csw/share/doc/exim/README.CSW
---------------------------------------------------------------
Installation of <CSWexim> was successful.
More information about the users
mailing list