[csw-maintainers] pkginstall question

Nicolai Schwindt schwindt at dfki.uni-kl.de
Mon Oct 26 19:54:42 CET 2009


The errors on install packages I mentioned a while age still exist.
Maybe now someone has an idea.

My scenario : fresh install of solaris 10 x86 10u8 

pkg-get -i clamav  - gives :
...
[ verifying class <ugfiles> ]
Copying sample config to /opt/csw/etc/clamav-milter.conf
usage:  chmod [-fR] <absolute-mode> file ...
        chmod [-fR] <ACL-operation> file ...
        chmod [-fR] <symbolic-mode-list> file ...
where   <symbolic-mode-list> is a comma-separated list of
        [ugoa]{+|-|=}[rwxXlstugo]
where   <ACL-operation> is one of the following
        A-<acl_specification>
        A[number]-
        A[number]{+|=}<acl_specification>
where   <acl-specification> is a comma-separated list of ACEs
Copying sample config to /opt/csw/etc/clamd.conf
usage:  chmod [-fR] <absolute-mode> file ...
        chmod [-fR] <ACL-operation> file ...
        chmod [-fR] <symbolic-mode-list> file ...
where   <symbolic-mode-list> is a comma-separated list of
        [ugoa]{+|-|=}[rwxXlstugo]
where   <ACL-operation> is one of the following
        A-<acl_specification>
        A[number]-
        A[number]{+|=}<acl_specification>
where   <acl-specification> is a comma-separated list of ACEs
Copying sample config to /opt/csw/etc/freshclam.conf
usage:  chmod [-fR] <absolute-mode> file ...
        chmod [-fR] <ACL-operation> file ...
        chmod [-fR] <symbolic-mode-list> file ...
where   <symbolic-mode-list> is a comma-separated list of
        [ugoa]{+|-|=}[rwxXlstugo]
where   <ACL-operation> is one of the following
        A-<acl_specification>
        A[number]-
        A[number]{+|=}<acl_specification>
where   <acl-specification> is a comma-separated list of ACEs




in the package one finds :
 
1 f cswcpsampleconf /opt/csw/etc/clamav-milter.conf.CSW 0644 root bin 7156 
30995 1244712757

Taking a look at /usr/sadm/install/scripts/i.cswcpsampleconf gives the 
impression
 ( contents=`grep "^$dest" /var/sadm/install/contents` )  in 
/var/sadm/install/contents
one should find  the string "/opt/csw/etc/clamav-milter.conf".

But it is not there, not untill after the installation finished. As it remains 
after pkgrm
CSWclamav, from now on pkg-get -i clamav works as expected.

You end up with : 

ll /opt/csw/etc/clamav-milter.conf
-rw-r--r--   1 root     root        7156 Oct 26 19:53 
/opt/csw/etc/clamav-milter.conf

This is not limited to clamav - there are some other packages as well. i.e 
openssh-client,
openssh.


Nicolai 




More information about the maintainers mailing list