Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11olkn2010.outbound.protection.outlook.com [40.92.20.10]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id A3D08780106 for <~alpine/users@lists.alpinelinux.org>; Wed, 17 Aug 2022 20:59:06 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O21I6Eaj5W7eDRdYCTqcZyE/1EiIaC3lOBRvNZSASp3bsfxQyoGqqc9EOPUpp2AceW5CJFnr6m2qQU1v1W976Lf3aoOWDNlgklOiSrTNcZZosEAur72FMQiOMTLOPtpJTiwhc4X9AHpDo1gVbGn/FhtU7KSCKjewIANqKzUG8t74Xbh46nr6cdz81WLrvp6GIr8L0RA5omt5TxAnVsPTZ+TkwbBjCCuEWa5HlCzm/Z6b7k6eDVUtwU3Kf0LFNKmzgx7ih55k1gO4tn3C9oOxQaOaB7wmkLQk9cbxeQJ4sBnwZm9O0ScPuGil5i5dJL2Nt/XUgAGZhpSEUncz4TdjWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BPpodWA5NRVcryAbNbDf0o16IcxmZsejo6socAqzftA=; b=eqeaRuZmgqjFbSY+8aArKjL5LVHwwa/EmGfDVWW++vICKETkjW6C8POXP2WgkvyJrpulStZCyZA+RKwIEQTBOPEVKfg7wQpRscB7Tmi3nONRP2LIPR1N20JPc6w+pn0r+dbbTX4SGU3PShttUe1tesvCDk1ZF/zOoL/P6KZtlkC1w6wpoUXALCKPpJgWP8vcEC9lSx7WEyXcguFpmUjsTDR+2qg7gjcYGGIzSRw2wC7XZy+9DwQipCBQIa6i46vtq/Cay6PYv5Ep4Ek+3MqY6zLk7vbwyoS5eqEx3j/4zGdQIKp6l8XcchEONQLEGrhHHF/CMrJyiFy6tBxgdDc74g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BPpodWA5NRVcryAbNbDf0o16IcxmZsejo6socAqzftA=; b=WRu1KsMk1LfwjCnKBeXvP3YCnknwNiW+cc1bDnuKdvuPkdjExotu0mJkMtIkSgRcGgyvKUGKV31ED8CEXPaqoxYsGfdRbBdJ1SU8ZPPH9TAClq4P4j9Xil6XcXWa+hN2D60wL+VP0riHqx2BWoJ5HUX11hBx3sjBKADyjocTrnEYGx3i6O5fmn/VYlLKOeBXeNWoQ/1BFNm0bUrPgXnCv76P1TdHGW7LqcU1W3w29tn6aF0Sf+wm90UYpmwvJVhKvRitYwxk1u3gKAspxvKAeAWNrGrpOqhkb7sMyQWNG8VUkkX/7G+1GeTTE6pEUuqijX+uZQ2ABSL1xEBBDMCHvQ== Received: from BYAPR05MB6373.namprd05.prod.outlook.com (2603:10b6:a03:f2::26) by DM6PR05MB4540.namprd05.prod.outlook.com (2603:10b6:5:95::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.4; Wed, 17 Aug 2022 20:59:04 +0000 Received: from BYAPR05MB6373.namprd05.prod.outlook.com ([fe80::1877:eb32:456f:acb]) by BYAPR05MB6373.namprd05.prod.outlook.com ([fe80::1877:eb32:456f:acb%5]) with mapi id 15.20.5504.014; Wed, 17 Aug 2022 20:59:04 +0000 From: =?iso-8859-1?Q?Ra=FAl_Rodr=EDguez_Mac=EDas?= To: "~alpine/users@lists.alpinelinux.org" <~alpine/users@lists.alpinelinux.org> Subject: About running Debian packages in Alpine Linux Thread-Topic: About running Debian packages in Alpine Linux Thread-Index: AQHYsnixeLWSMEdU60C+8kgAQa3H2A== Date: Wed, 17 Aug 2022 20:59:04 +0000 Message-ID: Accept-Language: es-MX, en-US Content-Language: es-MX X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [0n5Rk35uwYaFR15LneWkQRsm36R0VFg4] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9d14063f-1987-4a0d-843d-08da809351a1 x-ms-traffictypediagnostic: DM6PR05MB4540:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mIR1lUr2skRyy+VPPcXq/ikVxMNGQho+klHkII1xy2/wQRFNYwsmw6/Cn6Pq5AOI15Fld7vkScXA0gfYx5IygtXtIxoABCQXqCSmvs/XcsyaUALTcmoX6KkZG1vqNCX6WPXGfI2KOcYKkcBjAeiFrOuYxfN171FyIxjJSzxA4E9e4fhG2iKen1ynDh8Vw4hjOle9KN9w4AHbvyogAv3IogGwE+ZC4qzEOTOrT2XSIZvqbvEF2SscW/giCEvTRUSJ5uxa7OEKgalDRzeKfvX6i2l8GS4o4mpBfghnURPeD85ZmPj9nNRyRfOcULgYwLGTpdSCyKGblal0xltHG7+u6I0ypk9xWCrToMXofncUsmDlq7Jd+ng1LqsDhRdV7S/XMR99cOMCm/Qo9SQFYB7zqG7gqMbmoB7MYZu/jrfSNdAiqIrLyg5pjjo0x8gVzMbus4BWxDFLNwPAo+ZOqEebrTw6G8qh747uiK5ddJBCljBtfyj1PeXWMF4RNBSoYRBFqq5Csbjw8Re8g42rdl2YGWq3xT7vcRHc1rSrHDzNkQgZqwvmsqSAhlRVwH8QHFd4gvapi7mufxkVUMRli6bn7C8Y8XcWJfKMIuqEZK38ROeIdjNJIe6yU28kQACcluJf x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Fbh5ETAVOBA4rSUzNy6KBQ8tA3WW0Wo3tQ77YsPNfNGsdvSuNl8urCmAnb?= =?iso-8859-1?Q?j7WzAo/Lo67e5zDMsuHA0Tp5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1+FiVG?= =?iso-8859-1?Q?j3fl3SSQc85fAvkBVjVtXtebr0sHZY8AKTULoSLoICfDSmSyXVdmQHcjwT?= =?iso-8859-1?Q?iZUQsU7wFkT4o3owGiqq9/13GHkHHfiv8shjlq682AI4bJDB2gC/r5Lm+/?= =?iso-8859-1?Q?qBBNDDHlB17xvH37JGxZu2lD7I9kabGF1205nC1tFXGtUZbvDfkdAUdPrq?= =?iso-8859-1?Q?gGf/mhn79wovWARG+qNDDpx5mMTqofaMrfx3ixzxBzJkSoH4+FANkdftTh?= =?iso-8859-1?Q?kaJcNFBaI40bmmv6Da1p6iNhLodwUVR8DseIJqn5yoHbXANV6dyoMmuWEl?= =?iso-8859-1?Q?WTGVT5+b08367AmTRgy4iHjwTAzeilufG4wouvlDtKAUZkutXtwUiH1VRK?= =?iso-8859-1?Q?BzcEgMpA+S8DGFRyp1HVvO37x1q/m1Rc3fb5uIse7gNjzkg=3D?= Content-Type: multipart/alternative; boundary="_000_BYAPR05MB63739EF5F6F02A0456456EF9F76A9BYAPR05MB6373namp_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR05MB6373.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 9d14063f-1987-4a0d-843d-08da809351a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2022 20:59:04.3809 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4540 --_000_BYAPR05MB63739EF5F6F02A0456456EF9F76A9BYAPR05MB6373namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi team: I need to install a Debian package in Alpine Linux, and I follow the instru= ctions in your wiki (https://wiki.alpinelinux.org/wiki/Running_glibc_progra= ms), but something I-m doing is probably wrong. When I follow the instructions: mkdir -p /lib64 ln -s /var/chroots/debian/lib/x86_64-linux-gnu/ld-2.33.so /lib64 printf '/var/chroots/debian/lib/x86_64-linux/gnu\n/var/chroots/debian/usr/l= ib/x86_64-linux-gnu\n' > /etc/ld.so.conf /var/chroots/debian/sbin/ldconfig The directory /var/chroots/debian/sbin didn't appear, so I can't run ldconf= ig. And for the final part: Debian Use the provided debootstrap package to create the Debian chroot. --arch is= optional, depending of your needs. On the linux-grsec kernel, you will need to relax chroot limitations: sudo apk add debootstrap for i in /proc/sys/kernel/grsecurity/chroot_*; do echo 0 | sudo tee $i; don= e mkdir ~/chroot sudo debootstrap --arch=3Di386 wheezy ~/chroot http://http.debian.net/debia= n/ for i in /proc/sys/kernel/grsecurity/chroot_*; do echo 1 | sudo tee $i; don= e sudo chroot ~/chroot /bin/bash I can't add the debootstrap, and the directory /proc/sys/kernel/grsecurity/= was not created. Any help will be appreciated Ra=FAl --_000_BYAPR05MB63739EF5F6F02A0456456EF9F76A9BYAPR05MB6373namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi team:

 

I need to install a Debian pack= age in Alpine Linux, and I follow the instructions in your wiki (https://wi= ki.alpinelinux.org/wiki/Running_glibc_programs), but something I-m doing is= probably wrong.

 

When I follow the instructions:=

 

mkdir -p /lib64

ln -s /var/chroots/debian/lib/x= 86_64-linux-gnu/ld-2.33.so /lib64

printf '/var/chroots/debian/lib= /x86_64-linux/gnu\n/var/chroots/debian/usr/lib/x86_64-linux-gnu\n' > /et= c/ld.so.conf

/var/chroots/debian/sbin/ldconf= ig

The directory /var/chroots/debi= an/sbin didn't appear, so I can't run ldconfig.

 

And for the final part:

 

Debian

Use the provided debootstrap pa= ckage to create the Debian chroot. --arch is optional, depending of your ne= eds.

 

On the linux-grsec kernel, you = will need to relax chroot limitations:

 

sudo apk add debootstrap

for i in /proc/sys/kernel/grsec= urity/chroot_*; do echo 0 | sudo tee $i; done

mkdir ~/chroot

sudo debootstrap --arch=3Di386 = wheezy ~/chroot http://http.debian.net/debian/

for i in /proc/sys/kernel/grsec= urity/chroot_*; do echo 1 | sudo tee $i; done

sudo chroot ~/chroot /bin/bash<= o:p>

 

I can't add the debootstrap, an= d the directory /proc/sys/kernel/grsecurity/ was not created.

 

Any help will be appreciated

 

Ra=FAl

 

 

 

--_000_BYAPR05MB63739EF5F6F02A0456456EF9F76A9BYAPR05MB6373namp_--