From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Jostein_Kj=C3=B8nigsen?= Newsgroups: gmane.emacs.devel Subject: Re: emacs-29: error creating external process - (permission-denied "Doing vfork" "Permission denied") Date: Fri, 16 Dec 2022 23:24:20 +0100 Message-ID: References: <10dd0460-2e28-5f59-ea16-5350ea3b2660@secure.kjonigsen.net> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16534"; mail-complaints-to="usenet@ciao.gmane.io" To: jostein@kjonigsen.net, "Ergus via Emacs development discussions." , THall Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 16 23:28:17 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p6JBf-000451-DM for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Dec 2022 23:28:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6J89-0008GR-VH; Fri, 16 Dec 2022 17:24:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6J87-0008Bh-L0 for emacs-devel@gnu.org; Fri, 16 Dec 2022 17:24:35 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6J85-0000rY-EO for emacs-devel@gnu.org; Fri, 16 Dec 2022 17:24:35 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5AB6F5C0098; Fri, 16 Dec 2022 17:24:32 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 16 Dec 2022 17:24:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= secure.kjonigsen.net; h=cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1671229472; x=1671315872; bh=vmaDnehcWf 632pBxBP25N5sBZWpRXpV5ZPfcMRN2alg=; b=nILgq+fdacp7ndHWDkY8TK57xv QHKpxFJUCOoiSPI7FNW+SrO53TN7xrKmzP9oSlz1MedpufPok45nwXqVKVuMh1eB V1zM0HJg3zyoKJd2vVXokochVqk3gVVjqYiKIl/3qRwXBVRmI9ytKi6zqHC98WfW fN3X7bQlX1pkKMqOCChb29SNQ4XFZSivZnwcrhmHaE5+9DshiHpoY6WPeihdzjBb QlAhtSePKC0+81CyBrLavRP3WWHfWEelr6vQAFIca1J8ItII3XEbha22b8724HzQ ll05B/sZz99JU1DqjVKfbSFs8EQqdHEmJ9M5btZLd0P/eGvNbicbG1rNEx+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1671229472; x=1671315872; bh=v maDnehcWf632pBxBP25N5sBZWpRXpV5ZPfcMRN2alg=; b=PWb0wu1ZgxjwIEjAc I1GRFGaHTMShX5/RYxuab+LDAZw/4Oi5bNI9+MujXqaNauujemjTnPdzuxTj3d6g Gh8mMxfuYz2ejh0rHMODwNHJExVoubC9BlQeuol+D/bIHt6pW3OSNl2wo5/l6AAm ftqpaM5LIKKPTf2idJ4pwoIfwmXOKbEn4bKxmGvYq2OFC6Yxp+zwGLhpl9CBQvgI qx5Xr92vwbH4S1Tc4GEUjD8C7rEjZoCM/rDOc1LZC7w6Dhs+VgymSgvXDGlBERdK /uu2AcnymSp4dtvAEbnPlOik6wCnFxWX+wv9pr/LdudpyU46aQfpCX5pu2VcCjVC 5xw9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfghfggufffkfhfjgfvofesthhqmhdthhdtjeenucfhrhhomheplfhoshht vghinhcumfhjpphnihhgshgvnhcuoehjohhsthgvihhnsehsvggtuhhrvgdrkhhjohhnih hgshgvnhdrnhgvtheqnecuggftrfgrthhtvghrnhepleevudefjeduleeludekffeuvedv hfeugeefueethfefieefgefhtefhueekudejnecuffhomhgrihhnpehkjhhnihhgshgvnh drnhgvthdpghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepjhhoshhtvghinhesshgvtghurhgvrdhkjhhonhhighhsvg hnrdhnvght X-ME-Proxy: Feedback-ID: ib2f84088:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 16 Dec 2022 17:24:31 -0500 (EST) In-Reply-To: <10dd0460-2e28-5f59-ea16-5350ea3b2660@secure.kjonigsen.net> X-Mailer: iPhone Mail (20C65) Received-SPF: pass client-ip=66.111.4.26; envelope-from=jostein@secure.kjonigsen.net; helo=out2-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301529 Archived-At: Just as a public FYI, this was an error in lsp-mode and not a fault/regressi= on in Emacs.=20 Please consider this case closed.=20 =E2=80=94 Jostein Kj=C3=B8nigsen https://jostein.kj=C3=B8nigsen.net > On 9 Dec 2022, at 22:33, Jostein Kj=C3=B8nigsen wrote: >=20 > =EF=BB=BFOn 09.12.2022 19:03, Jostein Kj=C3=B8nigsen wrote: >> I've been testing a little more and this is clearly something which happe= ns with a very specific set of launch parameters. >>=20 >> Case in point: lsp-mode works fine for all other language-protocol server= I use. Only omnisharp fails. But if I try to use omnisharp via eglot, then i= t launches fine. >>=20 >> That is, so far this is the only code I know which can reproduce this err= or: >>=20 >> https://github.com/emacs-lsp/lsp-mode/blob/e56da7199c09e44f4b5feaf07691d4= 67c01da376/clients/lsp-csharp.el#L335-L362=20 >>=20 >> --=20 >> Jostein >>=20 > I've just tested moving my setup to eglot, and ran into issues getting typ= escript-language-server working, but it complained about not being able to f= ind tsserver. >=20 > As a means to try to resolve those, I created a shell-script in $HOME/bin,= which looks pretty much like this: >=20 > #!/bin/sh > cd server-dir > ./typescript-language-server $* >=20 > When launching eglot and using this as a language-server instead, I get th= e same error. Activating edbug-on-error does not trigger the emacs debugger,= but still fails the same way. >=20 >=20 > -- > Jostein >=20