Received: (at 57853) by debbugs.gnu.org; 17 Sep 2022 12:04:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 17 08:04:14 2022 Received: from localhost ([127.0.0.1]:45314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oZWYP-0000vu-MA for submit <at> debbugs.gnu.org; Sat, 17 Sep 2022 08:04:14 -0400 Received: from mx1.riseup.net ([198.252.153.129]:39042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raingloom@HIDDEN>) id 1oZWYN-0000vd-0U; Sat, 17 Sep 2022 08:04:12 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4MV8jk2kJNzDsSJ; Sat, 17 Sep 2022 12:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1663416245; bh=JF8xrW57jdLegB6dAVeA2lrBVNfXSQ1lwbx940RKZzQ=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=Wz4cYloW1g5Yv4kE7aTAziOBIGvnG69MAlM649NH2psOM6VHA9MDJCwzLA7eNy0bZ ZFrHWTUmvjVHPOd7ycNJQ2oQdtcVEw0XJZB4wlOLpnrGoOus1PYmxGNWMZLUJ6HeHG NvZkjrmC/m6X2PcGuHXXrjDFzkgNvgh6UbXeMrL4= X-Riseup-User-ID: D9714680EC31D810D6A38F3EACE165B82F9CEC2A6EAB9D98A6C16E118F0E37DB Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4MV8jj4vyTz5vNB; Sat, 17 Sep 2022 12:03:53 +0000 (UTC) References: <87edwbk6te.fsf@HIDDEN> From: Csepp <raingloom@HIDDEN> To: Ricardo Wurmus <rekado@HIDDEN> Subject: Re: bug#57853: =?utf-8?Q?=E2=80=9Cinappropriate?= ioctl for =?utf-8?Q?device=E2=80=9D?= when running in RStudio Server Date: Sat, 17 Sep 2022 13:59:13 +0200 In-reply-to: <87edwbk6te.fsf@HIDDEN> Message-ID: <87k062yzq4.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 57853 Cc: control <at> debbugs.gnu.org, 57853 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) merge 57853 57095 thankyou (I hope this works.) Ricardo Wurmus <rekado@HIDDEN> writes: > When running =E2=80=9Cguix=E2=80=9D in RStudio Server the =E2=80=9Ctermin= al-window-size=E2=80=9D > procedure triggers an error. (You can ignore the cause of the error, > because I=E2=80=99m running this in a container where > /var/guix/profiles/per-user/rekado doesn=E2=80=99t exist.) > >> system("/bin/guix pull") > guix pull: error: while creating directory `/var/guix/profiles/per-user/r= ekado': Permission denied > hint: Backtrace: > 18 (primitive-load "/bin/guix") > In guix/ui.scm: > 2263:7 17 (run-guix . _) > 2226:10 16 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) > 1747:15 14 (with-exception-handler #<procedure 7f0945757510 at ic=E2=80= =A6> =E2=80=A6) > 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) > In guix/store.scm: > 656:37 12 (thunk) > In guix/status.scm: > 815:4 11 (call-with-status-report _ _) > In guix/store.scm: > 1318:3 10 (_) > 1295:8 9 (call-with-build-handler #<procedure 7f094576fd50 at g=E2=80= =A6> =E2=80=A6) > In guix/scripts/pull.scm: > 526:3 8 (_) > In guix/profiles.scm: > 2300:6 7 (ensure-profile-directory) > In ice-9/boot-9.scm: > 1685:16 6 (raise-exception _ #:continuable? _) > 1685:16 5 (raise-exception _ #:continuable? _) > In guix/ui.scm: > 827:16 4 (_ _) > 311:42 3 (display-hint "Please create the @file{/var/guix/profi=E2=80= =A6" =E2=80=A6) > In ice-9/boot-9.scm: > 1747:15 2 (with-exception-handler #<procedure 7f094576f2a0 at ic=E2=80= =A6> =E2=80=A6) > In guix/build/syscalls.scm: > 2287:35 1 (_) > 2276:8 0 (terminal-window-size _) > > guix/build/syscalls.scm:2276:8: In procedure terminal-window-size: > In procedure terminal-window-size: Inappropriate ioctl for device > > Here yousee that the call to terminal-window-size fails because the > RStudio Server IDE in the web browser is not a true TTY. > =E2=80=9Cterminal-window-size=E2=80=9D should fail gracefully. I think this is a duplicate of 57095.
bug-guix@HIDDEN
:bug#57853
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 16 Sep 2022 09:27:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 16 05:27:46 2022 Received: from localhost ([127.0.0.1]:41646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oZ7dS-0006Vk-FZ for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 05:27:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:53636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1oZ7dP-0006Vb-2e for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 05:27:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rekado@HIDDEN>) id 1oZ7dO-0005CA-SN for bug-guix@HIDDEN; Fri, 16 Sep 2022 05:27:42 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rekado@HIDDEN>) id 1oZ7dI-00080F-E6 for bug-guix@HIDDEN; Fri, 16 Sep 2022 05:27:41 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1663320451; cv=none; d=zohomail.com; s=zohoarc; b=FfOdatDWxsUHtNG8HXxwoMQPbmbnpAgrEUJ6/wl8EzpTnGXqAWyKPA84xx5y/sbbLRZzTb11AE6yAgQKxchF3SlXgt4Iy+5+KmCa+IIJ4qca2oD7Wjtxi13p53ibY5P1dsSJTmrveM8FZ6YV5CAT4j/Bfr2JPEPNEvaoJMJbM9s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663320451; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=dkJe+VmMujVNtUltfWoeYTqOlYR9gGrn21dgw3f6+MM=; b=lcdS21kg3nmV74uxuH8KV49giEi4+ws+f6sLrW3+eK0EtL3g279lcmC/Wi5HIHB8K+2Q73ZpuEwQUzzW/AcSPTwCWLCP2/djPIQmvv1Vt34IzDT9jq7ddoffTGM81upzND/+hjW0+e6OBuNaj9cyqwDmM1uM4pP/SJrHvhmO4uI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@HIDDEN; dmarc=pass header.from=<rekado@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1663320451; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=dkJe+VmMujVNtUltfWoeYTqOlYR9gGrn21dgw3f6+MM=; b=MJJVd9OAHsBJHJlR7Jhxqcb6TQv7PGbtKUX5hA6DewMA6OqWPzjM1SKWRuBqr7Dp jNGVHD6aQ4AAWDewlwRUB3SLMbigQNoNq49TdqQTllSqyF0llK+gNVavNTE//8Ib6Xq aR6usVfmBeVKhdOR1PDkeCEdpp5TBayyWzheZC+c= Received: from localhost (112-111-142-46.pool.kielnet.net [46.142.111.112]) by mx.zohomail.com with SMTPS id 1663320448866504.37045231891943; Fri, 16 Sep 2022 02:27:28 -0700 (PDT) User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus <rekado@HIDDEN> To: bug-guix@HIDDEN Subject: =?utf-8?Q?=E2=80=9Cinappropriate?= ioctl for =?utf-8?Q?device?= =?utf-8?Q?=E2=80=9D?= when running in RStudio Server Date: Fri, 16 Sep 2022 11:24:19 +0200 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87edwbk6te.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@HIDDEN; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) When running =E2=80=9Cguix=E2=80=9D in RStudio Server the =E2=80=9Cterminal= -window-size=E2=80=9D procedure triggers an error. (You can ignore the cause of the error, because I=E2=80=99m running this in a container where /var/guix/profiles/per-user/rekado doesn=E2=80=99t exist.) --8<---------------cut here---------------start------------->8--- > system("/bin/guix pull") guix pull: error: while creating directory `/var/guix/profiles/per-user/rek= ado': Permission denied hint: Backtrace: 18 (primitive-load "/bin/guix") In guix/ui.scm: 2263:7 17 (run-guix . _) 2226:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) 1747:15 14 (with-exception-handler #<procedure 7f0945757510 at ic=E2=80= =A6> =E2=80=A6) 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 656:37 12 (thunk) In guix/status.scm: 815:4 11 (call-with-status-report _ _) In guix/store.scm: 1318:3 10 (_) 1295:8 9 (call-with-build-handler #<procedure 7f094576fd50 at g=E2=80= =A6> =E2=80=A6) In guix/scripts/pull.scm: 526:3 8 (_) In guix/profiles.scm: 2300:6 7 (ensure-profile-directory) In ice-9/boot-9.scm: 1685:16 6 (raise-exception _ #:continuable? _) 1685:16 5 (raise-exception _ #:continuable? _) In guix/ui.scm: 827:16 4 (_ _) 311:42 3 (display-hint "Please create the @file{/var/guix/profi=E2=80= =A6" =E2=80=A6) In ice-9/boot-9.scm: 1747:15 2 (with-exception-handler #<procedure 7f094576f2a0 at ic=E2=80= =A6> =E2=80=A6) In guix/build/syscalls.scm: 2287:35 1 (_) 2276:8 0 (terminal-window-size _) guix/build/syscalls.scm:2276:8: In procedure terminal-window-size: In procedure terminal-window-size: Inappropriate ioctl for device --8<---------------cut here---------------end--------------->8--- Here yousee that the call to terminal-window-size fails because the RStudio Server IDE in the web browser is not a true TTY. =E2=80=9Cterminal-window-size=E2=80=9D should fail gracefully. --=20 Ricardo
Ricardo Wurmus <rekado@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#57853
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.