Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02olkn2035.outbound.protection.outlook.com [40.92.43.35]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 0BB66780230 for <~alpine/users@lists.alpinelinux.org>; Thu, 18 Aug 2022 12:33:06 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cZeNpDtYll1oIfcBjR0Ze7eaVzwafxRCIYrledcBOcWudVhgv7+IbLUHmO7erFY/EZm1KUgVJDReHnmdFEQ2DBsHRSkTC5h/9QH+yoVRZUdYHPucuOqZXUv3draFfesiWI+/38W94qn4Wwn+YF+GpS7k2el7rIE5kgUu8MsZIn2ViXnSAOwvwoqtgzXvpFkL/yyVu5e6NswWeVZki/GT2MyS+V01Yx2ZNUwTu9POtQWZ4zmC+FF9hsXjBDC3g3z1B9DGn9yn/qkmc9AEHlQ9in212nOgl/b9Bcm82owdzDW0riVGZ3zizHBX9T3j97v8rBVxO6KXL46Q+jD2wTAuJA== 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=40rjTb3QoF/GMv2Ocx9EZTxhBHTXKKFMHkDf8Z5Nq58=; b=m56am9sFagOejaPXQ5CGGXXM1ONqgx0zPZ7vAhqrTCB8gNf0XEKmSaVsscfRZQR7FJZ4uMD9NYeWLNnRQNqKbQZGtf9F4a0Xd7Cn9WSiyAplsFD90wRsyACQt+G/GGJkVE0MwQ49ZyFoaqwGWba+ZuD0fMZRtaV/FQibjn0wMI7cALJnh0sR50M6cqDwkunPmJwaU5kmAIiBJEjh72Kw/ubx8NsEAdF9Th+6VuVnzM9EAbc83uHPhydBHVLL62SB1G8aFHT34Ram1pN5AHUUykYTUMs7t3dKDAOx1cDqndmhjdevEvtI99v18p4zFu5Anug70h8hVBYlQFuPQWhfgA== 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=40rjTb3QoF/GMv2Ocx9EZTxhBHTXKKFMHkDf8Z5Nq58=; b=QbgtQ14rVCisKmiwY0ZiSnxwRqkDARtRYxzKgHNsbHQ3zrO7WJ0AckDl3+6Z4++PyLkpyc4gHbROzkYfoSyLl551d3BzgqI2jHI7siCQgUXYqLglLgiIps970mBPIU70h7OCKuuRt3bWAn/DDI48LAGKwC6MSaflk9gkNkMhZjUYySR8RX2QMRY6RWpJsnk9u/+zrWa+JVrFRQC22YSXgrL8NOlOw288t1Qit1WN7LgeA3BjlYTUbT5Ek2gZ9T1Fi+eBxj6u3UOZaS9PdcSYizvKDGqz6ElUk0c4iL+GCiHRyTa5vNV+O6RiptcHldeYR6oigBXr6ME1yOveL3Ohhw== Received: from BYAPR05MB6373.namprd05.prod.outlook.com (2603:10b6:a03:f2::26) by BL0PR05MB4929.namprd05.prod.outlook.com (2603:10b6:208:2b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.15; Thu, 18 Aug 2022 12:33:02 +0000 Received: from BYAPR05MB6373.namprd05.prod.outlook.com ([fe80::d79:25a4:8ca0:b288]) by BYAPR05MB6373.namprd05.prod.outlook.com ([fe80::d79:25a4:8ca0:b288%5]) with mapi id 15.20.5566.004; Thu, 18 Aug 2022 12:33:02 +0000 From: =?iso-8859-1?Q?Ra=FAl_Rodr=EDguez_Mac=EDas?= To: Paul Zillmann , "~alpine/users@lists.alpinelinux.org" <~alpine/users@lists.alpinelinux.org> Subject: Re: About running Debian packages in Alpine Linux Thread-Topic: About running Debian packages in Alpine Linux Thread-Index: AQHYsnixeLWSMEdU60C+8kgAQa3H2K20VYUAgABC0gc= Date: Thu, 18 Aug 2022 12:33:02 +0000 Message-ID: References: <6c93fcb9-eb2b-07c7-6708-8fd63adcb953@h6g.de> In-Reply-To: <6c93fcb9-eb2b-07c7-6708-8fd63adcb953@h6g.de> Accept-Language: es-MX, en-US Content-Language: es-MX X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [xNd9u4uI77A0pGCUuc7O0noE6ArwhX5+] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7aca7a89-4b73-415a-6376-08da8115caeb x-ms-traffictypediagnostic: BL0PR05MB4929:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H88NZGoW+UD2sYTq4+KpFvcZ0V9fQb6xhqj0Z4Rs9gT3vGSGBYKcQfnn/GGnFdaNNFqxvTvPvqiFxfIQOiqyiqhP3q6DRrA0vIItB48/bp8q3FASkZ+YNsFlQQJi/PNgCG+zyXyW5yTBDoIsAw0YJI0F2yx3VU7U/7Y+g5jKcebnjWnHsfsUNqYerkUW+VP/vF8NaUfESTBW2ox4kywFVDzsML1WLoDofHaAc0l/TSKincWxMfGC7oXwVqehrOBCG0J4S6fINaB9hxMH5a8B3Abmdu6sZi2TXwdZTUtWeBY6cLz5VWMIMxF4qmZr5aDbM50PZuKfNKJA+3QvH67jK5QxxiJ0Ed2p5+ozoGv83pYy0folCXi8dYGmu+oSTQYh5HnRApeTjCegXeTwOFxJTtjt/majeLmhRQZw3mLXozHBwadMp4TaaeWg6aX52bI6JuEVaOay1mq79xly4AGh7FSjFU6NzpGSn3FKF8QqcY25DxhE+o3e5GS4q0rrZQjcqvYYtZz6hKbZ0FqCKO/+uURmgJ3lVkw0DmgQz4UkRWlRtJhN07c+D5pTVYWgWWMWCR97Mu1fwdhvkVMZT0DwsE0OKj1AkAgzw9HO2MdCFiWYYXxk6ZC0NMpyAinNYqnTsd0OVrnjyGBSCE/i81jbaY/U/ygcnq10zOgvToxo8Q97+7Fl0gKWgpkSyNuggE28 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Hn5Yn1R/tsX8nOw2UrVIlAh8ONOLTZ4wij5WJulY3iu74731oZJoRIiGhr?= =?iso-8859-1?Q?o4ESZMUO+uXau/M/8Z/O+teY0PnKRqHVjZpnczQT+WLvNjBYrIlg+njOZR?= =?iso-8859-1?Q?RNrbVE+NQy9rElmo/61GpBSjdxybY2J0T6LgCuatNZVS8cZ0Tr+OiqmEeu?= =?iso-8859-1?Q?t+BvLPicGYoTKzFRi4zuVyINX2eRW3oVW4u4We+hOCpJdd7G/B6+KqOgEr?= =?iso-8859-1?Q?umpJVq0bebrxjGIKRy+gLbzv6FsnAvXuV4jafleM6bCWSTufm7Cb91hOV+?= =?iso-8859-1?Q?FgjOuTUPkuQCAeyw8gycJ2ktfvZ0+H7UOlvx8yNzYN2K6ufRTaZ73jsu1s?= =?iso-8859-1?Q?wb1px3RZN+abdWzg4DE2wCODYePcJeN3vYo0/Zn8OJzmeWK/r7CkVIPKbK?= =?iso-8859-1?Q?I3CRLlQlqIPhxnb7YxdeliaYJQHeoYVPV5bplPddqGK2tDCTb3R8KrH/yV?= =?iso-8859-1?Q?yCYSqfQ7IE9jTEXdYswcWNQm7UA13mwR5pL5pVkimLAiSOKEKNB99OlHMM?= =?iso-8859-1?Q?l3V1FZK6AZMeDG2YItKFUzcbEuKWlwioAo5s3qdskUz5fYR66m/mU+hBmp?= =?iso-8859-1?Q?GhAWSx+XttdcFT7/cl0jWQdZdWwOMMUeqUJ85bhADE81twTOx1JPPHFXma?= =?iso-8859-1?Q?rVKfQ6ZChA4qnjZtyi1d1qz8fNLiPhiLKa4rPUyo3SI8ViFFqfuJGaQFqi?= =?iso-8859-1?Q?gvQ30XTsBEQndatRIhWh77t2PX2N/RZDFJQNkm7yXKIcgqvr+gJ30kdPs1?= =?iso-8859-1?Q?Oe956Sj5R4VEOTnNj6AVUHuj8ssUR/WK2MdDaRiw1Fe7XR9bexNVrBWKCG?= =?iso-8859-1?Q?trEfl5Kj9/ZBMlXOPWYa/5BGxaAg1PEKq0lTu08MdOwOfOwddYoVHQyHOf?= =?iso-8859-1?Q?hBvy0+L6UYOyoDpQT+J6A0RatbfyJdpgNfcEQkP518EedWdYNVGi05SoEy?= =?iso-8859-1?Q?kuy6sdxvu8eAnusYIKcrUdsujl+N1qwPuUSdM3wVmH8qZPd45AXcwWLPif?= =?iso-8859-1?Q?pnNJQS6PiR5dl2hH3F91jqfa2wqb285loXAx0mJLaeMtt2v5AlMpYot9yu?= =?iso-8859-1?Q?9hRyTU/ohchA0/3fMoZiZRS456KysxnODJaKUTXX26d4OmgI5XfPkwrR5Z?= =?iso-8859-1?Q?FM0VYB6dgDG99yMfK/2lDySIb0/2jSYwj5Xn3Kls17E1X+PuS8pkAHlc/3?= =?iso-8859-1?Q?I8hjyVj7MRlc0AnIt8W774O7mnMswzzUZ8WeVIiIvNmKm06v+1hS/HfMqa?= =?iso-8859-1?Q?NzmIQCi8aertdDn4akLeqsDVGWgRyj5RAPXMq4zZ7KcsByBAzZMfIINpSM?= =?iso-8859-1?Q?OBaLVGv/0/IE7rvqCd+PrmBqoda9kNJbya5kzZtLkQ4Sz2o=3D?= Content-Type: multipart/alternative; boundary="_000_BYAPR05MB63734911F47CA72694EEE9F6F76D9BYAPR05MB6373namp_" 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: 7aca7a89-4b73-415a-6376-08da8115caeb X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Aug 2022 12:33:02.4754 (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: BL0PR05MB4929 --_000_BYAPR05MB63734911F47CA72694EEE9F6F76D9BYAPR05MB6373namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Obtener Outlook para Android ________________________________ From: Paul Zillmann Sent: Thursday, August 18, 2022 3:33:46 AM To: Ra=FAl Rodr=EDguez Mac=EDas ; ~alpine/users@list= s.alpinelinux.org <~alpine/users@lists.alpinelinux.org> Subject: Re: About running Debian packages in Alpine Linux Hello Ra=FAl, Am 17.08.22 um 22:59 schrieb Ra=FAl Rodr=EDguez Mac=EDas: 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. This is because you need to set up a chroot in the directory /var/chroots/d= ebian first - then you will be able to use /sbin. Out of curiosity, what Debian package do you want to install on Alpine? I'm sure there is a better way to do this. - Paul 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_BYAPR05MB63734911F47CA72694EEE9F6F76D9BYAPR05MB6373namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi

From: Paul Zillmann <p.z= illmann@h6g.de>
Sent: Thursday, August 18, 2022 3:33:46 AM
To: Ra=FAl Rodr=EDguez Mac=EDas <raul.1952@outlook.com>; ~alpi= ne/users@lists.alpinelinux.org <~alpine/users@lists.alpinelinux.org><= br> Subject: Re: About running Debian packages in Alpine Linux
 
Hello Ra=FAl,

Am 17.08.22 um 22:59 schrieb Ra=FAl Rodr= =EDguez Mac=EDas:

Hi team:

 

I need to install a Debian pa= ckage in Alpine Linux, and I follow the instructions in your wiki (https://wiki.alpinelinux.org/wiki/Running_glibc_program= s), but something I-m doing is probably wrong.

 

When I follow the instruction= s:

 

mkdir -p /lib64

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

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

/var/chroots/debian/sbin/ldco= nfig

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


This is because you need to set up a chroot in the directory /var/chroots/d= ebian first - then you will be able to use /sbin.

Out of curiosity, what Debian package do you want to install on Alpine?
I'm sure there is a better way to do this.

- Paul

 

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, yo= u will need to relax chroot limitations:

 

sudo apk add debootstrap

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

mkdir ~/chroot

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

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

sudo chroot ~/chroot /bin/bas= h

 

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

 

Any help will be appreciated<= /span>

 

Ra=FAl

 

 

 



--_000_BYAPR05MB63734911F47CA72694EEE9F6F76D9BYAPR05MB6373namp_--