Skip to content

sparse zones now explicitly add /usr packages already in the global zone #3049

Open
@mounty1

Description

@mounty1

I think the title reflects the problem.

In r151042 and before, it was possible to create a sparse zone and install, for example, just the cyrus-mail package in it. Although that package depends on the libxslt package, it was enough that libxslt was installed in the global zone, since the sparse zone shares /usr and thus can use the libxslt contents such as usr/bin/amd64/xslt-config.
In r151044 this no longer works:

# pkg install -R /zone/mail/root cyrus-mail
Creating Plan (Evaluating mediators): /
pkg install: The files listed below match exclusions which are configured
on this image and can therefore not be installed:

usr/bin/amd64/xslt-config
usr/bin/amd64/xsltproc
usr/bin/i386
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions