Date: Thu, 12 Jan 2012 21:33:25 +0100 From: bsd <bsd@todoo.biz> To: bsd <bsd@todoo.biz> Subject: =?iso-8859-1?q?Re=3A_Problem_installing_world_in_jail_template_?= =?iso-8859-1?q?=5BSolved=5D=A0?= Message-ID: <151DBB82-8C58-4263-98E5-93CBFF0E9640@todoo.biz> Resent-Message-ID: <20120112203345.B689E78C5C@newmail.rmm.fr> In-Reply-To: <021F2333-E841-4C66-A02A-7EBDA61CC505@todoo.biz> References: <26120B7A-F441-409A-8649-F85D987F4099@todoo.biz> <CAFYJ9egO3yztc4%2B_vOTk0TWb-%2Btv%2B3cbz94uN=tJRn1qW=ocYQ@mail.gmail.com> <021F2333-E841-4C66-A02A-7EBDA61CC505@todoo.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 12 janv. 2012 =E0 19:46, bsd a =E9crit : >=20 > Le 12 janv. 2012 =E0 17:29, ss griffon a =E9crit : >=20 >> On Thu, Jan 12, 2012 at 8:09 AM, bsd <bsd@todoo.biz> wrote: >>> Hi, >>>=20 >>>=20 >>> I am following the FBSD handbook tutorial in order to install the = world in my jail template : >>>=20 >>> # cd /usr/src >>> # make installworld DESTDIR=3D/jails/j/mroot >>>=20 >>>=20 >>> The directory already exists. >>>=20 >>> I have the following errors : >>>=20 >>>=20 >>>> ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so >>>> install -C -o root -g wheel -m 444 = /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h = /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h = /jails/j/mroot/usr/include >>>> install -o root -g wheel -m 444 com_err.3.gz = /jails/j/mroot/usr/share/man/man3 >>>> =3D=3D=3D> lib/libcom_err/doc (install) >>>> install-info --quiet --defsection=3D"Programming & development = tools." --defentry=3D"* libcom_err: (com_err). A Common Error = Description Library for UNIX." com_err.info = /jails/j/mroot/usr/share/info/dir >>>> install-info: /jails/j/mroot/usr/share/info/dir: empty file >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/src/lib/libcom_err/doc. >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/src/lib/libcom_err. >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/src/lib. >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/src. >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/src. >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/src. >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/src. >>>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> Target OS is 9.0-RC3. >>>=20 >>>=20 >>> Thanks for your help. >>>=20 >>>=20 >>> =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 >>> ---------> Gr=E9gory Bernard Director <--------- >>> ---------------> www.osnet.eu <--------------- >>> --> Your provider of OpenSource appliances <-- >>> =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 >>> OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO >>>=20 >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >>=20 >> Can you check if any of the directories in the path: >> /jails/j/mroot/usr/share/info/dir are actually created as empty = files? >> It seems like I have had that problem before but I don't remember = what >> the cause was. I fixed it by deleting the file and making it a >> directory. >=20 > As far as I can tell all directories are "directories" and not empty = files.=20 >=20 >=20 > [root@surf /jails]# cd j > [root@surf /jails/j]# ls -al=20 > total 6 > drwxr-xr-x 4 root wheel 4 Jan 12 18:16 . > drwxr-xr-x 4 root wheel 4 Jan 12 18:08 .. > drwxr-xr-x 17 root wheel 18 Jan 12 23:43 mroot > drwxr-xr-x 2 root wheel 2 Jan 12 18:16 skel > [root@surf /jails/j]# cd mroot/ > [root@surf /jails/j/mroot]# ls -al=20 > total 26 > drwxr-xr-x 17 root wheel 18 Jan 12 23:43 . > drwxr-xr-x 4 root wheel 4 Jan 12 18:16 .. > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 bin > drwxr-xr-x 7 root wheel 7 Jan 12 18:18 boot > dr-xr-xr-x 2 root wheel 2 Jan 12 18:18 dev > drwxr-xr-x 20 root wheel 20 Jan 12 18:18 etc > drwxr-xr-x 3 root wheel 4 Jan 12 23:43 lib > drwxr-xr-x 3 root wheel 3 Jan 12 18:18 libexec > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 media > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 mnt > dr-xr-xr-x 2 root wheel 2 Jan 12 18:18 proc > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 rescue > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 root > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 sbin > lrwxr-xr-x 1 root wheel 11 Jan 12 23:43 sys -> usr/src/sys > drwxrwxrwt 2 root wheel 2 Jan 12 18:18 tmp > drwxr-xr-x 14 root wheel 14 Jan 12 18:18 usr > drwxr-xr-x 23 root wheel 23 Jan 12 18:18 var > [root@surf /jails/j/mroot]# cd usr/ > [root@surf /jails/j/mroot/usr]# ls -al=20 > total 22 > drwxr-xr-x 14 root wheel 14 Jan 12 18:18 . > drwxr-xr-x 17 root wheel 18 Jan 12 23:43 .. > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 bin > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 games > drwxr-xr-x 51 root wheel 53 Jan 12 20:21 include > drwxr-xr-x 7 root wheel 28 Jan 12 23:43 lib > drwxr-xr-x 4 root wheel 4 Jan 12 18:18 lib32 > drwxr-xr-x 5 root wheel 5 Jan 12 18:18 libdata > drwxr-xr-x 6 root wheel 6 Jan 12 18:18 libexec > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 local > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 obj > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 sbin > drwxr-xr-x 27 root wheel 27 Jan 12 18:18 share > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 src > [root@surf /jails/j/mroot/usr]# cd share/ > [root@surf /jails/j/mroot/usr/share]# ls -al=20 > total 47 > drwxr-xr-x 27 root wheel 27 Jan 12 18:18 . > drwxr-xr-x 14 root wheel 14 Jan 12 18:18 .. > drwxr-xr-x 8 root wheel 8 Jan 12 18:18 calendar > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 dict > drwxr-xr-x 13 root wheel 13 Jan 12 18:18 doc > drwxr-xr-x 37 root wheel 37 Jan 12 18:18 examples > drwxr-xr-x 3 root wheel 3 Jan 12 18:18 games > drwxr-xr-x 16 root wheel 16 Jan 12 18:18 groff_font > drwxr-xr-x 4 root wheel 4 Jan 12 18:18 i18n > drwxr-xr-x 3 root wheel 3 Jan 12 18:21 info > drwxr-xr-x 176 root wheel 176 Jan 12 18:18 locale > drwxr-xr-x 25 root wheel 26 Jan 12 23:43 man > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 me > drwxr-xr-x 3 root wheel 3 Jan 12 18:18 misc > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 mk > drwxr-xr-x 157 root wheel 159 Jan 12 23:43 nls > drwxr-xr-x 3 root wheel 3 Jan 12 18:18 openssl > drwxr-xr-x 7 root wheel 7 Jan 12 18:18 pc-sysinstall > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 security > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 sendmail > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 skel > drwxr-xr-x 4 root wheel 4 Jan 12 18:18 snmp > drwxr-xr-x 5 root wheel 5 Jan 12 18:18 syscons > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 tabset > drwxr-xr-x 4 root wheel 4 Jan 12 18:18 tmac > drwxr-xr-x 3 root wheel 3 Jan 12 18:18 vi > drwxr-xr-x 14 root wheel 14 Jan 12 18:18 zoneinfo > [root@surf /jails/j/mroot/usr/share]# cd info/ > [root@surf /jails/j/mroot/usr/share/info]# ls -al=20 > total 5 > drwxr-xr-x 3 root wheel 3 Jan 12 18:21 . > drwxr-xr-x 27 root wheel 27 Jan 12 18:18 .. > drwxr-xr-x 2 root wheel 2 Jan 12 18:21 dir >=20 >=20 >=20 The problem was due to the hierarchy of the file system.=20 This is a ZFS root filesystem where I have the following structure :=20 [root@surf /home/gregober]# zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 7.46G 906G 345M legacy zroot/jails 15.8M 906G 33K /jails zroot/jails/j 15.8M 906G 33K /jails/j zroot/jails/j/mroot 15.7M 906G 15.7M /jails/j/mroot zroot/jails/j/skel 31K 906G 31K /jails/j/skel zroot/jails/js 31K 906G 31K /jails/js zroot/swap 4.13G 910G 16K - zroot/tmp 34.3M 906G 34.3M /tmp zroot/usr 2.77G 906G 1.79G /usr zroot/usr/home 4.40M 906G 4.40M /usr/home zroot/usr/ports 310M 906G 310M /usr/ports zroot/usr/ports/distfile 31K 906G 31K /usr/ports/distfile zroot/usr/ports/packages 31K 906G 31K /usr/ports/packages zroot/usr/src 689M 906G 689M /usr/src zroot/var 173M 906G 334K /var zroot/var/db 172M 906G 172M /var/db zroot/var/db/pkg 276K 906G 276K /var/db/pkg zroot/var/empty 31K 906G 31K /var/empty zroot/var/log 128K 906G 128K /var/log zroot/var/mail 35.5K 906G 35.5K /var/mail zroot/var/run 55.5K 906G 55.5K /var/run zroot/var/tmp 32K 906G 32K /var/tmp Somehow make installworld didn't like to have this structure :=20 zroot/jails/j 15.8M 906G 33K /jails/j zroot/jails/j/mroot 15.7M 906G 15.7M /jails/j/mroot zroot/jails/j/skel 31K 906G 31K /jails/j/skel I have destroyed zroot/jails/j/mroot and zroot/jails/j/skel and install = went allright.=20 Sincerely yours.=20 G.B.=20 =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 ---------> Gr=E9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?151DBB82-8C58-4263-98E5-93CBFF0E9640>