[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ezjail-3.2.1 on 9.0-RELEASE, pkg_add not work with flavour



Hello!

I try ezjail-3.2.1 on 9.0-RELEASE
All fine but packages in flavour /pkg are not installed at first startup

My steps:

1) Create package and its depens:
pkg_create -vRb mc-light-4.1.40.p9_8

2) Copy 'example' flavour to 'base'

3) Place packages to /usr/jails/flavours/base/pkg:
# ls -la
total 8844
drwxr-xr-x  2 root  wheel      512  4 фев 22:06 .
drwxr-xr-x  5 root  wheel      512  4 фев 23:14 ..
-rw-r--r--  1 root  wheel   879678  4 фев 22:04 gawk-4.0.0.tbz
-rw-r--r--  1 root  wheel  5965112  4 фев 22:04 gettext-0.18.1.1.tbz
-rw-r--r--  1 root  wheel  1491048  4 фев 22:04 libiconv-1.13.1_1.tbz
-rw-r--r--  1 root  wheel    13838  4 фев 22:04 libsigsegv-2.10.tbz
-rw-r--r--  1 root  wheel   536230  4 фев 22:04 mc-light-4.1.40.p9_8.tbz
-rw-r--r--  1 root  wheel    57423  4 фев 22:04 pkg-config-0.25_1.tbz

4) Uncomment "pw groupadd -q -n coders" in rc.d/ezjail.flavour.example
to check, that script do some job on first run

5) Create jail with base flavour
# ezjail-admin create -f base named x.x.x.x

6) Start jail
# ezjail-admin start named

7) Go to jail to check installed packages:
# ezjail-admin console named
# pkg_info
pkg_info: no packages installed

8) But flavour script works because 'coders' in /etc/group

If I comment 'rm -rf /pkg' in rc.d/ezjail.flavour.example,  I can
install packages manualy after first logon.

Such things works fine for me with ezjail-3.1 and 8.1-RELEASE
Have any ideas?