[csw-maintainers] pkginstall question

Peter Bonivart bonivart at opencsw.org
Mon Oct 26 20:31:45 CET 2009


On Mon, Oct 26, 2009 at 7:54 PM, Nicolai Schwindt
<schwindt at dfki.uni-kl.de> wrote:
>
> 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.

There's a bug for this: http://www.opencsw.org/mantis/view.php?id=3959

I'll add your notes to that bug. I haven't had much time to look at it.

Anything special with your setup? Is this a sparse zone? Latest
version of cswclassutils?

-- 
/peter



More information about the maintainers mailing list