From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 26 Mar 2008 18:52:35 +0300 From: "Dmitry V. Levin" To: ALT Linux Sisyphus discussions Message-ID: <20080326155235.GB12004@wo.int.altlinux.org> Mail-Followup-To: ALT Linux Sisyphus discussions References: <47EA65A8.7070905@altlinux.org> <20080326151008.GA12004@wo.int.altlinux.org> <47EA6AE7.8050503@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline In-Reply-To: <47EA6AE7.8050503@altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [sisyphus] hasher mknod X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 15:52:35 -0000 Archived-At: List-Archive: List-Post: --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 26, 2008 at 06:25:27PM +0300, Vitaly Ostanin wrote: > Dmitry V. Levin =D0=C9=DB=C5=D4: > > On Wed, Mar 26, 2008 at 06:03:04PM +0300, Vitaly Ostanin wrote: > >> =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5. > >> > >> =F3=CB=C1=D6=C9=D4=C5, =D7 hasher =C5=D3=D4=D8 =D7=CF=DA=CD=CF=D6=CE= =CF=D3=D4=D8 =D2=C1=DA=D2=C5=DB=C9=D4=D8 mknod =D7 chroot ? =F4=CF, > >> =DE=D4=CF =C4=C5=CC=C1=C5=D4 hsh-fakedev, =C4=CC=D1 =C9=D3=D0=CF=CC=D8= =DA=CF=D7=C1=CE=C9=D1 =C4=D2=C1=CA=D7=C5=D2=CF=D7 nvidia =CE=C5 =C7=CF=C4= =C9=D4=D3=D1. > >=20 > > =F7 hasher-priv =C5=D3=D4=D8 mount, =D7 =D3=CF=DE=C5=D4=C1=CE=C9=C9 =D3= /etc/hasher-priv/fstab =DC=D4=CF=C7=CF > > =C4=CF=CC=D6=CE=CF =C2=D9=D4=D8 =C4=CF=D3=D4=C1=D4=CF=DE=CE=CF. >=20 > =EB=C1=CB =D4=D1=D6=C5=CC=CF =D6=C1=CC=CB=CF=CD=D5 =DE=C5=CC=CF=D7=C5=DE= =CB=D5 =CF=C2=DD=C1=D4=D8=D3=D1 =D3 =D7=D9=D3=DB=C9=CD =D2=C1=DA=D5=CD=CF= =CD... =E9=CD=C5=C5=D4=D3=D1 =D7 > =D7=C9=C4=D5 =CD=CF=CE=D4=C9=D2=CF=D7=C1=CE=C9=C5 /dev ? =E7=C4=C5 =CD=CF= =D6=CE=CF =D0=CF=D3=CD=CF=D4=D2=C5=D4=D8 =D0=D2=C9=CD=C5=D2=D9 > /etc/hasher-priv/fstab =C4=CC=D1 =CE=C5 =D7=C9=D2=D4=D5=C1=CC=D8=CE=D9=C8= fs ? =F2=C1=DA=D5=CD=C5=C5=D4=D3=D1, =D7 /etc/fstab =F7=CF=D4 =D7=C1=CD =CE=C5=D3=CB=CF=CC=D8=CB=CF =C9=D3=CB=D5=D3=D3=D4=D7=C5= =CE=CE=D9=CA, =CF=C4=CE=C1=CB=CF =D7=D0=CF=CC=CE=C5 =D2=C1=C2=CF=DE=C9=CA = =D0=D2=C9=CD=C5=D2: $ grep ^/ /etc/hasher-priv/fstab /dev /dev/my bind bind $ /usr/libexec/hasher-priv/hasher-priv getconf |xargs -r grep ^allowed_moun= tpoints=3D allowed_mountpoints=3D/proc,/dev/pts,/dev/my $ hsh --ini $ chgrp -- `/usr/libexec/hasher-priv/hasher-priv getugid1 |cut -d: -f2` ~/h= asher/chroot/dev/my $ hsh-shell --mount=3D/dev/my =F2=C1=DA=D5=CD=C5=C5=D4=D3=D1, =C9=CD=D1 /dev/my =D7=DA=D1=D4=CF =D0=D2=CF= =C9=DA=D7=CF=CC=D8=CE=CF, =D7=CF=DA=CD=CF=D6=CE=D9=C5 =D3=CF=D7=D0=C1=C4=C5= =CE=C9=D1 =D3=CC=D5=DE=C1=CA=CE=D9. --=20 ldv --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkfqcUMACgkQfKvmrJ41Nh6FhACaAzFHSzxUr1cBviTkgarw0w5K kUIAnjGvp03Jvg0ysvUumDk1p8KG2ORF =z2LX -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD--