From owner-freebsd-current@freebsd.org Fri Sep 2 22:26:02 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77AD5BCC8C9 for ; Fri, 2 Sep 2016 22:26:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 517D772 for ; Fri, 2 Sep 2016 22:26:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: by mailman.ysv.freebsd.org (Postfix) id 50CCABCC8C8; Fri, 2 Sep 2016 22:26:02 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50667BCC8C6 for ; Fri, 2 Sep 2016 22:26:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E89F771 for ; Fri, 2 Sep 2016 22:26:01 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p57BB8B32.dip0.t-ipconnect.de [87.187.139.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id B300A83FAE4 for ; Sat, 3 Sep 2016 00:25:38 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by outgoing.leidinger.net (Postfix) with ESMTPS id E443D35AA for ; Sat, 3 Sep 2016 00:25:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1472855136; bh=CP6AikuWcmECcc+gAGQFxnk7/xQaQ82g4z7hb+WnfL4=; h=Date:From:To:Subject; b=fkY6XE9uxhXG+Mit3w0XKENjiT/mBHbLBp/4dZy6KCPLoKq4yDRP2bSfcYeZ+f72R 2y2vRRBbr6hvvVKjHQtE3hYoOt9y7oTfBC9YQ/sh88Q+5k6oT9xGwMi/ZEg++MXlKJ zzd6izjJZf+YL5LLoSAgK50dB3tne/ZJ3W7P0jLBmuQWUv1NxKkpt+tD9vR6vJL9ww cI6D5cxmISI5Ig6z9ySEmGaOWHd+r/wFQKpfvPwtPnMUreoLwV4qKA3fv5QdyBdTI/ XfMJ0MXvTkZAfNKZ+YxhHHFfumeKc/QWwG8pbKRxXPJLrUBgQpzYB6vCVLNCPxstwd YRxLaPq0LyTdg== Received: (from www@localhost) by webmail.leidinger.net (8.15.2/8.14.4/Submit) id u82MPZki020302 for current@freebsd.org; Sat, 3 Sep 2016 00:25:35 +0200 (CEST) (envelope-from Alexander@leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@leidinger.net using -f Received: from IO.Leidinger.net (IO.Leidinger.net [192.168.1.11]) by webmail.leidinger.net (Horde Framework) with HTTPS; Sat, 03 Sep 2016 00:25:35 +0200 Date: Sat, 03 Sep 2016 00:25:35 +0200 Message-ID: <20160903002535.Horde.n5qG88hbIXXvxY8xCMGjSbZ@webmail.leidinger.net> From: Alexander Leidinger To: current@freebsd.org Subject: Installworld fails when /usr/bin and /usr/sbin are different FS / how to use symlinks in installworld? User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_gJMkJs1b-ECyIngQ14fYvlA"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: B300A83FAE4.A5B6E X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.254, required 6, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_55 0.60, J_CHICKENPOX_65 0.60, TW_HK 0.08, TW_ZF 0.08) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1473459941.14402@iM+F601QGv4pwlblvaXqVg X-EBL-Spam-Status: No X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2016 22:26:02 -0000 This message is in MIME format and has been PGP signed. --=_gJMkJs1b-ECyIngQ14fYvlA Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, background info: - iocage (jail management) uses official release tarballs - I want to install a jail from a specific src I compiled withour=20=20 creating=20release tarballs (-> faster time to market), so I want to=20=20 convince=20iocage to use what I provide via installworld - jails of type "basejail" (jails read-only-share the base system)=20=20 in=20iocage are handled via seperate zfs datasets for each directory - as such /usr/bin and /usr/sbin are different datasets I got this error in installworld: ---snip--- =3D=3D=3D> usr.sbin/chkgrp (install) install -s -o root -g wheel -m 555 chkgrp=20=20 /iocage/base/12.0-r305149M/root/usr/sbin/chkgrp install=20 -o root -g wheel -m 444 chkgrp.debug=20=20 /iocage/base/12.0-r305149M/root/usr/lib/debug/usr/sbin/chkgrp.debug install=20 -o root -g wheel -m 444 chkgrp.8.gz=20=20=20 /iocage/base/12.0-r305149M/root/usr/share/man/man8/ =3D=3D=3D> usr.sbin/chown (install) install -s -o root -g wheel -m 555 chown=20=20 /iocage/base/12.0-r305149M/root/usr/sbin/chown install=20 -o root -g wheel -m 444 chown.debug=20=20 /iocage/base/12.0-r305149M/root/usr/lib/debug/usr/sbin/chown.debug install=20 -o root -g wheel -m 444 chgrp.1.gz=20=20=20 /iocage/base/12.0-r305149M/root/usr/share/man/man1/ install=20 -o root -g wheel -m 444 chown.8.gz=20=20=20 /iocage/base/12.0-r305149M/root/usr/share/man/man8/ =3D=3D=3D> usr.sbin/chown/tests (install) install -o root -g wheel -m 555 chown-f_test=20=20=20 /iocage/base/12.0-r305149M/root/usr/tests/usr.sbin/chown/chown-f_test install=20 -o root -g wheel -m 444 Kyuafile=20=20=20 /iocage/base/12.0-r305149M/root/usr/tests/usr.sbin/chown/Kyuafile /usr/bin/chgrp=20-> /usr/sbin/chown install: link /iocage/base/12.0-r305149M/root/usr/sbin/chown ->=20=20 /iocage/base/12.0-r305149M/root/usr/bin/chgrp:=20Cross-device link *** Error code 71 Stop. make[5]: stopped in /usr/src/usr.sbin/chown *** Error code 1 Stop. ---snip--- The error message is obvious, it tries to create a hardlink which is=20=20 off=20course not possible when src and dest of the link are on different=20= =20 FS. My=20goal of an easy procedure (installworld into target datasets)=20=20 doesn't=20work like this off course. Do we have an easy way of telling=20= =20 installworld=20to create symlinks instead of hardlinks, or alternatively=20= =20 a=20way to tell to copy instead of doing a hardlink if the install hits=20= =20 the=20cross-device case? Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_gJMkJs1b-ECyIngQ14fYvlA Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJXyfxfAAoJEKrxQhqFIICEQ1YQAJfbtNNe8TvF+M+9XVRqYsZ9 sNFNXT7I7f7vSPvLrTvNU6V3sKwfAoxmFfHLU18zNBhEPEbeMwkbZnCLlpt2Xpba bu++ubNZ7U6MCanQYC/X6rR0SzmBefJqXlfW3+RAgO5iBdRnYWYeQ+qB5zPdeaIQ v9zSSL3n6vR+vOy+tdC39qmK2Q47ZDW5pQ58/p8LegrGk0QTMsyV6X//NXRxZs+Q sCe7YsgH8JPQmjW+yBDh6egBOlbNMw6SsP/Mi9xOxUe1CIsr7LxaHrw8JlgT/caR crOgIBppdHx/jw+z3rAIPkhKnGTjoNkpmQ4aYFl5sXLUidBZha9KZtBP1a9d/qf3 mebbUSGTvJNLudoGRd1LC+CrIpu/NgvpTqRHzotJuy0nJdf7LNXJoFbufZ+7Wkl+ ArFwAEYGdVJxggwMr5RI0A8okcr1XEzQd/71WJHj2fkLm0fGMcTMm680c7JrZDzR uRN+oVJA5TufNdLYwl1l+NqAFw37u1n+UYIDQmBAmrs9lehoaDsK+P5qPAR3Rc2H nGYfCEwXWz1uBkZ9JDE446A0Msaw50PiaKJ63BLUOt2MZfffSLmJ4A5SAj4NIv0Q abozIv0iMv9pCOF/fgG3I1zkdwWxkQ+BOMcFzSofecuHcAyawBgtFoayjCdGcCjO ifn/bOQJ1XN7K2Rg6aSU =Ho+9 -----END PGP SIGNATURE----- --=_gJMkJs1b-ECyIngQ14fYvlA--