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, 9 Dec 2022 22:27:50 +0100 Message-ID: <10dd0460-2e28-5f59-ea16-5350ea3b2660@secure.kjonigsen.net> References: <193feaf6-286d-64f5-a4ae-a5214ce51698@secure.kjonigsen.net> Reply-To: jostein@kjonigsen.net Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32063"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 To: THall , "Ergus via Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 09 22:28:57 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 1p3kvP-00089F-Bs for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Dec 2022 22:28:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3kuW-00076Z-Kp; Fri, 09 Dec 2022 16:28:00 -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 1p3kuU-00075q-Iv for emacs-devel@gnu.org; Fri, 09 Dec 2022 16:27:58 -0500 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3kuS-0008MD-E2 for emacs-devel@gnu.org; Fri, 09 Dec 2022 16:27:58 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A9510320069B; Fri, 9 Dec 2022 16:27:54 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 09 Dec 2022 16:27:54 -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:reply-to:sender :subject:subject:to:to; s=fm1; t=1670621274; x=1670707674; bh=pD bfSNX7XOU8YQMFuvWuIpSLDA4Hs+N1QRL+axqFDa0=; b=RbwO44kOKU80E9bt1s +3IeaoJVKtTM9Kbm3o9lOjeypOxzhHi8pfpHVSg14WarEMEfExMe3IiqUoFeLQMZ GOpCMlbN4zO1kFhomaX7lk8/CeEYE5JlpQT+SHuzlKVJ9+Mq7IDoAyYyQJ1h2JRw FqWDri3zISyBmFXtyB6SZJsSuG3NWkZCpWaLzWtyUrgaDuTjlbUpNsdNFoc3R2Lt vxWGmPUlQ/bHOVTyFXvDBkmK8E1ajO1qmUaL7NTrHkIMVh98FTN0b4J7eeuXXNQh wk+9ThJFUPkWrg3W6Ros67PVHvY66COr8eqj7FXUvX0O1RisJT89yakdbLWK2zKS 0gWA== 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 :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=1670621274; x= 1670707674; bh=pDbfSNX7XOU8YQMFuvWuIpSLDA4Hs+N1QRL+axqFDa0=; b=e rl2LbXf3iAxKM6//RrkIVbFxHAMN/IxsaovWu4gMC2+sySI1umNTc+UJgVgD93wW NGiGwadH2vOMmMMgua/pCOLe7EObBBJUV0aB9s2nwhiv/h/yoOyAjUMGypDD/aVo JY8H0KZa71fXZ4HHNBvuF0u96Q5BRYfxcYq2M4JnhpeBqjBAwJq0g2TyHfLAN0iF daV/F69Qbl6x7peIPaUF+O0VWspgwU7KXDWPxGk02Oj0TPjSusjHOVK+kC65sxlH kgQfjtg3TGVyUxI2B5tNa8vsOwb1LVkCuh9kdQyElnGFq9KfUkaGqVIrMWHcudMR KJNGTSABIA28vO3Cux0cQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvgddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfrhfuhffvfhgjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhs thgvihhnucfmjhppnhhighhsvghnuceojhhoshhtvghinhesshgvtghurhgvrdhkjhhonh highhsvghnrdhnvghtqeenucggtffrrghtthgvrhhnpeehgedvieevtefhteejveffhfeh tdegteevheehvdefffehvdelveetjeeikefhvdenucffohhmrghinhepghhithhhuhgsrd gtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep jhhoshhtvghinhesshgvtghurhgvrdhkjhhonhhighhsvghnrdhnvght X-ME-Proxy: Feedback-ID: ib2f84088:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 9 Dec 2022 16:27:53 -0500 (EST) Content-Language: nb-NO In-Reply-To: <193feaf6-286d-64f5-a4ae-a5214ce51698@secure.kjonigsen.net> Received-SPF: pass client-ip=64.147.123.19; envelope-from=jostein@secure.kjonigsen.net; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.288, RCVD_IN_DNSWL_LOW=-0.7, 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:301088 Archived-At: On 09.12.2022 19:03, Jostein Kjønigsen wrote: > I've been testing a little more and this is clearly something which > happens with a very specific set of launch parameters. > > 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 it launches fine. > > That is, so far this is the only code I know which can reproduce this > error: > > https://github.com/emacs-lsp/lsp-mode/blob/e56da7199c09e44f4b5feaf07691d467c01da376/clients/lsp-csharp.el#L335-L362 > > > -- > Jostein > I've just tested moving my setup to eglot, and ran into issues getting typescript-language-server working, but it complained about not being able to find tsserver. As a means to try to resolve those, I created a shell-script in $HOME/bin, which looks pretty much like this: #!/bin/sh cd server-dir ./typescript-language-server $* When launching eglot and using this as a language-server instead, I get the same error. Activating edbug-on-error does not trigger the emacs debugger, but still fails the same way. -- Jostein