From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#29287: tramp-test25-file-selinux fails Date: Tue, 14 Nov 2017 10:25:42 +0100 Message-ID: <87375hi549.fsf@gmx.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510651577 14341 195.159.176.226 (14 Nov 2017 09:26:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Nov 2017 09:26:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29287@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 14 10:26:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEXTv-0003Oi-7p for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Nov 2017 10:26:11 +0100 Original-Received: from localhost ([::1]:58460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEXU2-0000Pi-GB for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Nov 2017 04:26:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEXTr-0000Pa-RK for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 04:26:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEXTo-0000U8-Gg for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 04:26:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eEXTo-0000TZ-CJ for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 04:26:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eEXTm-0007UZ-Ff for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2017 04:26:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Nov 2017 09:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29287 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29287-submit@debbugs.gnu.org id=B29287.151065155528786 (code B ref 29287); Tue, 14 Nov 2017 09:26:02 +0000 Original-Received: (at 29287) by debbugs.gnu.org; 14 Nov 2017 09:25:55 +0000 Original-Received: from localhost ([127.0.0.1]:39330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEXTf-0007UE-0O for submit@debbugs.gnu.org; Tue, 14 Nov 2017 04:25:55 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:49786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEXTb-0007Ty-3e for 29287@debbugs.gnu.org; Tue, 14 Nov 2017 04:25:51 -0500 Original-Received: from detlef.gmx.de ([212.86.45.29]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MaW7Z-1eUI8s2Ffl-00KBqe; Tue, 14 Nov 2017 10:25:43 +0100 In-Reply-To: (Glenn Morris's message of "Mon, 13 Nov 2017 15:09:17 -0500") X-Provags-ID: V03:K0:nL4W8hdW1DaE6WgP7TMHdNBHkYd8mcCCkWQ6MkK6Vcj4UTes3PW orSg0PMG+ouoj7WIjHPlDx12HSmBxYr1vZvgV++dcUkunQ0bEwqukKitYS5t0wX351kH8Af snNnwa2xbW02PiWmX3NtTU3gpbac44ph0q2PlAQ4WgRPNCI65OMa92ST6sJlUiX5h6nyW+9 yZyGKOHCv7VCENaCcgzjA== X-UI-Out-Filterresults: notjunk:1;V01:K0:uFpKaucl5WQ=:9bZVD2z8XH9Kuyh7GKt+Xw A1i/IgPr2relOZ6EST+LKP51vkXfKzuSliPlgqsE2bUhKXHprDtnWugL02PFXiKZ3CET01vYs dzmpi4+seM0siyfMT/BbZ0wrgEhTuLwJSDsSp9VFADkczcCasmJAAfbeQo21Gel2i72gy0gl9 G1XUVkfu6D/v5hNajiCDJN7GEYdbCMlKCgAqN76pGWUCLJQSpbxpvookfM3NZM80z+HIXH5S4 Bn9hWWkUgDac7Um+An49jKgcwLgTTGT8fmgyB2KlMtBfZctLPTJUrfx6/+vVYK1u5i5Gu1L9I HNSMalyb7F58hhbvGnQ2bsujxgFAIkqAX1fKxaDSSKvsc2VrHwy28pRgQKZ0XHpGOnphxlPjp aof2ZFBqe/Gq6M7xMLFHP/336SFliogZsXRbjEMj7+LNmn9tDVPlTcT7Uf6AFHQVHISVJzwfS yUTuyu9m97Pm9cWCue/6cOKHpGGQGRoeYjsbXdkR1kQ7EOWIdpA5ng/N0bM6Mq8g/Nsfjbti5 TDMNLTbs8gCahybRbjQmNSfWmsI0S6A8A+Uk4ON8pogiGzGK/aUyH4xT5cSHImgxXabeC+QfD nDM2endNzD9oar9R7Lj93SwYG24M4L6EV1FrRRaivfbJQM9hmHFeJDPlhzTLc1pr5EjrSFntz ZkWYEkxWe8zRYYYBOsySgFmA6Az8H9e6Wp6FmgsXknDA97GJwGQNpDr9Y7i7CzNTGmBAprjB2 5qQIenCKzLYbbGzEhdJoCLMNXFXBh7dgggLCvnHja40NCvuKszXB9YLyzsEutVgISRnLAFGN X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139875 Archived-At: Glenn Morris writes: > Perhaps you could use something (file-selinux-context "/") for a value > that is guaranteed to exist and be different from a temp file. > Though I don't know if users can always set a random file's context to > root_t (it works here). I've used another approach, hoping it is generic enough. Could you, pls, check whether my patch (committed to the emacs-26 branch) works for you? Thanks, and best regards, Michael.