From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10olkn2056.outbound.protection.outlook.com [40.92.40.56]) by sourceware.org (Postfix) with ESMTPS id EE8803858423 for ; Tue, 1 Mar 2022 19:16:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EE8803858423 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cGsnsnX1iwQnROuB9XCawVBZDvAQ0VYblBbIBmC4jioryeZaczOVLX4K4NQWmFcK0v5XDW9GZ1M58BnKgkoHKOU7EOh04rDiMgp9nja47MV38OZ0Yh9GpTCrJSD0tQJ7Hslsta5VZHrlUQhKwwu82IayT32wyMtfESJxZZV5Wb36GY7UD4DXeellJjTZE/sigpEPGRZ/1Ej92laDQWrLH6rDRaAbSqnGUgKbZJpvZ7F3g72A7ww6YJszb2jh98J7PC66ebJMZutV14N7yTYlRhGwnczzgTYCwLZnc8GDju1mQFACtj66Lue02x0oyueurmD04mE48Za7RfEWYFGDWw== 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=iJdC66byNC6st0TQdkQrEien7VkvFQG2bKNnHR3wkZo=; b=fAJ6hd4ME74ECvrcMiV8u5jtCSCtM6AP7HnhoxY+2lNORjrhfq1czsjETxAASPmYqxIxIb5+VTHMZVUiraKGL2qrneFZXPLWRz9Ki+1+bntqzDJWYoDNMkUsXCcjaEhLuaEfpW2UsbsYRatmJlRrJnfvdNfCWs7K5v2UyjT/6ZMif1/3R6+uZGxkGvx9Uq9duCEWHo8e+/Zwj1PTWl4ZX/SXeKN2mHvYbVV8gVNuh0L6DCVyaQgEDoqZ/l3iUTpEZXqXrqrpkh5bjl0k9vJ+VYx1hYG5FPdJ58ZGKGdqFZ2Rg45cIj+fzSxj8/Hb/3ZJIKHTJxNa8sY9KxzIWAjgWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM5PR06MB3082.namprd06.prod.outlook.com (2603:10b6:4:40::10) by CH2PR06MB6568.namprd06.prod.outlook.com (2603:10b6:610:87::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22; Tue, 1 Mar 2022 19:16:20 +0000 Received: from DM5PR06MB3082.namprd06.prod.outlook.com ([fe80::497c:5fe9:ed39:ab15]) by DM5PR06MB3082.namprd06.prod.outlook.com ([fe80::497c:5fe9:ed39:ab15%6]) with mapi id 15.20.5017.027; Tue, 1 Mar 2022 19:16:20 +0000 From: John Lumby To: libc help Subject: resolv/tst-resolv-res_init fails with unshare (CLONE_NEWUTS) failed: Operation not permitted Thread-Topic: resolv/tst-resolv-res_init fails with unshare (CLONE_NEWUTS) failed: Operation not permitted Thread-Index: AQHYLZ9vr/YAkUovaUe2SmYNXsNfIg== Date: Tue, 1 Mar 2022 19:16:20 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: c556ab82-fd27-221b-de00-de840b0baee7 x-tmn: [Q0Tk+q4EnYnAkHrk9WguJkQ5FH7RBtDZ] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 154d3f76-40e0-4739-602c-08d9fbb7f80b x-ms-traffictypediagnostic: CH2PR06MB6568:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 98jncj/iQ5osmNFK1jSirsZlVZtlduXDk9k2oKfsplMfBrLSng+yKGtSsMu3HDcY62L+K7PJMJaXlMfmbf+Wjip2TCkEnd2f09J0i7NRkV/QRXuYiu8v9pgMfLcpAcJLpcGvrijnenxbbWderKYX2/ts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/NGpTNdoGgLNByc9V/5ueYB0M2PkTERl7Zh6YmHihnQIcJXIj7HC17PD7uoHaassL9Uf2OOkrDPznNapTblEutDx28BeWhpp3/QkrFBz+hKososlfYEOhAW3l2mNgsHWA3XZXbzUqkjhJyZ6jjhOpLr65okYENfkjMdA9rDZHQ+mFQHZYqSwLfoaIkqFkKxcliagOeOVH72Y9RVAVDM+wWOULCFbYVN39vtDU5I9Z2anOn8rUqN5y04kP5iyJfuDN4A4/FSyP31hQdt8q3tnHaZN9ANsZ8h6wZ9qfLj9X9+ZWvHmtsfHJQO+TkmZiLIiYx6UMnO5/H35PcFwGFiCnTTazbYU5p7Cik9xYtG09d+et0YRpuEeBsoz54QAoyPNcRwaCvC3BWv Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-89723.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR06MB3082.namprd06.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 154d3f76-40e0-4739-602c-08d9fbb7f80b X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2022 19:16:20.8092 (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: CH2PR06MB6568 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2022 19:16:23 -0000 Apologies if this has been answered elsewhere.=0A= =0A= under linux-5.16.9 I am building and testing glibc-2.35 and get one FAIL in= the test suite : glibc-build/resolv/tst-resolv-res_init.out contains := =0A= =0A= warning: could not become root outside namespace (Operation not permitted)= =0A= warning: unshare (CLONE_NEWUTS) failed: Operation not permitted=0A= warning: could not enter network namespace=0A= =0A= I think the cause if that is this code in support/support_become_root.c=0A= =0A= unshare (CLONE_NEWUSER | CLONE_NEWNS)=0A= =0A= is getting EPERM.=0A= =0A= After reading the man page for unshare() I am none the wiser about whether = :=0A= . the userid running the test is missing some capability that is need= ed in order to run the test - if so , what?=0A= . there is some environmental problem - if so , how can I find o= ut what?=0A= . or is this test supposed to be run by root? (I think not but unclear= )=0A= =0A= I am sure the answer is buried somewhere in some doc but if anyone can help= me get there I would be grateful.=0A= =0A= Cheers, John Lumby=0A=